Re : question : Full duplex latency -> no accurate precision ?
2005-09-01 11:35:30 GMT
I change my question into another : Is it possible to do only one callback, instead of two, for the full duplex (playing while recording), using the libsndfile ? What would the callback look like ? for the moment I'm using a callback like this one : http://techweb.rfa.org/pipermail/portaudio/2004-December/004064.html to play a sound with the libsndfile but I don't know how I could merge a recording on it because, if I understood : the playing use the "sf_readf_float" of libsndfile function, and I won't have the hand in my callback function during the time it's called. Would anybody help me if possible ? I'm quite lost.. Thanks for paying attention, Thomas thomas.jund a écrit : > > Hello ! > > I've implemented full duplex (playing a sound on HP while recording > it with a microphone) with portaudio v18 on Windows, it works fine > except that I've a problem with the latency. > I can't stop the record&play exactly when I want it to, what should > I do to have a millisecond precision for my record if possible ?(Continue reading)