From: Vinod Koul <vinod.koul@intel.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: Jeeja KP <jeeja.kp@intel.com>,
alsa-devel@alsa-project.org, broonie@opensource.wolfsonmicro.com,
liam.r.girdwood@intel.com
Subject: Re: [PATCH] compress: add support for gapless playback
Date: Mon, 11 Feb 2013 06:55:58 -0800 [thread overview]
Message-ID: <20130211145558.GH3789@intel.com> (raw)
In-Reply-To: <s5hobfqq5jr.wl%tiwai@suse.de>
On Mon, Feb 11, 2013 at 03:38:32PM +0100, Takashi Iwai wrote:
> Well, the question is how this value change is supposed. I guess it's
> not defined precisely yet.
>
> It'd make sense to clear padding or such automatically at each new
> stream switch, indeed. OTOH, what if a metadata is supposed to be
> kept for all tracks (e.g. something like the playback speed control)?
>
> So, this won't be only a question about bookkeeping in the compress
> core, but rather an API question. If all metadata are supposed to be
> cleared at stream change, it's fine -- the refresh of all metadata by
> user-space is mandatory. OTOH, if the metadata are never changed
> unless the stream is (re-)prepared, again, user-space has to manage
> all metadata by itself. There is no big difference between them.
> The difference is what happens if user-space doesn't update.
>
> If the behavior is defined per each parameter, maybe it's good for
> user-space, but then the driver (or comr core) becomes slightly more
> complex since it needs to clear some data selectively.
Current ones would be changed for every track, but then some wouldnt.
So its best left to userspace. So right now we have two things:
- add single key/value only
- or pad up struct.
I am okay with either :-)
--
~Vinod
next prev parent reply other threads:[~2013-02-11 15:20 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-11 12:22 [PATCH] compress: add support for gapless playback Vinod Koul
2013-02-11 13:41 ` Takashi Iwai
2013-02-11 13:41 ` Vinod Koul
2013-02-11 14:38 ` Takashi Iwai
2013-02-11 14:55 ` Vinod Koul [this message]
2013-02-11 15:30 ` Takashi Iwai
-- strict thread matches above, loose matches on Subject: below --
2013-02-12 18:31 Vinod Koul
2013-02-13 6:23 ` Takashi Iwai
2013-02-13 6:35 ` Vinod Koul
2013-02-13 7:37 ` Takashi Iwai
2013-02-13 11:34 ` Mark Brown
2013-02-13 13:39 ` Vinod Koul
2013-02-13 16:00 Vinod Koul
2013-02-13 16:40 ` Takashi Iwai
2013-02-13 17:03 ` Vinod Koul
2013-02-13 17:15 ` Takashi Iwai
2013-02-13 17:21 ` Vinod Koul
2013-02-14 8:42 Vinod Koul
2013-02-14 9:13 ` Takashi Iwai
2013-02-14 9:32 ` Vinod Koul
2013-02-14 9:45 ` Takashi Iwai
2013-02-14 11:06 ` Vinod Koul
2013-02-14 11:22 Vinod Koul
2013-02-14 11:31 ` Takashi Iwai
2013-02-14 13:37 ` Vinod Koul
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130211145558.GH3789@intel.com \
--to=vinod.koul@intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=jeeja.kp@intel.com \
--cc=liam.r.girdwood@intel.com \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).