Problem during loop playback of MP3

Hello

I'm trying to play an mp3 file in a loop on Blackberry pearl 8100, here's the code:

Try
{
           
Player=javax.microedition.media.Manager.createPlayer(getClass().getResourceAsStream("/sound.MP3"),"audio/MPEG");
           
Player.Realize ();
Player.prefetch ();
player.setLoopCount(-1);
Player.Start ();
}
catch (System.Exception e)
{
System.out.println ("error in the establishment of the media:" + e);
           
}

The problem is the sound simple and after that I get under the exception:

MEDIA_NATIVES: unload0() mediaHandle = 0
MN: unload 1
MEDIA_NATIVES: init0() mediaHandle = 0 State = 0
MN: charge 0
MEDIA_NATIVES: seekComplete0() mediaHandle = 0
MEDIA_NATIVES: unload0() mediaHandle = 0
MN: unload 1
Streaming is reason = 1 prev - state = 300
AUDIOMANAGER: IOException
Streaming is reason = 1000 prev - state = 300

This exception is automatically without coming and println statement...

Is there anything that I'm missing, please give me the solution...

Kind regards

LOULOU

If you have everything installed recent versions, give a try.

Tags: BlackBerry Developers

Similar Questions

  • Windows Media Player has encountered a problem during file playback video camera panasonic.

    Original title: Erro Media

    I am trying to open a video that has been downloaded to my computer out of a panasonic camcorder, but every time I try to play I get a message that says that Windows Media Player has encountered a problem while playing the file. What is the problem and how can I solve this problem? I'm on Windows 7 Starter

    Hello

    Thanks for choosing Microsoft Community!

    If I understand correctly, you are unable to play the video file downloaded from the camera.

    ­

    Please answer these questions:

    1. What is the file format of the file?

    2. were you able to read the file before?

    3. is the specific issue of the file?

    4 you did changes to the computer before the show?

    We defer the following methods:

    Method 1:

    Step 1: Here is the list of the formats supported by Windows Media player file:

    Information on the types of media files that supports Windows Media Player:

    http://support.Microsoft.com/kb/316992

    Note: See if the file format is in this list, if it is not there, you may need a third-party codec that can read the file.

    Step 2: For more information about codecs, see article given:

    Codecs: Frequently asked questions:

    http://Windows.Microsoft.com/en-us/Windows7/codecs-frequently-asked-questions

    Important: WARNING: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    Method 2: I also suggest you to run the Windows media player troubleshooting:

    Open the troubleshooter in the Windows Media Player settings:

    http://Windows.Microsoft.com/en-us/Windows7/open-the-Windows-Media-Player-settings-Troubleshooter

    Hope this information helps. Don't answer if you need assistance, we will be happy to help you.

  • Satellite L750 - suttering her vibrator trolling during multimedia playback

    OK, I bought this refurbished Satellite L750/L755 and Ive had for almost 2 months now.

    Ive been implemented with this problem so far because everything I tried initially had no effect.
    So now im coming straight on the toshiba forums in the hope of a solution.

    OK so as the subject line says there is a problem during multimedia playback. Any media. YouTube streaming, DVDs, games etc. It is difficult to describe what is happening over a stuttering / hum, which seems trolling for about a second and then again be well.

    However this can happen anywhere up to 10 times in a single song on YouTube. But it is not localized to the sound. As the sound lags, made the video, but not to the same extent.

    The video is usually stops and then cut off after. The sound seems just stuck to the second, the last buzz he played.

    Another thing I noticed was that the buzzing, accompanied each time a huge spike in my CPU usage. sometimes at 100%. but the task mannager shows nothing by using the CPU at these moments there.

    So now to the solution and what I tried

    While I was shopping I noticed that - Dell - owners seemed to have a similar problem which was caused by a pilot defective in fast Intel storage system files, but I have installed that it couldn't have been.

    I noticed that Toshiba had released new drivers for a problem similar to that caused by the Atheros WLAN card, which has my laptop. I did download and try this driver, but that the problem online but also offline, I thought this might be a longshot. of course, I was right.

    If anyone can help I would really appritiate it.

    Thank you very much.

    Hello

    > Another thing I noticed was that the buzzing, accompanied each time a huge spike in my CPU usage. sometimes at 100%. but the task mannager shows nothing by using the CPU at these moments there.

    I think that's the key, it looks that this buzz seems due stressed CPU.
    I found an interesting thread on the similar theme to shift media
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=67087

    Using LatencyMon and DPC latency Checker, you can check which driver / service cause this.

  • I can't sync Windows Media Player with my MP3 player, it says "Player Windows Media has encountered a problem during the synchronization of the file to the device".

    Original title: windows media player

    Whenever I try to download songs on my mps I do not sync my songs. Whenever I click on the button of synk sart on Windows Media Player little pop box saying "Windows Media Player has encountered a problem during the synchronization of the file to the device. For additional assistance, click Web Help. "and when I click web help it does not at all help me please someone help me!

    Hello
     
    1. with the device that you are trying to synchronize?
    2 - is the first time you try to sync Windows media player?
     
    Windows Media Player has encountered a problem during the synchronization of the file to the portable device. Because this error can occur for various reasons, there is no single solution.
    To resolve the problem, try to disconnect and reset. See your device manual for specific instructions on performing this procedure.
     
    In some cases, this error may occur if you try to synchronize a file hidden on a device. To resolve this problem, delete the file in the sync list or change the properties of the file so that the file is not hidden.
     
  • Random popping / ticking during audio playback

    Hey,.

    W500 4058-CTO running x 64 Vista Ult using drivers latest 5th Jan.

    I feel random noises clicking / popping during audio playback MP3 of WMP11 on speakers/headphones.

    If I use my headset Bluetooth AD2P no questions, yes mp3 and WMP is fine.

    Someone knows the similar problem?


  • There was a problem playing this file. (0xC00D0FEA: "Windows Media Player has encountered a problem during the download of the file.) For any additional help, click Help on the Web. »)

    Outlook has been changed from hotmail, my emails say don't link with windows media player, outlook is not their problem, but it happened only when they merged account

    I have to be able to open MP3 files that ae sent emails in my work, it's urgent, please I need to know what settings to correct to sort this please

    It comes to getting the error message

    There was a problem playing this file. (0xC00D0FEA: "Windows Media Player has encountered a problem during the download of the file.) For any additional help, click Help on the Web. »)

    E-mail address is removed from the privacy *.

    Hello

    Method 1:

    See the article and check if that helps:

    Windows Media Player sync: frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows-Vista/Windows-Media-Player-sync-frequently-asked-questions

    Method 2:

    I suggest also refer to the thread with a similar problem and a possible solution:

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-pictures/error-when-trying-to-play-media-files-Windows/4abe7be7-b3fe-44eb-b4da-e0848c3c8bd4

    It will be useful.

  • stop the display of the controls at the bottom of the screen during video playback on windows media player

    How to stop the display of control at the bottom of the screen during video playback on windows media player

    How to stop the display of control at the bottom of the screen during video playback on windows media player

    Use the following steps and controls will NOT appear when you play multimedia player mode full-screen:

    Open Windows Media Player > tools > Options > Performance tab > uncheck "Controls display full screen" > apply/OK for the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • Sound and image's market during video playback by electronic mail.

    Original title: videos sent in emails

    Sound and image's market during video playback by electronic mail. (IE, trailer attached, you tube)

    Hello
     

    1. How do you access the email? Using any email or via an Internet browser client?
    2. If you are using Internet explorer, which version is installed on your computer?
     
     
    Method 1.
    Given that most online videos require Adobe flash to work I suggest you install Adobe Flash player in Internet Explorer.

    I recommend you update Adobe flash player from the website below:
    http://get.Adobe.com/flashplayer/

     
    Method 2.
    a. If the problem persists, you can optimize Internet Explorer.
    See the link below for more information.
    How to optimize Internet Explorer?
    http://support.Microsoft.com/kb/936213
     
    b. If nothing works to solve the issue try reset Internet Explorer.
    How to reset Internet explorer:
    http://support.Microsoft.com/kb/923737
    Note: After resetting Internet explorer you will need to install Java runtime library and Adobe flash again.
    WARNING:
    Please note that reset the settings of Internet Explorer running resets all of the settings defined by the user, including those established by the installed extensions, toolbars and other add-ons for IE by default. This includes all the security, privacy and settings area. Also this will erase browsing history, delete all temporary Internet, cookies, form data files and especially all the passwords.
     
     
    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Stutters audio during media playback all the

    Hello world

    This problem seems to have been haunts many people - I read this days, but everything I've found are unresolved threads.
    During multimedia playback - who is watch videos stored on my hard disk, streaming from youtube, listen to music on my hard drive and streaming music on the net - my sound triggers or stutters for a fraction of a second. A bit like a record jump. It happens every 20 seconds or more. It is therefore impossible to enjoy movies and music, but my main concern is recording.
    I've updated my edge from the website sound card driver Dell as well as card external sound (Line 6 KB37) that I use for recording. Stuttering product regardless of the sound card I have cross so I doubt that it is a driver problem, although I'm not gifted in computer science so I could be wrong. I tried to disable all the sound improvements but that becomes me anywhere I spent the last two days that I wanted to use record new songs to scouring the web for answers and I found nothing that works.
    I use a Dell Inspiron 1545 age of 2 years with 64-bit Windows 7 Home Premium. 4 GB of ram and a Pentium Dual - Core CPU. T4300 2.10 GHz, 2.10 GHz.
    Any ideas what I can do? This has worked well in the past and only recently begun trolling. What other information can I provide to facilitate this? Virus tests reveal nothing, not even in safe mode. I just defragmented it, ran CCleaner and Temp File Cleaner and I'm completely stumped.
    Thanks in advance for your help, I'll watch this space and pass on any info you may need on my system.
    See you soon,.
    Justin

    Justin,

    We discussed the same here: http://en.community.dell.com/support-forums/laptop/f/3517/t/19412524.aspx?PageIndex=3 and we found the solution to the problem, it seems that MS Update wants to install an "optional update' - storage - Intel Intel(r) ICH9M-E/M SATA AHCI Controller (until June 2011). But Intel has a more recent version updated to: Intel® Rapid Storage Technology, here:http://downloadcenter.intel.com/Detail_Desc.aspx?ProductID=2101&DwnldID=20215&lang=eng&iid=dc_rss and after having removed the Updated MS a and replaced by Intel (Second link here). The problem has been resolved and no more stuttering, hum at all. I did a wipe full hard drive, Format and Fresh install of Win7 Home Premium x 64, and it fixed my problem too. I ignore MS Update for it and installed the Intel One rather after reformat and fresh install, just to make sure that it doesn't happen. So two options to see if you get as your fixed. Good luck to all.

    Thank you

    Mick Barker SR.

    A + technician

  • Media Center crashes during video playback of need to hard reboot.

    Hi, any help would be greatly appreciated as this has been driving me crazy for several days of attempted troubleshooting, Googling, try many things to fix it... first of all let me apologize in advance for the length of my post but I wanted to give as much information as possible to help anyone trying to rule out things...!

    OK, so the problem...

    I installed Windows 7 Ultimate 32 bit as a clean install on my HTPC, after the first do a complete 1 & 0 format of the hard drive that had previously installed Vista Home Premium, installation went well and I proceeded to install all updates to Windows, and then update drivers for all my hardware.

    The system is used only as a HTPC, it's my only TV and video playback device, (so reliability is essential for me) and it is connected to a defintion of Sony, 44 "Widescreen Rear Projection TV Standard, via S-video, with audio goes to a system DD/DTS 5.1 Surround Sound Speaker Logitech z5500, via a sound card by using the optical cable (specifications of the complete system below).  The system worked flawlessly more of one year using Vista SP1 32 - bit, until I upgraded to Windows 7 Ultimate on the hardware configuration identical.

    Since installing Windows 7, it worked fine for the first week, not a single problem, I am housebound are disabled so that the system is in continuous service 24/7 and he had no problems in the first 10 days, however all of a sudden I'm getting now random freezes requiring a hard reset , but it occurs during video playback of any of my 3 hard disks, or when you try to play a DVD in Media Center. Which led me to think it is associated video (problem of driver or hardware fault) card, disc or HARD associated.

    Frost can occur sometimes, after a few minutes of reading, or sometimes after a few hours, requiring a restart of the hard to get the sytem to answer.

    Reading of the TV via the TV Tuner card is not affected, its only when playing of stored content (MPEG2, h264 .mkv .avi files or DVD) are all media SD HD and all played fine for the first few days.

    Intermittent freezes occurring could block the system completely freeze the image and audio and all activities, nothing would work at all, I tried windwos keyboard, ctrl alt del, nothing at all, to do a reboot hard to recover the system, it can then be either minutes or sometimes an hour before the same thing happens again. I tried to use different video files in the case of the corruption of files, different DVD to exclude damaged disks, same result.

    System includes:

    1. Map - mother ASUS M3A32 - MVP Dlx, Socket AM2 +, 790FX/SB600 chipset, BIOS v.2003
    2. Operating system - Windows 7 complete edition 32-bit Retail (clean install, all the Windows installed updates)
    3. CPU : AMD Phenom 9950 Quad Core @ 2.6 Ghz (stock)
    4. RAM - 4 GB Patriot Extreme Performance DDR2-800 5-5-5-15 2T
    5. Graphics card - ASUS Nvidia 8800GTS @ settings inventory 320Mo
    6. Sound card - card of ASUS Xonar D2X PCI-E
    7. Card TV Tuner - Hauppauge PCI-E WIN - TV Nova S more DVB - S directly connected to the flat outer of satellite, with remote control IR IRBlaster
    8. Player - optics Sony/NEC Optiarc DVD - RW Labelflash
    9. HARD drive 1 - (Startup disk) Samsung Spinpoint 160 GB SATA II
    10. HARD drive 2 - (Only for TV recordings) Hitachi 160 GB SATA II
    11. HARD drive 3 - (Storage media) Maxtor 1 TB SATA II
    12. Netwrok adapter- EDIMAX PCI 54 g Wireless Adapter - uses a RALINK driver
    13. Keyboard1 - Logitech Dinovo Mini Bluetooth wireless keyboard
    14. Keyboard & mouse 2 - Logitech MX3200 wireless mouse/keyboard combo
    15. Speakers - Logitech Z5500 5.1 Digital Surround Sound via Toslink optical cable connected to the ASUS Xonar Sound Card S/PDIF optical

    All the material above has had pilots upated since the sites of respective manufacturers, including BIOS of motherboard, chipset, graphics card, network card, sound card, card TV, keyboard (Logitech Setpoint) etc... etc...

    Initial added after Clean install software:

    1. Internet Security - Comodo Firewall v.3.13.126709.581 (updated daily since installed)
    2. Antivirus - Alwil Avast Professional 4.8 v (update daily & daily analysis of all local drives)
    3. Browsers: Firefox v. 3.5, Google Chrome
    4. MCEBuddy v.1.1 - for automated video Conversion of MCE .wtv smaller file size .avi TV recordings

    All of the above software has been installed by using the latest available versions downloaded from the manufactuer sites, which claim to support Windows 7 and all have been updated regularly since its installation.

    I have tried many of the suggestions I've seen posted to try to solve this problem, including:

    1. Uninstalling and reinstalling Media Center and WMP
    2. Disabling subtitles in Media Center
    3. Disable unused mobo onboard devices in the BIOS
    4. Update BIOS
    5. Updated all drivers
    6. Disabling Control Panel Nvidia PhysX
    7. Disabling the Enhanced Sound features for reading devices
    8. Run CCRegistry cleaner
    9. Run many Virus scans nomral mode and safe - no problems found
    10. Don't run the Checkdisk on all HARD drives - no problems found
    11. Run the SeaTools Diagnostic tools for HARD drives - all disks HARD discover OK
    12. Tried playing files AVI of HDD separated to avoid a HARD drive problem - same problem occurs on all readers
    13. I tried change graphics card for an ATI HD4850 with the latest ATI drivers - same problem.
    14. Tried to change the audio output S/PDIF instead of Xonar Soundcard onboard - same problem occurs
    15. Tried the Windows 7 repair facility - problem persists.
    16. Tried to uninstall all updates of Windows -same problem
    17. I tried the system restore to before the occurrence of the problem started - no help
    18. tried to re-downlaoding all hardware drivers updated and re - install in the case of a corrupt driver download - no chance even problem

    Essentially none of the abvoe helped to solve this problem, and it becomes really frustrating to have to restart the PC again and again trying to watch a recorded video file or DVD.

    After remove all the above I can only assume that it is a problem with Windows 7, needing a fix of the millisecond.  At least I think that I've exhausted everything I can try... ???

    With what is my HTPC, if I can't perform reliably, I have to reinstall Vista, Vista was not the best OS, but at least it was reliable for me in terms of my HTPC.

    I was really eager to get Windows 7, I used the RTM version on my netbook for some time before I made the decision to purchase the full retail version for my HTPC, and never had any of these problems with my installation of netbook that I used for playback of media files from an external USB HDD.  So I'm really disappointed to have these problems after doing all that I could to make sure that Windows 7 would work OK.

    If anyone can give me any suggestions of what I can try, anythign I can too watching, or if someone has hada similar problem and found a solution for him... Please, please, post more details, because I am really at my wits end now and have to resort to watch the recordings on a 10.2 "screen of my netbook with some speakers of the small laptop usb, after spending so much money on my system and surround sound Setup HTPC, its devastating to think that I'll have to go back to Vista...

    Absoultely ANY suggestions would be appreciated...

    Thanks in advance for any help and once again, I'm sorry for the length of the post, if there is more information needed I've not provided above, please let me know and I will try to publish as soon as POSSIBLE...

    After the forum of scouring and reding of countless discussions, it seems, there is some sort of problem with Media Network Sharing tha could be the cause of this problem, as many people have reported that disabling wmpnetwk.exe in the Services.msc solves the problem.

    It's not an ideal solution for me, as I have a HTPC in the room that I play media from the main HTPC downstairs and all the hype MS seemed to suggest that Win 7 is it is much easier to achieve, and has been one of the main points of sale used in one of their commercials for the operating system.

    This my MS you need to pay attention to this problem and work towards a solution and allow users to know when the solution has been provided, probably have a service that must be disabled to let the operating system work reliably is quite counterproductive.

    Nobody seems to answer my post above with other suggestions and wmpnetwork.exe disable workaround was published last November, all the while still there is no permanent solution...?

    EDIT: Just to confirm this wmnetwork.exe Netwrok disabling media sharing in the services, as well as disabling the media streaming in the Netwrok Sharing Center > advanced sharing Options, solved the constant crashes for me.

    So all the MS speak of 3rd party drivers for the cards video and other material or material defects are to blame, it's total BS, the only problem is to do with Windows and Windows Media Sharing, lets hope, they decide to do something to fight it... !!

  • I have a thumping sound during video playback.

    I have a computer Dell Inspiron 1545, 64-bit laptop, equipped with Windows 7 family Premium SP1. During video playback, streaming online or a video on my computer, I get a noise very loud from time to time. It is almost an audio feedback effect. Sometimes the video hangs at the noise. I've updated the audio drivers; I deleted the audio driver in the Device Manager and rebooted I tried another card sound and different speakers. Nothing works; I always get the noise and the occational of freezing. I read a lot of articles online from other Windows 7 users, indicating the same problems, so I have to believe that this is a problem with Windows 7 itself. If you go on Bing and just type in Windows 7, this site and others coming, talking about sound and freezing problems. What is the problem with Windows 7 and what is Microsoft going to do to correct the problem? I often have to connect my laptop to my TV for playback of movies, but the noise is very discouraging. Help!

    Hey,.

    Follow the methods provided by bluto32.

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-pictures/automatic-volume-leveling-during-audio-playback/f9656c4a-B5E7-4cff-B029-7577f0efa549?TM=1371183288230

  • Get heet even during video playback online

    MY iPhone 5is getting heet during video playback online

    It is normal for an electronic device get a little warm with use, but should not be too hot.  If it's not too hot, take a go-Genius Bar or visit you local Apple authorized for this extract. https://locate.Apple.com/country

    -AJ

  • Portege R700 - problems with video playback with resolution more 360 p

    I have this problem of video playback on the first day. While for example on YouTube, video resolution than 360 freeze while the sound is ok.

    I contacted Toshiba whereby I had a linke for the bios and latest drivers. After the upgrade question persists. Sometimes I get a green screen by watching the video flash as well. I guess it's a hardware graphics card problem. Any ideas? Thank you! (Portege R700 19 L, win7 pro 64)

    Do you have this problem in full-screen-only mode or in full and normal mode?

  • Can't backup windows because Backup has encountered a problem during backup of the C:\Users\marcel\Documents\Youcam file. Error: (the system cannot find the specified file. (0 x 80070002))

    can not backup windows because: Backup has encountered a problem during backup of the C:\Users\marcel\Documents\Youcam file. Error: (the system cannot find the specified file. (0 x 80070002))
    Backup has encountered a problem during backup of the C:\Users\marcel\Documents\Youcam file. Error: (the system cannot find the specified file. (0 x 80070002)).

    Maybe it's because I disabled the camera to prevent other people using the computer?

    [Moved from comments]

    Hi Marrcel,

    Thank you for keeping us posted.

    The issue can be due to turning the camera off. I suggest you to activate the camera and try.

    Please come back for any clarification on this or any issue of Windows. We will be happy to help you.

  • When you save the playlist, error - "Windows Media Player has encountered a problem during the creation or recording of the reading list.".

    When I try to save a playlist, I get an error message "Windows Media Player has encountered a problem during the creation or recording of the reading list.".

    Hello

    • Will there be any changes made prior to this issue?
    • What version of Windows are you using?

    Step 1: I recommend to run the Windows Media Player settings Troubleshooter and check.

    http://Windows.Microsoft.com/en-us/Windows7/open-the-Windows-Media-Player-settings-Troubleshooter

    Step 2: If the problem is to uninstall and reinstall Windows Media Player. Here's how.

    Uninstalling and reinstalling Windows Media Player:

    (A) uninstall Windows Media Player:

    a. go to start and in the search type 'Turn Windows has or not'.

    b. click on "Turn Windows features on or off".

    c. find multimedia and uncheck the brand in the face of Windows Media Player.

    d. restart the computer

    (B) reinstall Windows Media Player:

    a. go to start and in the search type 'Turn Windows has or not'.

    b. click on "Turn Windows features on or off".

    c. find the multimedia functions and place a check mark in front of the Windows Media Player.

    d. restart the computer.

    For more information, see the article below:

    http://Windows.Microsoft.com/en-us/Windows7/turn-Windows-features-on-or-off

Maybe you are looking for

  • Lines appear on the phone display preventive action usage

    A year ago that I had an I phone 6 for my 16th birthday. Only a few weeks later my phone got stolen in the Park, and it took me til October to get a new one. Anyway during April 2016 me and my friends went to knots Berry Farm for the school break and

  • Is it possible to print an e-mail without printing a long list of addresses also?

    I am a recipient of some letters of information whose authors include the e-mail addresses of the recipient in to and CC fields. Sometimes I want to relay the letter to friends who are not online. (Yes, there are still some around). I do this by prin

  • Windows Server backup failed

    Hello We have a problem with our Windows Server backup on our main server. It fails every night and you see disks (5 discs for each day from Monday to Friday) to be offline, even if we can access the data and restore files/folders. We tested another

  • is in any way to connect a laptop z series vaio to a moniter of 27-inch apple?

    I tried a Mini Belkin AV360 converter display the HDMI Port but the display does not illuminate. The vaio says that it cannot find an appropriate driver. Help?

  • Longevity of ink CLI-251XL (drying)?

    Hi all!  I am new to this forum (as you can see). Background for my question: I am very new to inkjet printers - all my printers have been and are, lasers except one.  This one is a dedicated disc printer that uses a motor Lexmark and ink cartridges.