The set command establishes control settings for the device. Reference:
http://msdn.microsoft.com/en-us/library/windows/desktop/dd798661(v=vs.85).aspxMaybe give this a try:
; samplespersec options:
; 11025 low quality 4 to 1 compression ratio
; 22050 medium quality compression 8 to 1 (12%)
; 44100 (CD music quality)compression 16 to 1 (6%)file size bigger
; bitspersample: 16 or 8
; Channels: (mono) or 2 (stereo)
PlayMedia( "seek capture to start" ) ; Always start at the beginning
PlayMedia( "set capture samplespersec 44100" ) ; CD Quality
PlayMedia( "set capture bitspersample 16" ) ; 16 bits for better sound
PlayMedia( "set capture channels 2" ) ; 2 channels for stereo
PlayMedia( "record capture" )