Re: [oss-devel] Synchronization of input and output with OSS API

2009-07-31 Thread Hannu Savolainen
Stéphane Letz wrote: > > Thanks for the explanations. > > So it I understand correctly what is written in > (http://manuals.opensound.com/developer/synctest.c.html > ) like "In applications that record audio, process it and then play > back it's necessary to write two fragments of silence to th

Re: [oss-devel] Synchronization of input and output with OSS API

2009-07-31 Thread Stéphane Letz
Le 31 juil. 09 à 09:20, Hannu Savolainen a écrit : > Stéphane Letz wrote: >> Hi, >> >> Our jack OSS (or Boomer) driver uses a 2 threads model (one used for >> reading and one used for writing). In duplex mode, we typically open >> the input and output devices separately, then use blocking "read"

Re: [oss-devel] Synchronization of input and output with OSS API

2009-07-31 Thread Hannu Savolainen
Stéphane Letz wrote: > Hi, > > Our jack OSS (or Boomer) driver uses a 2 threads model (one used for > reading and one used for writing). In duplex mode, we typically open > the input and output devices separately, then use blocking "read" on > input side and blocking "write" on output side.

[oss-devel] Synchronization of input and output with OSS API

2009-07-30 Thread Stéphane Letz
Hi, Our jack OSS (or Boomer) driver uses a 2 threads model (one used for reading and one used for writing). In duplex mode, we typically open the input and output devices separately, then use blocking "read" on input side and blocking "write" on output side. Both threads are synched using