alsa sink latency - how to account for startup delay

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
>> Do loopback module stop the running pcm stream ?
>>
>> Seem pulseaudio does not use snd_pcm_drop nor snd_pcm_drain, how can 
>> the running pcm stream stop?
>>
> This is the beginning of the suspend function of module-loopback, so 
> obviously

sorry, the suspend function is in alsa-sink, not module-loopback ...

> snd_pcm_close close is called instead of snd_pcm_drop or _drain (I did not
> change anything here):
>
> static int suspend(struct userdata *u) {
>     pa_assert(u);
>     pa_assert(u->pcm_handle);
>
>     /* Let's suspend -- we don't call snd_pcm_drain() here since that 
> might
>      * take awfully long with our long buffer sizes today. */
>     snd_pcm_close(u->pcm_handle);
>



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux