[alsa-devel] Implementing sync start

Jon Smirl jonsmirl at gmail.com
Mon Aug 10 14:41:20 CEST 2009


On Mon, Aug 10, 2009 at 8:29 AM, Clemens Ladisch<clemens at ladisch.de> wrote:
> Jon Smirl wrote:
>> If I didn't use sync start wouldn't I be vulnerable to user space
>> getting delayed between the start calls?
>
> 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?

static struct snd_soc_dai_link dspeak01_fabric_dai[] = {
{
	.name = "I2S-0",
	.stream_name = "I2S-0",
	.codec_dai = &pcm1690_dai,
	.ops = &dspeak01_fabric_ops,
},
{
	.name = "I2S-1",
	.stream_name = "I2S-1",
	.codec_dai = &pcm1690_dai,
	.ops = &dspeak01_fabric_ops,
},
};



>
>
> Best regards,
> Clemens
>



-- 
Jon Smirl
jonsmirl at gmail.com


More information about the Alsa-devel mailing list