/ dev / dsp windows alternative

on Linux, playing or recording some sound, / dev / dsp is simply read or written. But how to do the same in windows? (with C)

+3
source share
2 answers

There is no static device name, you should use functions waveOut*, herea good example of using these APIs.

0
source

The Media Management Interface (MCI) provides standard commands for playing media devices and recording media resource files. These commands provide a common interface for almost all types of multimedia devices.

, MCI_OPEN, mciSendCommand. . http://msdn.microsoft.com/en-us/library/dd743441%28VS.85%29.aspx.

/ apis: http://msdn.microsoft.com/en-us/library/ee663260%28v=VS.85%29.aspx

0

Source: https://habr.com/ru/post/1782783/


All Articles