SoundChannel behavior without audio driver

Hi,
I'm not sure if it's AS3 or Air /FB4 forum I should ask this:
I'm testing my air app on older notebook without sound drivers and problem is when I want to call SoundChannel.stop() function. Well I don't know what is the problem, I only managed to trace it to this line of code which calls stop() and now I don't know what to do since there was no error alert or nothing. Code just stops at this line.
I'm not even sure if it's problem with the sound driver.
I tried to look in google for answers and I found that play() function returns null when there is no drivers, but found nothing about stop() function.
Edit:
I've prepared sample application:
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
    xmlns:s="library://ns.adobe.com/flex/spark"
    xmlns:mx="library://ns.adobe.com/flex/mx" creationComplete="init(event)">
  <mx:Canvas width="500" height="500">
  <mx:Text id="txt"/>
  <s:Button id="btn" label="stop" click="btnClick(event)" bottom="0"/>
  </mx:Canvas>
  <fx:Declarations>
  <!-- Place non-visual elements (e.g., services, value objects) here -->
  </fx:Declarations>
  <fx:Script>
  <![CDATA[
  import mx.events.FlexEvent;
  private var snd:Sound = new Sound;
  private var sndCtrl:SoundChannel = new SoundChannel;
  protected function init(event:FlexEvent):void
  snd = new Sound;
  snd.addEventListener(Event.COMPLETE,sndLoaded);
  var url:URLRequest;
  url = new URLRequest("df1_fi1.wav");
  snd.load(url);
  private function sndLoaded(e:Event):void {
  snd = e.target as Sound;
  sndCtrl = snd.play();
  protected function btnClick(event:MouseEvent):void
  txt.htmlText += "before stop <br>";
  sndCtrl.stop();
  txt.htmlText += "after stop <br>";
  ]]>
  </fx:Script>
</s:WindowedApplication>
Use any sound in place "df1_fi1.wav", export, install and lunch this app, then press the button. On computer with sound driver you can see "before" and "after" text on screen. On notebook without sound driver you can see only the "before" text.

Ok, I managed to install Flash Builder on this old laptop and debug this app.
Problem is that soundChannel is null on system without sound drivers. So every time I run sndCtrl.stop() there is a standard error of an empty object and system crashes.
I just need to make exceptions, like:
if (sndCtrl) sndCtrl.stop();

Similar Messages

  • How can I just use a generic Realtek audio driver without "Beats Audio" interfering!?

    Beats audio is terrible! I just want to have a flat EQ with no stupid sound effects enabled. The only way I've been able to do this so far, is to uninstall the audio driver, and just use the generic windows one instead. But what I would like to do is use a generic Realtek audio driver, and completely remove Beats Audio from my computer.
    After uninstalling the audio driver that comes with my laptop, I tried getting a standard Realtek driver from their website. But when I install that, Beats Audio reappears! This is so frustrating! How can I uninstall Beats Audio? I want it gone forever! I can see from searching these forums that this is a common problem. But none of the solutions have shown how to just use a standard Realtek driver without this Beats Audio rubbish.
    Can anyone tell me how this is possible? I'll stick to the generic windows driver if I have to. But it would be nice if I could just use the Realtek drivers as they were meant to be.
    Thanks

    Thanks for the reply. But you've misunderstood the question. I know how to uninstall the sound driver and just use a generic Windows one instead. But what I'm actually looking to do, is install the Realtek audio driver without Beats Audio. Thanks.

  • G510 audio driver installati​on problem on Windows 8.1

    I've just received my brand new Lenovo G510 and installed Windows 8.1 Pro 64-bit onto it.
    Most of the drivers from the attached CD installed without any problems (though I was quite surprised that no newer versions were available on the Support wrbpage) but I can't install audio driver.
    Apparently this series is equipped in either Conexant or Realtek audio chips and the provided setup application is desigend to detect the correct chip and run the appropriate driver installation program.
    The problem is that setup is not working for me. All I receive is the notification "This utility can not be used on this machine". Since there are no "orphan" audio devices in the Device Manager, I can't really tell which audio chipset is installed in my machine. I don't want to install both dirvers as it may just cause confilcts.
    How can I say which audio chipset is installed and install the correct driver?
    Solved!
    Go to Solution.

    hi mikolajek,
    Welcome to Lenovo Community Forums!
    Under Device manager
      You should look for your Audio
    Normally it stays under Sound and gaming controller,
       And if no driver is installed in shows as High Definition Audio
    Right click on it and select Properties
         Go to the Details TAB
    change the Value to Hardware ID then check the details
    ex. PCI\VEN_14E4&DEV_4727&SUBSYS_051014E4&REV_01 
    Get the 4 digit after VEN and DEV
    Ven is the Vendor and Devi is the Device
    Go to PCI database and do a search for the VEN
    Then search for the DEV and youll know that device
    Regards
    Solid Cruver
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Dolby Audio driver cannot start after upgrading to Windows 8.1

    Hello.
    Windows 8 was the worst thing that happened to Windows, but since I bought this G505s laptop with Win8 pre-installed, i had no other choice to go to. Few days after the purchase, Windows 8.1 arrived and I updated 8 to 8.1 hoping to see some improvements. But to my sadness, 8.1 has ruined my expectations, and Lenovo didn't even care to address the user issues in 8.1
    Here are my Issues : 
    OneKey Recovery : Updated to 8.xx.xx.xxxx
    The OneKey Recovery app tells that 'Current system cannot create a backup'
    I can't have a secure laptop without it creating the Recovery !!
    Lenovo, please address this issue and fix the OneKey Recovery Problem !!
    Dolby audio app : Doesn't open, and if once it starts, cannot configure the Equalizer !
    --- Dr Saketh ---

    hi sotim01,
    Thanks for posting!
    1. Uninstall all components,
            Open Device Manager and Uninstall your Conexant audio under Sound and ganing controllers (make sure to place a check under delete driver software for this device)
    2. Open Control Panel Uninstall a program and highlight the dolby component and an Uninstall button will appear.
    3. Open your C: drive and Delete any folder that says drivers if non then continue with the next step
    4. Download this Driver for installation
            Conexant Audio Driver  
    Install it and continue
    5. Open Drive C: now and you should have the Drivers folder back.
          Open that, Open Connexant Open Dolby Gui,  then you should have Dolbyaa for Advanced audio.
    Restart your PC and there you go!
    Let me know your findings
    Cheers!
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • When I burn my imovie I get the IDVD screen with a thumb size video playing in the corner of the screen without audio - weird

    When I burn my imovie I get the IDVD screen with a thumb size video playing in the corner of the screen without audio - weird

    You can find the serial number either in About this Mc in the Menu bar under the , or it should be on a sticker under the foot of the machine.
    If you have the install discs, try booting from them, holding down the c key and then using Disk Utility to check the drive. 
    You can also boot into Safe mode
    To start up into Safe Mode (to "Safe Boot"), do this:
       1. Be sure the computer is shut down.
       2. Press the power button.
       3. Immediately after you hear the startup tone, press and hold the Shift key.
          Tip: The Shift key should be held as soon as possible after the startup tone but not before.
       4. Release the Shift key when you see the gray Apple and progress indicator (looks like a spinning gear).
    During the startup in Mac OS X 10.2 through 10.3.9, you will see "Safe Boot" on the Mac OS X startup screen.
    During the startup in Mac OS X 10.4 or later, you will see "Safe Boot" on the login window, which appears even if you normally log in automatically.
    Please post back with results,
    To leave Safe Mode in any version of Mac OS X, restart the computer normally, without holding any keys during startup.

  • Installed windows 7 64 bit on my macbook .. but now got my macbook without audio. please help me!

    Installed windows 7 64 bit on my macbook .. but now got my macbook without audio. please help me!

    You most likely installed Windows 7 in EFI mode. Can you confirm this?
    If you used Bootcamp Assistant to partition your drive, you did not install in EFI mode.
    If you selected "EFI Boot" at the boot menu before installing Windows, you started the EFI Boot installer.
    Please let us know whether or not you installed in EFI mode because audio not working is a common problem in EFI mode, but should not appear in normal BIOS mode. (Normal BIOS mode is when you used Bootcamp assistant)

  • 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)

  • Dolby Audio Driver not working. PLEASE HELP.

    Hi, recently i've been getting a messege when starting up my laptop 'unable to start the dolby audio driver. please restart the computer or reinstall driver if problem persists.' i thought nothing much of it at the time but after that, there are no sounds coming out while gaming or playing other media files. please help. i have a lenovo z500 i7 idea pad.
    I'm on windows 8.1 if that helps!

    jitking3 wrote:
    Hi, recently i've been getting a messege when starting up my laptop 'unable to start the dolby audio driver. please restart the computer or reinstall driver if problem persists.' i thought nothing much of it at the time but after that, there are so sounds coming out while gaming or playing other media files. please help. i have a lenovo z500 i7 idea pad.
    You can try one of the following (start at 1 first):
    1. Run in an elevated commnad prompt without the quotation "sfc /scannow & dism /online /cleanup-image /restorehealth"
    2. Restore to a date where you can remember that the dolby audio sound is working.
    3. Use OKR to restore everything to factory default. Note you need to backup all your personal files before doing this and might need to reinstall all third party programs after the restoration.

  • Dolby Home Theater V4 changed to Dolby Digital Plus after Realtek Audio Driver update Windows 8.1

    Hi,I'm now using Ideapad Z510. After upgraded to Windows 8.1. I'd went to the Lenovo website searching for new driver update.
    But, after i install the "Realtek Audio Driver 6.0.1.7023", the "Dolby Home Theater V4" is not running(audio sound not playing through).And, the "Dolby Digital Plus" is running instead of "Dolby Home Theater V4".
    Then, when I try to reinstall the older version "Realtek Audio Driver 6.0.1.6954" from Lenovo website, the "Dolby Home Theater V4" is running again.
    Truly, the "Dolby Digital Plus"'s sound is crisper and louder than "Dolby Home Theater V4". But the sound of "Dolby Home Theater V4" has more bass and more function (like Graphic Equalizer, more Intelligent Equalizer etc.).
    Is this an update or what?
    What should I choose?The newer driver (for Windows 8.1) or older driver (for Dolby Home Theater V4)?  Thanks. (confused now) @@

    Hi all
    Could you try out DAA or DHTLightweight from my link and just install the Dolby software without overriding your Realtek Driver? I am not sure whether would it work, but worth a try. I have tried on Y460, W520 and G560 with great experience.
    If the older Dolby software does not work with your existing Realtek driver, you could install the DAA or DHTLightweight with their driver to overwrite and see how it goes.
    Thank You
    Peter
    ThinkPad W520 | ThinkCentre E73 SFF | IdeaPad K1 | IdeaPad Yoga 11s | Miix 2 10" | 3000 Y300 | Yoga Tablet 2 Pro
    Give kudos to reward people for their assistance | Mark thread solved if the solution works | Please do not send me an e-mail regarding technical questions | I am not an Lenovo employee
    =====================================
    Dolby ; IdeaPad Slate Tablet

  • I need a replacement HD audio driver other than the IDT/Beats hunka junk.

    Anyone out there know if its alright to install a HD audio driver (brandwise) other than the one that came pre loaded on my HP Dv6 A8 windows7 x64? Hp apparently has IDT by the short hairs, not letting anything get out without being overprocessed, compressed and enhanced to DEATH. Not only that but they've got to drag that insolent worthless F*up, Beats audio to every download. I've tried everything, from the generic system driver that comes with windows, to registry patches and still have every problem that everyone else has with this driver.
    I only see a few ways through this and they are as follows
    1.)  Get a new sound card ( but I'm broke after paying 900.00 for this laptop)
    2.)  Build a cutom driver  ( guess you gotta start somewhere 'eh?)
    3.) Get the lo-down on a Beats-free Idt driver...........ANYONE?..anyone.......anyon..any........
    4.) OR, get a thumbs up and possibly a link to the original question.
    I'm afraid that all this messin' with my 'puter is gonna funk it up after a while. Kinda like a bad hair day, the more you fuss the worse the 'muss.
    Help       M EEeeee

    Sprinks
    I am providing you a link to an HP Support document called “Obtaining Software and Drivers” below. This document will demonstrate the different ways up getting your drivers. From Microsoft, to the HP driver page for your computer, to the original drivers that came with your computer.
    There is nothing saying you cannot go directly to the audio manufacturer and download their drivers for the chip but there is no guarantee that they will work correctly as most times the OEM (in this case HP) request modifications to the hardware to suit the software requirements so they may not match up exactly. It is worth giving it a try though.
    Obtaining Software and Drivers
    http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&docname=bph07165
    Please feel free to re-post if you have any further questions or concerns.
    Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
    Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
    Dunidar
    I work on behalf of HP
    Find out a bit more about me by checking out my profile!
    "Customers don’t expect you to be perfect. They do expect you to fix things when they go wrong." ~ Donald Porter

  • Audio driver error, code 10 error & Media device missing Error in Presario C772TU

    Hello Hi to all,
    I am Manikandan.D working in BOSCH India and new user for this forum.
    I am having presario C7712TU model laptop, recently i reinstalled my Xp OS service pack 2.
    after that i reinstalled all drivers, but it showing some error in audio device driver.
    the error code is 10 and it is telling "media device missing"
    I have installed UAA driver + conexant HD audio driver
    Moreover i couldnt find any wireless LAN icon in network connection tab.
    could any body help me..Since i am in Germany..Now helpless!
    it is big trouble for me!!!
    Many thanks in advance to all!

    Dear Daniel,
    Thank you very much for your reply and effort, help!
    Yesterday i have installed Atheros driver...Now my wifi also turned on without any problem.
    I think you doing great job for all the people. keep the same spirit and continue the support!
    this has to be appreciated! why because some people they will break the head for the system problem.
    you are giving solution for the headache not for the system!!!
    anyways now my problem is solved thanks...!
    if possible send me your mail id to the below address.
    <text deleted for privacy>
    i will keep in touch with you!
    Message Edited by WendyM on 10-21-2009 07:04 AM

  • How do i reinstall my audio driver?

    My audio Driver disappeared, and i need to reinstall it, but i dont know how without reinstallin the whole macOSX.

    How do you know it's disappeared?

  • Audio driver issues... please help!

    Alright,
    I just purchased a new Asus computer, it's really nice... however I have Realtek HD, which doesn't seem to have a stereo option, it only comes out of the right speaker. When I try to record, it's the same issue.
    Do I need to purchase a new audio driver?
    Unless anyone knows how I can change the buffer size with the default "Audition 3.0 Windows Sound" to a lower number, since I'm trying to record in multitrack mode with the metronome.
    I have ASIO4ALL v2 as well, but it's the same issue because of no stereo mic option...
    Someone please help... several week headache.

    Hmm,
    Even when I have the mono mix it's recording exactly in the center... how can I get it to pan the channel or have it record in both?
    Also, is there any way I can lower the buffer rate for the default "Audition 3 Windows Sound" so I can use a metronome without it delaying it?
    Thanks.

  • Urgent!!! ***Audio driver for Dell dimension 4300 running on Windows 7***?

    ? Hi, I just upgraded my Dell dimension 4300 which was running on Windows XP pro to Windows 7 32 bit. Everything is working fine except my sound. I cannot see my audio driver through system information or anything. So I had to open my CPU tower and found out that my sound card is Sound blaster li've model CT4780. Can anyone please tell me how do I use this card with windows 7. I don't know if it will work with Windows Vista driver and I couldn't find a driver for it. I went to dell's website and that driver didn't work, probably was not compatible with Windows 7. Now in my Device manager setting I see these drivers with question mark
    - Ethernet controller
    - PCI simple communication controller
    - Multimedia audio controller
    My bios is A04. Can anyone please help me with that. I searched everywhere possible for a solution, but couldn't find one. I will really appreciate if someone can save me.
    Thank you

    You need a lot more than just the non-existant driver for your sound card, you also need motherboard/chipset drivers and there aren't any for that either. You computer has the Intel 845 chipset in it,
    <a rel="nofollow" target="_blank" href="http://support.dell.com/support/edocs/systems/dim4300/specs.htm#0572"]http://support.dell.com/support/edocs/systems/dim4300/specs.htm#0572[/url]
    which Intel declared "end of life" a few years ago. Without a working chipset driver it doesn't matter whether you have working sound drivers or not.
    In your case you would be far better off holding off on Windows 7 until such a time as you have a new computer that actual has Windows 7 support.

  • Error 5009 0x8002802b from realtek high definition audio driver

    A game I've been trying to play always crashes, and the tech people told me to update my drivers. I updated my video card without a hitch, but for the audio drivers I get this error for my realtek high definition audio driver:
    error 5009 0x8002802b 
    I'm using a HP 2000 Notebook PC, and I'll copy and paste info from a dxdiag if it would help at all:
    System Model: HP 2000 Notebook PC
    BIOS: F.33
    Processor: AMD E-300 APU with Radeon(tm) HD Graphics (2 CPUs), ~1.3GHz
    Memory: 4096MB RAM
    Available OS Memory: 3682MB RAM
    Page File: 1494MB used, 6283MB available
    Windows Dir: C:\WINDOWS
    DirectX Version: DirectX 11
    DX Setup Parameters: Not found
    User DPI Setting: Using System DPI
    System DPI Setting: 96 DPI (100 percent)
    DWM DPI Scaling: Disabled
    Display Devices
    Card name: AMD Radeon HD 6310 Graphics
    Sound Devices
    Description: Speakers (Realtek High Definition Audio)
    Default Sound Playback: Yes
    Default Voice Playback: Yes
    Hardware ID: HDAUDIO\FUNC_01&VEN_10EC&DEV_0269&SUBSYS_103C188B&​REV_1002

    No one out there has any ideas what I can do? Apparently this should help me play my game, although it still crashes even after I updated my video card drivers, I don't see why my audio drivers would make it crash but it would still be nice to be able to update them just to be sure thats not the reason its crashing.

Maybe you are looking for

  • So did anyone hack the iPad and made it work with Flash?

    Hello Dudes & Dudettes, I basically need to write a Flash game that would work through the Safari browser on the iPad. Did anyone try to re-write the Adobe iPhone packager and make it work for the iPad? I am curious... ? Also anyone  knows if it is p

  • MBP only runs with battery UNinstalled?

    So I woke my computer from its sleep state this morning, and it instantly shut down. When I pressed the power button, the CD drive began to spin up, as did the fans, etc., but less than 2 seconds after pushing the power button, it just stops booting

  • Developer patchset 17

    Hi My architecture: 11.5.9 CU2 with 9.2.0.8 database [single node on Solaris sparc 64 bit-10 currently iam upgrading Developer 6i patchset 12 to 17 as per doc  ID 232313.1 first I have applied the patchset 17 patch 4183804   and checked version not c

  • Unable to view emails and browsers

    I am unable to open browsers or see my actual emails== this seemed to happen after changing some settings but I do not know what to do to correct this!

  • Query  need suggestions

    MASTER TABLE select num_jd, jd_veh, jd_vip from ent_RENT 3845     3896     3897 3828     287     288 3827     285     286 CHILD TABLE JD_VEH_rent select jd_veh from jd_veh_rent 3896 child table hd_vip_rent select jd_vip from jd_vip_rent 3897 Now i wa