At Fri, 15 Sep 2006 16:33:08 +0900, Junji Umeno wrote: > > > > 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' ? You man snd_pcm_hw_params_set_buffer_size() ? Yes, the behavior is releated with buffer and period sizes. Takashi ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel