Can't hear playback of mp3 on the storm

I use the following similar code in my application by one of the poster

play a sound mp3 on the storm.  The app works very well in the Simulator.

public void playClick( ) {

            try {
                Class cl = Class.forName("net.berrysoft.dib.Dib");
                InputStream is = cl.getResourceAsStream("/sounds/switch.mp3");

                // Create an instance of the player from the InputStream
                player = Manager.createPlayer( is, "audio/mpeg" );
                player.realize();

                volumeControl = getVolumeControl(player);

                if (volumeControl != null)
                    volumeControl.setLevel(volume);
                player.prefetch();
                player.start();
            } catch (Exception e) {
                System.out.println("ERR: " + e.toString());
            }
    }

    private VolumeControl getVolumeControl( Player p ) {
        return (VolumeControl)p.getControl( "VolumeControl" );
    }

the problem is that I can't hear the sound when I plugin the atrium.

Once I unplug I can't hear anything.

The sound works on my Storm. I can listen to music with the media app.

someone knows why?

THX. I read your responses on the other thread.

No wonder he has many updates. hehe

I hope a release very soon because it's very annoying.

Tags: BlackBerry Developers

Similar Questions

  • Can't hear playback in hearing

    When you open any audio file in ' to the ', all of a sudden I can't hear anything when playing. Any other program on my PC audo works well, except "at the", however eralier it worked perfectly for months, even the minutes before I tried to open a new wav file. I could have badly adjusted something, when you open this file, but I can't find what it was.

    Post edited by: Robert Howes to shorten the title

    Transport begin? I mean, the cursor moves along your file while you hear nothing, or nothing moves in fact when you click 'play '? If this is the case, then hearing is disconnected from your audio device, and you need to go to Edit > Preferences > Audio hardware to reassign. If the transport is actually moving, but you still have no sound, first make sure that the output correct are used in Edit > Preferences > Audio Channel Mapping, and if a correct you must take a look at how your audio device is set up. Don't want to go further until you said if it comes to Mac or Windows, and what operating system you are using.

  • BlackBerry Smartphones Help - can't get music from ITunes to the storm

    Have installed everything, but the drop of Itunes is "grey"... where mistaken?

    You use sync media from the Desktop Manager Blackberry?

  • How can smartphones blackBerry I erase memory on the storm?

    I need to return the Blackberry Storm, but before I do, I want to erase the memory of all the 'contacts', emails, etc..  How I do that without going point to point?

    Thank you

    RP

    Options > Security > General settings > Menu > wipe

    or

    Options > Security > Security Wipe

    Depending on your operating system installed.

  • BlackBerry smartphones can not hear the phone

    Hello guys,.

    I bought the storm and love it.  Once all the bugs will be fixed and I find a way to synchronize using bluetooth it will all be just great!

    I have just a new problem which started 10 minutes ago.  When I call people or people call me they can hear me and I can't hear anything.  I checked the volume.  Called several people.  Tried 2 different devices bluetooth, speaker and the headphones.  It is absolutely silent...

    What can I do about it?  I turned the phone market 2 times but it does not remedy.

    Help, please.

    Once I removed the battery and installed again the phone started working and now I can hear the conversations.  I hope RIM fixes this issue soon.

  • BlackBerry Q10 callers can't hear me phone earpiece / normal, just speaker! Help?

    Hello

    I just bought a Q10 and love all that, except for the fact that the appellants can only hear me when I use the speaker. The microphone seems fine, I ran the diagnostics... is therefore not a hardware problem. And he does not pick up my voice when I'm on speaker.

    I tried to jump the battery for 15 minutes and put it back, which did not help. I've also updated the operating system and that made no difference.

    I think that others have the same problem... is there a solution for this? Please help, I need this phone to work.

    Thank you very much!

    S

    'New' is difficult to interpret, because it can mean different things to different methods... but nonetheless...

    The next thing to try is the virtual Expert of BB (I don't know if that's what you mean by your original report "diagnosis"... apologies for the redundancy if yes):

    • Article ID: KB35973 Virtual BlackBerry Expert diagnostics application using

    Failing this, official support of your place of origin of purchase, or another provider of the guarantee (as determined by your original purchase agreement).

    Good luck!

  • I can't hear other people on Skype, but they can hear me

    I'm on Skype and when I make calls to other users, they can hear me, but when they talk, I can't hear them, whatsup?

    The following may help to "Why can I not hear the other person?" the support of Skype: http://support.skype.com/en-us/faq/FA348/why-can-t-i-hear-the-other-person

  • How to play mp3 speaker BB Storm?

    I'm playing an mp3 on the storm.  I read through known (see thread below), I have to come sound in the headphones, but I'm still not able to get sound from the speaker of the device.

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=12344&query.ID=89...

    The thread that the above indicates that the solution is to change the AudioPathControl after the media are started.  I put tracing instructions in the code and AudioPathControl.getAudioPath () == before AudioPathControl.AUDIO_PATH_HANDSFREE and after I start the media.

    Here is the code that I use - help is appreciated

    public void tileFlip () {}
    try {}

    tileFlipPlayer.start ();
    AudioPathControl apc;

    Check [] c = tileFlipPlayer.getControls ();
    for (int i = c.length - 1; i > = 0; i--) {}
    If (this [i] instanceof AudioPathControl)
    APC = c (AudioPathControl) [i];

    break;

    } / / end for

    If (apc! = null) {}
    apc.setAudioPath (AudioPathControl.AUDIO_PATH_HANDSFREE);

    }
    catch (Exception e) {}
    System.out.println ("ERR:" + try ());
    }
    }

    I use 4.7.0.76 on BB 9530.

    I used the Fund Manager to do an update and 4.7.0.76 is the version that was on the phone when finished.  I know there are versions later, but if most of the phones do not have this version - then my sounds will not play.

    I did my prefetch when I booted the player - I don't understand this part of the code, because it was not relevant to the discussion.

    BTW - person knows if there are release dates to a later version of the operating system - one that will have the correct features for players?  If I can hold off the release soon.

    At the end of the day - he was not changing the audio track that does work, but the volume (as suggested in another thread).  It's REALLY STUPID to have to lose resources system on a thread just to play the sound.

    class SoundThread extends Thread {}
    a private player = null;
    private VolumeControl vc = null;
    Private boolean evenLoops = false;
    Private final int VOLUME_LEVEL = 30;
       
    public SoundThread() {}
           
    }
    {} public void setPlayer (player p)
    Player = p;
    VC = (VolumeControl) player.getControl ("VolumeControl");
    vc.setLevel (VOLUME_LEVEL);
    }
      
    private void toggleVolumeLevel() {}
    If (player! = null & vc! = null) {}
             
    If {(evenLoops)
    evenLoops = false;
    vc.setLevel (VOLUME_LEVEL);
    }
    else {}
    evenLoops = true;
    vc.setLevel (VOLUME_LEVEL - 1);
    }
    System.out.println ("Volume is"+ vc.getLevel () ");
    }
    }
       
    public void run() {}
    try {}
    While (true) {}
    toggleVolumeLevel();
    Thread.Sleep (50);
    }
    }
    catch (Exception e) {}
    }
    }
    }

  • Pavilion g4: can not hear the sound of my laptop

    I can't hear from the laptop. When I try to test the sound he says not to test tone. I think I got g4, but I know it's the Pavilion g series

    Hello

    Try the following.

    Download IDT Audio Installer on the link below and save it in your downloads folder.

    http://ftp.HP.com/pub/SoftPaq/sp59001-59500/sp59154.exe

    One time finished, open windows control panel, open Device Manager and open sound, video and game controllers.  Right click on the IDT device and select uninstall - also, you should get a command prompt to delete the current driver, check the box allow this and then proceed to uninstall.

    When you are finished, download and reinstall the Chipset driver at the following link.

    http://ftp.HP.com/pub/SoftPaq/sp52501-53000/sp52791.exe

    Once the relocation of Chipset is complete, stop the laptop, unplug the AC adapter and then remove the battery.  Press and hold the Power button for 30 seconds.  Reinsert the battery and plug in the AC adapter.

    Robinet tap away at the key esc that you start the computer to launch the Start Menu, and then select f10 to open the bios menu.  Press f9 to load the default values (sometimes it is f5, but the menu below indicates the correct key), use the arrow keys to select 'Yes' and press ENTER.  Press f10 to save the setting and still use the arrow keys to select 'Yes' and press on enter.

    Allow Windows to fully - charge it will automatically load an audio driver, but let just this complete.  Then open your download folder, right-click on the IDT Installer and select "Run as Administrator" to launch the installation.  Once this done, do a right-click the speaker icon in the taskbar and select playback devices.  'Speakers and headphones' left click once to highlight, and then click the Set Default button - check if you now audio.

    Kind regards

    DP - K

  • The speaker volume in the computer sound control mixer is up and works well with the speakers, but with headphones, I can hardly hear.

    Original title: the headphone volume

    How can I activate the volume for headphones? the speaker volume in the computer sound control mixer is up and works well with the speakers, but with the headdphones that I can barely hear

    Hello
     
    1. who is the operating system installed on the computer?
    2. What is the brand and model of headphones?
    3A this works much earlier?
    4. What is the brand and model of the sound card?
    5. have you ever tried to play the Audio using different media player applications and check?
    6. have you tried to connect the headset to another computer or phone and check if it works well?
     
    I suggest you follow these methods and check.
    Method 1: Run the audio troubleshooter.
     
    Method 2: Set the earpiece/microphone as default device and check.
     
    a. right click on the volume icon in the system tray at the right corner on the desktop.
    b. Select the playback device, go to torecording tab.
    c. make a right click and headphone/microphone as the default device.
    d. click on apply and ok.
     
    If above steps fails, proceed to method 3.
     
    Method 3: I suggest to disable the improvements and check.
     
    a. right-click on the icon "speaker" at the bottom right of the screen.
    b. Select "playback devices".
    c. right-click on the helmet.
    d. Select Properties
    e. click improvements
    f. check Disable all improvements
    g. click OK
     
    You can read this article for more information:
     
    Tips for solving common audio problems

    You can also contact the manufacturer of headphones and check.
     
    I hope this helps!
  • After you have installed Windows XP pro, I can't hear all the sounds of Windows

    Original title: I got a virus and my laptop crashed and my friend loaded xp pro and I had xp meadi and now I have no sound and I tried all i can think, and I still don't get any sound

    I had a virus and my laptop crashed and my friend loaded xp pro and I had xp meadi and now I have no sound and I tried all i can think, and I still don't get any sound

    Hello

    Thanks for posting the question on Microsoft community forums. According to the description, you can not hear the sound after installing Windows XP. He would be grateful if you could answer a few questions to refine the question.

    1. What is the brand and model of the computer?

    2 have you installed the audio drivers for the computer?

    3 have you checked the State of the audio device in Device Manager?

    See the steps to check the State of the audio device in Device Manager.

    a. click Start, point to settingsand then click Control Panel.

    b. in Control Panel, double-click System.

    c. click the Device Manager tab.

    d. double-click on a device type, double-click audio for devices of this category.

    e. double-click on a device to view its properties. In the device status box, click the driver tab and click Update driver.

    Follow the given steps.

    Method 1:

    Run the fixit from Microsoft Fixit article and if that helps.

    Diagnose and automatically repair audio playback problems:

    http://support.Microsoft.com/mats/AudioPlayback/

    Method 2:

    I suggest to check the hardware, run the troubleshooter and try to update the drivers. You can follow the article:

    No sound in Windows

    http://Windows.Microsoft.com/en-in/Windows/no-sound-help#no-sound=Windows-XP&V1H=win8tab1&V2H=win7tab1&V3H=winvistatab1&v4h=winxptab1

    Hope this information helps. Please reply with the status so that we can help you.

  • I can't hear sound in my headphones on my laptop but I can hear the sound through the speakers

    I have a laptop Toshiba A210, he has a lot of Windows Vista. When I watch a video and listen to the speakers I can hear it. But when I put my earphones in I cannot hear any sound. I went to control panel > sound > playback > in this screen the peripheral headphones appears as a disconnected device.

    I can not configure or test it and when I right click on it I can not set as default device.
    Help, please.

    Hello

    1 have had any changes made on the computer before the show?

    2. what happens when you try to set as default device?

    3. do you get an error message? If Yes, what is the full and exact error message?

    Method 1:

    I suggest you to make sure that the helmet is well plugged into the headphone jack.

    I also suggest you to test the issue with a different headset.

    Method 2:

    See the article and try to run the Troubleshooter:

    No sound in Windows

    http://Windows.Microsoft.com/en-us/Windows/help/no-sound-in-Windows

  • His record game, I can't hear the sound back room outside, but I can hear it by using head phone

    for 3 days I can't hear the loudspeaker playback sound (built in), but I can hear it when I use the phone in mind. anyone can help with this problem? Thank you.

    Hello

    (a) don't you make changes to the computer until the problem occurred?

    I suggest you try the steps below and check if it helps

    Method 1: Open the troubleshooting of Audio playback

    http://Windows.Microsoft.com/en-us/Windows7/open-the-playing-audio-Troubleshooter

    Also I suggest you to set the speakers as default

    More information: Tips for solving common audio problems

    http://Windows.Microsoft.com/en-us/Windows7/tips-for-fixing-common-sound-problems

    Hope this information is useful.

  • Speakers problem - I can't hear the sound if I got my earplugs on

    When I watch a movie, I can't hear the sound if I got my earplugs on. When I remove them, I don't hear anything. How can I fix?


    Title: original speakers

    Hello

    1. What is the number of brand and model of the computer?

    2 is this problem specific to the film? You sound on the computer speakers?

    3. did you of recent changes on the computer before this problem?

    Method 1

    Open the Audio playback troubleshooting utility-

    http://Windows.Microsoft.com/en-us/Windows7/open-the-playing-audio-Troubleshooter

     

    Method 2

    This occurs when you have the headphones, by default. We must define a default speakers.

    (a) exercise the functions mentioned below to set the speakers as default:

    (b) go to Start and click on Panel.

    (c) click Sound, and then a new window will open.

    (d) in the new window click on the "Playback" tab and right-click in the window and click on Show disabled devices.

    (e) now check if speakers are listed and then right-click on it and choose activate.

    (f) point out that speakers and click on "as default'.»»

    Method 3

    Check with the volume settings and if it helps:

    (a) right click on the speaker icon in the taskbar, then select volume control options.
    (b) check on 'all devices evolving sound.
    (c) make sure that you have "disabled the default communication device".
    (d) place a check on the speakers and headphones.

    I suggest you to see link and check.

    Tips for solving common audio problems

    http://Windows.Microsoft.com/en-us/Windows7/tips-for-fixing-common-sound-problems

    No sound in Windows

    http://Windows.Microsoft.com/en-us/Windows/help/no-sound-in-Windows

    It will be useful.

  • Speakers; The speakers do not work. I tried to change the sound to make it stronger and now I can't hear anything.

    The speakers do not work. I tried to change the sound to make it stronger and now I can't hear anything. How can I fix it?

    Hello

    Did you of recent changes to the computer?

    Method 1:

    Check if your headphones are configured to be used as a Communication device by default instead of the default device, or if the two devices are configured by default. If so, that the fault of headphones, so that Windows will only use when they are connected.

    Check volume settings.

    (a) right click on the speaker icon in the taskbar, then select volume control options.

    (b) click a checkbox on "all devices evolving sound.

    (c) make sure that you have "Default uncontrolled communication device".

    (d) place a check on the speakers and headphones.

    Method 2:

    I suggest you to return the item and check.

    Open the troubleshooting of Audio playback

    http://Windows.Microsoft.com/en-us/Windows7/open-the-playing-audio-Troubleshooter

    Method 3:

    I also suggest you to see the links and check.

    No sound in Windows

    http://Windows.Microsoft.com/en-us/Windows/help/no-sound-in-Windows

    Tips for solving common audio problems

    http://Windows.Microsoft.com/en-us/Windows7/tips-for-fixing-common-sound-problems

Maybe you are looking for