30 BOOL (*Open)(ITSMFAudioDevice* audio,
const char* device);
33 (ITSMFAudioDevice* audio, UINT32 sample_rate, UINT32 channels, UINT32 bits_per_sample);
35 BOOL (*Play)(ITSMFAudioDevice* audio,
const BYTE* data, UINT32 data_size);
37 UINT64 (*GetLatency)(ITSMFAudioDevice* audio);
39 BOOL (*ChangeVolume)(ITSMFAudioDevice* audio, UINT32 newVolume, UINT32 muted);
41 BOOL (*Flush)(ITSMFAudioDevice* audio);
43 void (*Free)(ITSMFAudioDevice* audio);