Home > Back-end >  For help, Windows speakers sound fetching and archived.
For help, Windows speakers sound fetching and archived.

Time:03-04

Have a business scenario, hope fetching system is sound, and saved as a playable format, such as: mp3 format, before under the Windows system, try to use Windows audio session API (WASAPI) to play in speaker voice, acquisition of sound can play again in the speaker, but after stored in files, may be due to the problem of audio formats, can't use the generic players play,
Through the IAudioClient: : GetMixFormat method, to check the audio stream format as shown below, type should be WAVEFORMATEXTENSIBLE format,


Help:
1, whether the audio stream format can be converted to a common audio formats?
2, if not, whether there are other ways the speaker audio capture, and save for common audio formats?

Note: if there is a better solution which tall person, namely whether Windows, Mac or other operating systems are compatible, so much the better,

Grateful!
  • Related