Playing audio data

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

There's a complete example of playback in the wave.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.

Note: If your application has the option to produce playback data in multiple formats, choosing a format that the hardware supports directly will reduce the CPU requirements.