Capturing audio data

Updated: May 06, 2022

Once you've opened and configured a PCM capture device and prepared the PCM subchannel, you're ready to capture sound data.

For more information about this preparation, see Handling PCM devices.”

There's a complete example of capturing audio data in the waverec.c example in the appendix. You may wish to compile and run the application now, and refer to the running code as you progress through this section.

This section includes: