Microsoft DirectX 8.0 (C++) |
The CaptureSound application shows how to capture wave sounds to a file.
Source: (SDK Root)\Sample\Multimedia\DirectSound\CaptureSound
Executable: (SDK Root)\Sample\Multimedia\DirectSound\Bin
Select a device and a format. Create a file, or replace an existing one, by clicking Sound File. Click Record to start and stop recording.
See Readme.txt in the source code folder.