Home > Back-end >  WINDOWS system sound card support sampling number and sampling frequency
WINDOWS system sound card support sampling number and sampling frequency

Time:09-15

In audio programming, often need to know this machine sound card support sampling number and sampling frequency, the gain when programming with what function? Like WINDOWS senior listed small horn attribute parameters,

CodePudding user response:

Spatialaudioclient. H to use ispatialaudioclient interface
https://docs.microsoft.com/zh-cn/windows/desktop/api/spatialaudioclient/
But couldn't find how Delphi statement

CodePudding user response:

ISpatialAudioClient: : GetSupportedAudioObjectFormatEnumerator Gets an IAudioFormatEnumerator that contains all supported audio formats for spatial audio objects, the first item in the list represents the most preferable format.

CodePudding user response:

WaveInGetDevCaps, waveOutGetDevCaps

CodePudding user response:

The above is under xp, Windows 7 doesn't work

CodePudding user response:

Why not, win10 can,

CodePudding user response:

The current can get, but support haven't solved
  • Related