The following figure illustrates how the Audio Recorder Sample program interfaces with the Media Device Manager (MDM). Source code for the Audio Recorder Sample is located in the \TOOLKIT\SAMPLES\MM\RECORDER subdirectory.

         ┌───────────────┐
         │ Audio Recorder│
         │    Sample     │
         └──┬────────┬───┘
           (1)      (2)
                    
       ┌─────────────────┐
       │  Media Device   │
       │   Manager       │
       └┬───┬────────┬───┘
       (1) (2)      (2)
                   
     ┌──────────┐┌──────────┐
     │Wave Audio││ Amp-Mixer│
     │   MCD    ││   MCD    │
     └──────────┘└──────────┘