Don't pass the target rate to the upstream source (the whole point is to resample)
f459c5148334 — Chris Cannam 4 months ago
Print a note
0c27035cb135 — Chris Cannam 4 months ago
Respond properly to changes of channel count. Previously the resampler wrapper had to be reconstructed in e.g. the case where one number of channels was requested on opening the device, but a different number was actually obtained.
0d9d36e5d063 — Chris Cannam 5 months ago
Avoid a hard-to-understand compiler error in case where no audio system is defined
9f275ac85af1 — Chris Cannam 9 months ago
It turns out pa_mainloop_prepare was treating the msec timeout as usec in PulseAudio versions before 13.0, so the value actually passed to ppoll() was very short indeed. This is fixed in 13.0 and the result was to make it quite hard for the suspend/resume thread to acquire the loop mutex, which was almost always contended. Fix this by adding a couple of yields, and lowering the timeout drastically, since it obviously worked fine with a much lower effective value anyway.
Use override
Report failure to resample, rather than allow the exception to be propagated - there is no useful way for anyone else to catch it from here
Log some sample-rate setup info
These are too much, even in debug mode
c3b2d56c6826 — Chris Cannam 2 years ago
Update DynamicJACK for more recent API use
d90244c003be — Chris Cannam 3 years ago
Avoid theoretical buffer overflow
692c02f29c99 — Chris Cannam 3 years ago
Don't create record/playback stream at all if only the other one is requested; fix crash on dtor of driver that failed to start
eb8ab524df70 — Chris Cannam 3 years ago
Comments
0a7a3dfd9c85 — Chris Cannam 3 years ago
A bit more logging for PortAudio driver
f02e616cc1aa — Chris Cannam 3 years ago
Add necessary file
9898da6987eb — Chris Cannam 3 years ago
Logging from audio I/O
4542e34b7d8c — Chris Cannam 3 years ago
One more bit of debug output
ea4c0f04fd73 — Chris Cannam 3 years ago
Constrain channel count to device limits (necessary when recording from mono mic)
145a6bb98182 — Chris Cannam 3 years ago
Return error string on startup if specific (or only) implementation failed
8a6973890932 — Chris Cannam 3 years ago
Docs
Next