[alsa-devel] Implementing sync start

Jon Smirl jonsmirl at gmail.com
Mon Aug 10 14:46:59 CEST 2009


On Mon, Aug 10, 2009 at 8:43 AM, Mark
Brown<broonie at opensource.wolfsonmicro.com> wrote:
> On Mon, Aug 10, 2009 at 08:41:20AM -0400, Jon Smirl wrote:
>> On Mon, Aug 10, 2009 at 8:29 AM, Clemens Ladisch<clemens at ladisch.de> wrote:
>
>> > Linked substreams are handled by ALSA's kernel part with a loop inside
>> > a spinlock.
>
>> Linking via  snd_soc_dai_link or is there another way to link?
>
> That's completely unrelated - each link there just defines a CODEC<->CPU
> connection.
>

Does this link them?
snd_pcm_set_sync(substream); in open()

and then remove this loop in trigger?
snd_pcm_group_for_each_entry(substream, sub) {
			snd_pcm_trigger_done(substream, sub);




-- 
Jon Smirl
jonsmirl at gmail.com


More information about the Alsa-devel mailing list