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

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

Similar Messages

  • FMLE 3.2 and 3.1 can't detect an audio device with Windows 8.1

    FMLE 3.2 and 3.1 can't detect an audio device with Windows 8.1 x64 on an MSI GT72-2QD laptop. I tried 2 different webcams but the result was the same. Both the internal mic and the ones going with the webcams work fine with other software but when I try FMLE it looks as follows:
    It says that there's no audio device connected (although the mics work fine elsewhere), the dropout is blank and the audio parameters are grayed out and inactive even with the "audio" box checked. Both versions of FMLE work fine with the same cams on a desktop which has all the same tech specs but uses Win 7 x64. Running FMLE in Win7 compatibility mode or reinstalling with register cleaning doesn't help. What can be done about it?

    Hi Bob,
    Thanks for the advice. It succeeded.
    The steps I made was to make a disk copy of my original Windows XP disk using Disk Utilty. Then I renamed the disk copy into .iso. I copied the ISO file to my usb flash drive.
    Than I started Parallels 7, created a new VM, selected the correct drive to install from (the usb flash drive) and volia, it worked.
    Finally...
    Sytze

  • "No audio device" in Windows 7 !

    + ?
    Well, I use winXP-Pro in dual-boot with Win7-Build 700, both 32bits, and I get an Audigy SE that works great in XP.
    Although, in Win 7? there?s no sound device, "No audio devices are installed" error, and no-sound icons in Device Manager.
    Tried?the lastest ?"Win 7" drivers from www.soundblaster.com, but none find the Audigy.
    How can I fix this ?

    /Re: "No audio device" in Windows 7 !? If you haven't give this a try,
    http://forums.creative.com/t5/Sound-Blaster/SB-P7X-Series-Support-Pack-2-0-07-3-2009-AudigySE-Value-LS/td-p/53329
    If that still doesn't work try to manually force the driver. This will only work (and not always) if the card is at least showing up in Device Manager; either by name, or as "unknown multimedia controller". First extract the above downloaded file, then open Device Manager and locate the card.
    -right click on select update driver
    -then select "browse my computer"
    -next select "let me pick"
    -next click on "have disk", then click on Browse and navigate to the "Drivers\vista" (or possibly Win7, not sure on this as I don't have the file) and point it to the P7. INF file.
    that should get the driver to install. If it does then you should be able to re-run the above and get whatever apps from it you want installed.

  • Where is the registry key for the default audio device in Windows 7?

    Win 7 only allows playback out of one device (ie front or back audio jack) at a time.  If you have something plugged in to both at the same time, it will only play out of the one that is set to be the default audio device.  This can be changed
    in the 'Manage Audio Devices' window by selecting the the desired device from the Playback tab and clicking Set Default.  What I would like to do, as it is very annoying to have to go here every time I want to switch between my headphones and speakers,
    is write a script that will change which device is the default playback device, so if I push one of my extra keys on my keyboard it will change it to speakers, and if I push a different button, it will change it to headphones (or one button that will switch
    to whichever one is not the default).  I have a script currently that opens the window and simulates clicking the set default button, but it is not ideal as it has to actually open the window.  I figure if I can just change whichever registry key
    is storing the default playback device, it will work a lot better.

    Once again, a clear cut case for it being ABSOLUTELY WRONG for anyone but the original poster to mark a question as answered.
    I've tried 3 different machines of difference pedigrees (all x64 though) and none of them have that key.
    DAS
    The question is not about x64 machines,  The answer was correct for the question.  The question is closed.  If you have a new question please start a new topic.
    Please review the forum guidelines.
    http://social.technet.microsoft.com/Forums/en-US/ITCG/thread/a0def745-4831-4de0-a040-63b63e7be7ae
    jv

  • No audio (and "no audio device") in WIndows XP on my MacBook Pro 17"

    Greetings,
    I just installed Windows XP SP2 on my new MacBook Pro 17" and everything is working smoothly EXCEPT that there's no sound in Windows from the built-in speakers, and in fact the Control Panel reads "No audio device." I have already successfully installed the Boot Camp drivers from my Leopard DVD. I also tried to run the Boot Camp 2.1 update (downloaded directly from the Apple site) but the installer cannot be run and gives error 2762, whatever that is. Finally, I've seen on some forum posts that certain Realtek drivers may fix similar problems on other machine, so I downloaded and installed Realtek R2.27 high definition audio driver but that doesn't seem to have done the trick for me.
    I'm guessing this problem could be fixed easily by the correct audio driver but I can't figure out what that is or how to find it. Please help, any advice would be appreciated!
    Model Name: MacBook Pro
    Model Identifier: MacBookPro5,2
    Processor Name: Intel Core 2 Duo
    Processor Speed: 3.06 GHz
    Number Of Processors: 1
    Total Number Of Cores: 2
    L2 Cache: 6 MB
    Memory: 8 GB
    Bus Speed: 1.07 GHz
    Boot ROM Version: MBP52.008E.B05
    SMC Version (system): 1.42f4
    Serial Number (system): W8928*8YB
    Hardware UUID: 095BBDAB-327A-5798-AF31-58FF2A88275B
    Message was edited by: msb767676

    I have the same problem, but when i run from the CD, I get the 2762 error, and from the download, it works fine but fixes nothing.

  • No audio device on windows xp with SB0

    Hello, I've a SB0060 with a cd version that does not install on windows xp. I've always had problems installing this card on windows xp but once I've managed to install it.
    I was upgrading the driver to try to fix some bugs with TeamSpeak and lost all sound.
    I've tried to install again the SB0060 but couldn't get it to work.
    I've tried with:
    SBLi've5XPDrvUpdate.exe
    Li'veDrvUni-Pack(ENG).exe
    Li'veDrvPack_Patch.exe
    Li'veDrvPack.exe
    All of the drivers install on windows xp BUT in the "sound and audio devices" gives me the finger with "no audio device".
    In the device manager, No conflits, No troubles, No Shared IRQs, NOTHING! This is really driving me crazy.
    Is there any driver or HowTo install this card in the web? Any fixed stuff or people with the same problem?
    Please help.

    Try the CD from here instead.
    http://forums.creative.com/creativelabs/board/message?board.id=soundblaster&message.id=25677

  • How to enumerate audio devices in Windows 7?

    Hi!
    My Labview application works now in WinXP environment.
    It uses audio device enumeration to select the appropriate device on PC.
    To do it I use now Automation call to DirectX interface.
    This function generates error on PC under Windows7 with message: "unregistered class....".
    Of course Win7 doesn't have DX8,
    What an alternative does exists in Win7 and what I have to change in my Labview function?
    Thanks in advance for an idea.
    Anatoly
    Solved!
    Go to Solution.
    Attachments:
    Untitled_1d.png ‏3 KB

    Use .net constructor.
    Beginner? Try LabVIEW Basics
    Sharing bits of code? Try Snippets or LAVA Code Capture Tool
    Have you tried Quick Drop?, Visit QD Community.

  • How to set Skype's Audio Device to Windows Standar...

    So i allready asked myself many times why it is not possible to set the skype audio device to the windows standart. I work with a sound system and headphone wich i switch often depending on what i'm doing but every time i have to change it also in skype because skype is does not give me the option to change it to windows default any one nows a work arround or if there is a hidden option i missed.
    greetings
    [Aus Datenschutzgründen entfernt](wow they don't allow me to use my pseudo to greet you guys i'm sorry)

    I don't believe you can do this with just Java code, but as you suggested running a utility using runtime.exec() is a possiblity. I believe there is also lots of example C/C++ code that could be modifed to be used by Java / JNI. I found several examples using a google search.
    Here is a URL of a utility that could be used for your purpose. I did not see source code or support information, so if this is an important I would google for something that might be "safer" in the long run.
    http://www.netadmintools.com/art194.html

  • Captivate 4 - Not detecting Audio Device in Windows 7

    Hi Experts,
    I have Windows 7 64 bit. I installed Captivate 4 tiral version. When I try to set the Audio Settings, I saw that Audio Device is not detected. I have enabled all the audio devices through Control Panel -> Sound. Speakers and In-built microphone are working fine on laptop.
    Still Captivate is not detecting the audio device. I tried reinstallinig the application and installing the patch but no success.
    Could you please help ? Thanks & Appreciation in advance.
    Regards
    Ratnesh Nagori

    Welcome to our community
    As you are in the mode of installing a trial version, try uninstalling Captivate 4 and go get Captivate 5 instead. Captivate 4 wasn't built with Windows 7 in mind and many things are "iffy" at best. Captivate 5 is different and should work without issue on Windows 7.
    Cheers... Rick
    Helpful and Handy Links
    Begin learning Captivate 5 moments from now! $29.95
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcererStone Blog
    Captivate eBooks

  • VZAccess Manager / no device detected / Windows 7

    Tech note,
    I was having problems getting VZAccess Manager to see my PC770 aircard on a brand new Dell laptop (Studio 1550). After reinstalling the software several times as well as speaking the Verizon tech support (no help there), I compared the Dell install with a laptop that was working.
    I noticed that the dial connection for the modem was not being installed. After looking around I noticed that the Telephony service was not running on the Dell. As a matter of fact it was disabled.
    So I enabled it, rebooted and reinstalled VZAccess Manager. If finally was able to detect the aircard.
    Hope this helps someone.
    Chris

    /Re: "No audio device" in Windows 7 !? If you haven't give this a try,
    http://forums.creative.com/t5/Sound-Blaster/SB-P7X-Series-Support-Pack-2-0-07-3-2009-AudigySE-Value-LS/td-p/53329
    If that still doesn't work try to manually force the driver. This will only work (and not always) if the card is at least showing up in Device Manager; either by name, or as "unknown multimedia controller". First extract the above downloaded file, then open Device Manager and locate the card.
    -right click on select update driver
    -then select "browse my computer"
    -next select "let me pick"
    -next click on "have disk", then click on Browse and navigate to the "Drivers\vista" (or possibly Win7, not sure on this as I don't have the file) and point it to the P7. INF file.
    that should get the driver to install. If it does then you should be able to re-run the above and get whatever apps from it you want installed.

  • Flash Player 16.0.0.235 breaks audio driver on Windows

    There is a severe bug in the latest version of Flash Player, relating to audio playback on Windows. Ever since upgrading to v16.0.0.235, Flash has been repeatedly breaking audio playback for the entire Windows system (i.e. every application that tries to play back audio, not just Flash itself). This happens regardless of the browser in which Flash is run (tested: Firefox 34.0.5 and Chrome 39.0.2171.95).
    There seem to be two "levels" of crashing the audio driver. Both are triggered by simply using Flash content with audio for a while (examples in my case would be MP3 previews on Amazon.com, or YouTube videos).
    In a "level 1" crash, Flash elements on pages will just suddenly stop playing back any audio. Some content, such as Amazon MP3 previews, will just skip over all the tracks as each player fails to start audio playback. YouTube videos will play for 1 second without sound, retry using a lower-quality stream, repeat until there are no more streams left and then report that there has been a playback error. No other Windows application is able to play back sound anymore either. They will either fail with some error message related to audio playback, or simply run without sound. (Examples: foobar2000, Spotify, VLC media player...).
    A level 1 crash is relatively easy to fix by killing the Flash Player process. If for example the crash happened while using Firefox, I have to kill "plugin-container.exe" or the FlashPlayer executable using the task manager. Once Flash has been killed, it will restart as soon as another Flash content is being played back, and sound will be working again, in Flash and all other Windows applications. I once tried to shut down Windows while in this level 1 crash state, and the shutdown got hung up on trying to quit Windows Explorer, which reported the status message "Playing back logoff sound", which it failed to do for 5+ minutes and just kept trying endlessly. I had to cancel system shutdown, kill the FlashPlayer process first, and then I could shut down Windows.
    Sometimes after a few level 1 crashes and restores, there will be a level 2 crash. Now, audio playback will not just fail for applications, but every application that tries to play back audio will freeze completely. Firefox will freeze. It thaws once I kill FlashPlayer, but will freeze again immediately if some other page content loads FlashPlayer again. A tab in Chrome that uses Flash with audio will immediately freeze. Spotify will no longer report an audio playback issue as in level 1, but will freeze when trying to play back a track. Same for any other application I tried. Unfortunately, I haven't found a fix for a level 2 crash short of rebooting the entire system. Killing all Flash-related processes wasn't enough. Not even rebooting the audio driver (by disabling and re-enabling the audio device in Windows' device manager) did the trick.
    My system specs:
    Windows 7 Professional x64
    Adobe Flash Player 16.0.0.235
    ASUS Xonar D2X audio interface (driver: v7.12.8.1794)
    On-board Realtek High-Definition Audio interface (driver: v6.0.1.6449)
    The Realtek audio is normally not in use, but Flash will crash either audio driver, whichever is active at the moment).
    After downgrading to Flash Player 15 I haven't experienced any crashes anymore.
    Any help or insight is appreciated!
    Edit: the issue seems to be Flash crashing the Windows audio service. I tried stopping and restarting the audiosrv and AudioEndpointBuilder services while in level 2 crash state, both of which failed because neither service reacts to stop/start commands anymore.

    I have this EXACT problem as well. I'd like to add that when either 'level' of crash occurs, when I attempt to play a video or audio file through Windows Media Player, I receive the error message: "Your computer is running low on memory. Quit other programs, and then try again" I checked on the task manager and I have plenty of RAM remaining and this error message only occurs when I am experiencing this issue so I am sure that it is caused by this.
    Flash Version: 16_0_0_235
    Operating System
        Windows 7 Enterprise 64-bit SP1
    CPU
        Intel Core i7 4770K @ 3.50GHz    44 °C
        Haswell 22nm Technology
    RAM
        8.00GB Dual-Channel DDR3 @ 666MHz (9-9-9-24)
    Motherboard
        Gigabyte Technology Co., Ltd. H97-D3H-CF (SOCKET 0)    28 °C
    Graphics
        BenQ E900HD (1366x768@60Hz)
        S24D300 (1920x1080@60Hz)
        Intel HD Graphics 4600 (Gigabyte)
        3071MB NVIDIA GeForce GTX 780 (Gigabyte)    34 °C
    Storage
        931GB Western Digital WDC WD1002FAEX-00Y9A SCSI Disk Device (SATA)    38 °C
    Optical Drives
        HL-DT-ST DVDRAM GH22NS70 SCSI CdRom Device
    Audio
        NVIDIA Virtual Audio Device (Wave Extensible) (WDM)

  • IMac force select "Display Audio" when headphone jack is in use

    I have a new 2012 iMac and Thunderbolt Display.  I use the Display Audio from time to time, but also use a set of high quality speakers plugged in to the headphone jack.
    Some applications, like Chrome (Google Hangout, Gmail phone calls) will default to using the Display Audio as the speaker.  If I have the headphone jack in use (using the desk speakers), then the Audio System Preferences will NOT let me select the "Display Audio" device.  It will immediately highlight "Headphone" again.  The problem is if I want to change the "Display Audio" volume, I have to remove the cable from the headphone port, then change the audio, then plug it back in the headphone port.
    It's quite annoying.
    Is there any way to change this?
    As a second request, is there an app that allows you to select which audio device applications will use?  Like, if I wanted to change Chrome from using the Display Audio (not sure why thats the default anyway), or another application to only use the headphone port...

    Hi,
    The problem with the selection of the headphone port is something I reported to Apple back in October 2012.  After some time, the reply came back that this was intended behaviour, and my bug report was subsequently marked as, "behaves correctly"!  I agree with you that this is a pain in the backside and certainly appears to be bug-like behaviour.  If you can take the time, I'd ask you to file your own bug report on this matter here.  Perhaps it'll help cause a re-think.  You should be able to log in with your Apple ID.
    As for your second question: many people are asking this now.  Rogue Amoeba made such a thing years ago, but it doesn't work on modern, Intel-based Macs.  Maybe they'd consider updating it if enough people asked?
    For Chrome, you can use ChromeLauncherWithExtraAudio - I've tried it and it works fine, though once you've changed the audio output on launch you have to quit and re-launch to change it again.  If you want to choose where to send audio from movies, radio and so forth you could start using VLC, which completely ignores the system audio settings, and lets you choose from any connected audio outputs.
    HTH
    <Links Edited By Host>

  • Internal computer noise with firewire audio devices

    Hello
    I have a Power Mac G5 PPC 2.3 and Mac Os X 10.5.6, with tiger I have the same problem too, I bougnt my Mac for audio work, and from the purchase day, I have the same problem, I bought my first audio sound card, M-Audio Firewire 1814, and I installed the last drivers for my operating system, when I start Logic I must go to prefferences audio and select the device, I select coreaudio tab and M-Audio Firewire 1814, and when I click on apply changes, in the Mac start an internal noise, low level, and hign frecuency, and this sound keep while logic is open or another audio aplication with M-Audio 1814 is selected like audio device like Pro Tools M-Powered.
    Aplications work fine but this noise I think is a conflict with audio device drivers, I can hear this sound too when I go Aplications/Utilities/Audio Midi Setup/ and in the audio devices tab the internal noise not is sounding but when I click on Midi devices tab, the internal noise start and is sounding while Audio Midi Setup is Open, if I quit Audio Midi Setup the noise stop.
    In the Activity monitor I can read MIDI Server process is launched when I click on MIDI Tab, and if I select and close this process the noise stop.
    It is only for the noise when is sounding with audio midi setup, close MIDI Server and noise stop, but when the noise is with any application (Logic or Pro Tools) in the activity monitor quit MIDI Server process but the noise keep sounding.
    I have Digi 003 Rack and Pro Tools LE too, and I have the same problem when Pro Tools LE start.
    If I select M-Audio 1814 in system prefferences/Audio, like audio device and open ITunes the noise is not sounding with ITunes, I can listen music whithout problems, but If I select Digi 003 Rack like Audio Device in
    System Prefferences/Audio The noise is sounding with ITunes start becouse Digi Core Audio Driver is launched.
    I think is a conflict between Thirty Parts Drivers and The System but I need help, what can I do to resolve this.
    Thanks

    Nope, someone elsewhere suggested a thing called "ground loop" occurring. Meaning, the interference from the electric current. They suggested trying it with battery power (power detached), and without. But at least for me, made no difference unfortunately.

  • URGENT- problem in detecting audio device using  JMF in  WIndows7 - 64 bit

    Hi,
    I am trying to detect the audio device in windows 7 -64 bit OS, using JMF API with JRE 1.6.18.But it showing zero device found.below i have mentioned the source code that i have used.please suggest how to solve this , thanks in advance.
    import java.util.ArrayList;
    import java.util.Vector;
    import javax.media.CaptureDeviceInfo;
    import javax.media.CaptureDeviceManager;
    import javax.media.format.AudioFormat;
    import javax.media.format.VideoFormat;
    public class CaptureDeviceFinder {
    //possible audio formats available
    static String audioformats[] = {
    AudioFormat.LINEAR };
    static ArrayList available_audiolist= new ArrayList();
    public static void main(String[] args) {
    findAudioDevices();
    }//main
    public static void findAudioDevices() {
    / Audio capture devices /
    System.out.println("CAPTURE AUDIO FORMATS:");
    for (String format : audioformats) {
    System.out.println("format is :"format);
    Vector<CaptureDeviceInfo> devices = CaptureDeviceManager
    .getDeviceList(new AudioFormat(format));
    System.out.println("devices is"+devices);
    for (CaptureDeviceInfo device : devices) {
    if (!devices.isEmpty()) {
    System.out.println("\tFormat: " format);
    System.out.println("\t\t" device.getName());
    available_audiolist.add(format"|"+device.getName());
    System.out.println("list is :"+available_audiolist);
    Edited by: Saravana4u on Mar 17, 2010 10:39 AM

    almightywiz wrote:
    Well, I don't know if the JMF Studio works on a 64-bit system, but the base java libraries work just as well as on a 32-bit system. I currently use both Windows 7 64-bit and 32-bit version, and I am able to recognize all of my audio input devices.JMF wraps around and makes use of a bunch of native interfaces, all of which are precompiled for 32-bit systems. As such, anything relying upon those 32-bit libraries will not work, and that cuts the functionality down to, essentially, the cross-platform pack stuff.
    JMF's sound infastructure is mostly a wrapper around JavaSound, so as long as JavaSound is working on the JRE, you'll be able to utilize the audio functionality.
    As for device detection, I know at least some of that is native code. I'm not 100% sure, but I'd almost expect the Windows performance pack to never return any devices on a 64-bit system, but the cross-platform back to return audio devices. This is an assumption, but, that's what I would expect.
    In any case, if you're using the Windows performance pack, you'd most likely get better results by switching to the cross-platform pack.

  • Playing iTunes on USB Audio Device

    I would like to output all audio from iTunes to a USB audio device I have attached to my Macbook Pro but leave all other audio going to the laptop speakers.
    I've looked through iTunes (10) preferences to see if there is an option to select an audio device, but can't find anything.
    I have my HiFI plugged into the USB device for playing all my music, but obviously I don't want system sounds etc to play over the HiFi.
    Surely there must be a method to tell iTunes what audio output to use.
    Anyone got any recommendations?

    Here's a solution.

Maybe you are looking for