In addition to the existing getSampleRate(), it would be useful to getChannelCount() as well as getFormat() so we could know these parameters for the audio being recorded. That way, if we end up using the device default channel count and format, we can know what we're getting in the samples returned.
In addition to the existing
getSampleRate(), it would be useful togetChannelCount()as well asgetFormat()so we could know these parameters for the audio being recorded. That way, if we end up using the device default channel count and format, we can know what we're getting in the samples returned.