On Sun, May 07, 2017 at 02:10:03PM -0400, Andre Smagin wrote: > > >From my limited testing it appears that sio_getcap() fails if audio > device does not have identical recording and playback capabilities > (examples at the end). If that is indeed the case, could it possibly be > mentioned in the man page somewhere? Perhaps something like:
The encoding and sample rate are common to play and record. I mean the audio stack assumes play and record parameters (except channels count) are the same in full-duplex. What you observe seems to be a driver or libsndio bug. Could you send the output of your program (or "cap") with SNDIO_DEBUG=1 environment variable exported, and the related dmesg lines? thanks
