Re: underrun!!! (at least 0, 249 ms long) was (struct snd_pcm_hardware_t values)

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

 



At Tue, 8 Aug 2006 03:09:43 +0200,
Markus Rechberger wrote:
> 
> Ok I managed to get rid of that garbled background noise now I get
> underrun messages...
> 
> $ aplay -D hw:2,1 5_5_2006__07_00_59.wav
> Playing WAVE '5_5_2006__07_00_59.wav' : Signed 16 bit Little Endian,
> Rate 9600 Hz, Mono
> underrun!!! (at least 0,271 ms long)
> underrun!!! (at least 0,248 ms long)
> [...]
> 
> I can hear the sound clearly, but looks like these 200ms cause a choppy sound...
> I also tried to add support for this device to snd-usb-audio, but
> since this device has no synchronisation packets the driver fails...
> Does anyone know what causes such a buffer underrun?

For example, the calculation of the current pointer doesn't match with
the actual position.

> I think it still has something to do with the snd_pcm_hardware_t values...

My guess is that the problem is the implementation of pointer
callback.

> maybe the time will come when I'm not the only one on this ML who
> answers my questions....

Maybe you'll get more response if you show your codes more openly...
Otherwise it's just a wild guess.


Takashi

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/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