alsa-sink: snd_pcm_avail() returns a huge value...but not alsa's bug

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

 



2011/8/22 Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>:
>
>> the boundary variable is initialized as a huge value, hence the logic
>> becomes, when appl_ptr goes ahead hw_ptr more than buffer_size, there
>> will hit the issue, the return value becomes huge.
>
> This code is meant to handle wrap-around cases. This can take a lot of
> time...If you are seeing this issue, it's more likely than the hw_ptr has
> not been updated correctly by the low-level driver/firmware and you see an
> underrun condition.

Thanks Pierre, you clarified me.
>
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
>


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

  Powered by Linux