Re: SALSA: snd_pcm_avail_update

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

 



On Thu, 13 Sep 2007 18:55:55 -0400
"J. Scott Merritt" <alsauser@xxxxxxxxxxxxxx> wrote:

> Using salsa-lib-0.0.11, cross-compiling to ARM ...
> 
> Despite my best efforts, snd_pcm_avail_update is always returning
> "broken pipe".  I have checked the pcm_state of the Capture Handle
> just before snd_pcm_avail_update and it is "RUNNING'.  But immediately
> after snd_pcm_avail_update it always returns "XRUN".  Furthermore,
> this same sequence seems to work properly with the standard ALSA-Lib.
> 
> Test program is attached.  Any suggestions appreciated.
> 
> Thanks, Scott.
> 

After further investigation ... it appears that snd_pcm_open() in
salsa-lib-0.0.11:pcm.c is not properly recording/initializing the
pcm->stream field.
_______________________________________________
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