BASS_RECORDINFO structure


Used with BASS_RecordGetInfo to retrieve information on the current recording device.

typedef struct {
    DWORD flags;
    DWORD formats;
    DWORD inputs;
    BOOL singlein;
    DWORD freq;
} BASS_RECORDINFO;

Members

flagsThe device's capabilities... a combination of these flags.
DSCCAPS_EMULDRIVERThe device's drivers do not have DirectSound recording support, so it is being emulated.
DSCCAPS_CERTIFIEDThe device driver has been certified by Microsoft.
formatsThe standard formats supported by the device... a combination of these flags.
WAVE_FORMAT_1M0811025 Hz, Mono, 8-bit
WAVE_FORMAT_1S0811025 Hz, Stereo, 8-bit
WAVE_FORMAT_1M1611025 Hz, Mono, 16-bit
WAVE_FORMAT_1S1611025 Hz, Stereo, 16-bit
WAVE_FORMAT_2M0822050 Hz, Mono, 8-bit
WAVE_FORMAT_2S0822050 Hz, Stereo, 8-bit
WAVE_FORMAT_2M1622050 Hz, Mono, 16-bit
WAVE_FORMAT_2S1622050 Hz, Stereo, 16-bit
WAVE_FORMAT_4M0844100 Hz, Mono, 8-bit
WAVE_FORMAT_4S0844100 Hz, Stereo, 8-bit
WAVE_FORMAT_4M1644100 Hz, Mono, 16-bit
WAVE_FORMAT_4S1644100 Hz, Stereo, 16-bit
The number of channels supported by the device is in the high 8 bits.
inputsThe number of input sources available to the device.
singleinTRUE = only one input may be active at a time.
freqThe device's current sample rate. Recording at this rate will give the best quality and performance, as no resampling is required.

Platform-specific

The flags member is only used on Windows, and only prior to Vista. The formats member is only used on Windows/OSX/iOS but only for the device's channel count except on Windows prior to Vista. freq is also only available on Windows/OSX/iOS, but not on Windows prior to Vista.

See also

BASS_RecordGetInfo