Re: underrun problem when short audio play

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

 



On Tue, Mar 09, 2010 at 12:44:36PM +0000, ANISH KUMAR wrote:

> When i tried to increase the stop_threshold  but then i got "same audio played again kind of echo" problem.
> I can't try the solution suggested by jaroslav i.e. checking for DRAINING state in lower level driver and stop
> queuing because of some design issue as in my code i don't call drain function as soon as all buffers are written.
> I wait for some time(in miliseconds) and then call drain function.

What is the design issue in your driver?  If you're limited by that the
most obvious solution would seem to be to address that.  If your driver
is not responding promptly to requests to terminate playback then an
underrun doesn't seem surprising.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux