This function selects an audio source to be played.
DWORD AAM_SelectSource( DWORD dwAudioSourceID );
Zero indicates success. AAM_ERR_INVALIDPARAM indicates an invalid parameter.
This function is a member of the audio source control API.
The source identifier can be obtained from AAM_GetSourceCap. When called, AAM_SelectSource stops the audio source that is currently playing, and loads the new source driver.
An audio application must call AAM_SelectSource to select a source prior to playing it, even if the application can load the device driver directly.