LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Selection of Audio Device in Windows

Hi..
 
How to select the Audio Device in Windows using ActiveX from LabVIEW....
Im using Windows media player Version9..and LV8....
 
 
Regards,
Sodlb
 
0 Kudos
Message 1 of 4
(3,076 Views)

Hi sodlb-

Please reference the following discussion forum and reply if you still have questions.

Question about Sound Devices

Drew Pierce | District Manager, Central Texas | National Instruments
0 Kudos
Message 2 of 4
(3,063 Views)

Hi Drew P,

I have seen the device list in control panel...To change the device we need to change that manually..going to that control Panel>sounds and Devices>

The same thing in the case of media player also...in media player menu>tools>options>device>speaker>properties..

In my application im contolling the media player from Activex..and I want to select the device dynamically from LabVIEW i.e  to select the output device to use in Windows media Player ...Can we do that...?

Regards,

Sodlb

Message Edited by sodlb on 05-10-2007 01:31 AM

0 Kudos
Message 3 of 4
(3,050 Views)
Hi Sodlb-
 
According to the Windows Media - Audio Outputs section on MSDN (see below), unfortunately you will not be able to choose a different output device via ActiveX.  This is obviously a limitation outside of LabVIEW.
 
Windows Media Player ActiveX control
"By default, the Player control uses the audio device designated as Default DirectSound Device. The audio output device cannot be changed programmatically."
 
Drew Pierce | District Manager, Central Texas | National Instruments
0 Kudos
Message 4 of 4
(3,028 Views)