Re: Does it need full-duplex to use snd_pcm_link ?

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

 




On Fri, 15 Sep 2006 14:54:00 +0900
Junji Umeno <umeno@xxxxxxxxxxx> wrote:

> I failed to record with the example code 'latency.c' written in the doxygen manual.
> When it plays back and records at the same time, using snd_pcm_link,
> should the hardware be implemented as full-duplex of i/o?
> As previous comments pointed in this lists,
> some buffer length data are written into a playback handler,
> and then reading starts.
> They said, it should be needed to have 4096 bytes written in the write buffer.
> But in my case, 
> 'writei' continues to return EAGAIN if more than 64byte are to be written.
> 
> Any comment is welcom.
> -- 
> UMENO, Junji
> ElmicWescom, Inc.
> 

Does it depend on the device's read/write buffer size, wchich is set by 'snd_pcm_hw_params_set_rate' ?

-- 
UMENO, Junji
ElmicWescom, Inc.

-------------------------------------------------------------------------
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