×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    77

    problem with playing sound with Nokia UI API

    Hi All,
    I'm trying play wav files with Nokia UI api. Most of the wav files are playing nicely but for some of the files are giving error as follows. and more over these file are playing nice with winamp.
    all the files i tried are between 2kb to 5kb.

    Nokia_Series_60_MIDP_Concept_SDK_Beta_0.1: MirrorProtocolParser.invokeMethod(Method, Object[]): Failure!
    Nokia_Series_60_MIDP_Concept_SDK_Beta_0.1: --- Error while invoking reflected method : setGain
    Nokia_Series_60_MIDP_Concept_SDK_Beta_0.1: --- Target exception was:java.lang.NullPointerException
    Nokia_Series_60_MIDP_Concept_SDK_Beta_0.1: java.lang.NullPointerException
    Nokia_Series_60_MIDP_Concept_SDK_Beta_0.1: at com.nokia.phone.sdk.concept.mirrors.mid.sound.tones.WavTone.setGain([DashoPro-V1.32-013000])
    Nokia_Series_60_MIDP_Concept_SDK_Beta_0.1: at com.nokia.phone.sdk.concept.mirrors.mid.sound.SoundMirror3.setGain([DashoPro-V1.32-013000])
    Nokia_Series_60_MIDP_Concept_SDK_Beta_0.1: at java.lang.reflect.Method.invoke(Native Method)
    Nokia_Series_60_MIDP_Concept_SDK_Beta_0.1: at s60midpn.a([DashoPro-V1.32-013000])
    Nokia_Series_60_MIDP_Concept_SDK_Beta_0.1: at s60midpn.a([DashoPro-V1.32-013000])
    Nokia_Series_60_MIDP_Concept_SDK_Beta_0.1: at s60midpm.run([DashoPro-V1.32-013000])
    Nokia_Series_60_MIDP_Concept_SDK_Beta_0.1: at java.lang.Thread.run(Unknown Source)
    Nokia_Series_60_MIDP_Concept_SDK_Beta_0.1: java.lang.NullPointerException
    Nokia_Series_60_MIDP_Concept_SDK_Beta_0.1: at com.nokia.phone.sdk.concept.mirrors.mid.sound.tones.WavTone.play([DashoPro-V1.32-013000])
    Nokia_Series_60_MIDP_Concept_SDK_Beta_0.1: at com.nokia.phone.sdk.concept.mirrors.mid.sound.SoundMirror3.play([DashoPro-V1.32-013000])
    Nokia_Series_60_MIDP_Concept_SDK_Beta_0.1: at java.lang.reflect.Method.invoke(Native Method)
    Nokia_Series_60_MIDP_Concept_SDK_Beta_0.1: at s60midpn.a([DashoPro-V1.32-013000])
    Nokia_Series_60_MIDP_Concept_SDK_Beta_0.1: at s60midpn.a([DashoPro-V1.32-013000])
    Nokia_Series_60_MIDP_Concept_SDK_Beta_0.1: at s60midpm.run([DashoPro-V1.32-013000])
    Nokia_Series_60_MIDP_Concept_SDK_Beta_0.1: at java.lang.Thread.run(Unknown Source)
    Nokia_Series_60_MIDP_Concept_SDK_Beta_0.1: MirrorProtocolParser.invokeMethod(Method, Object[]): Failure!
    Nokia_Series_60_MIDP_Concept_SDK_Beta_0.1: --- Error while invoking reflected method : play
    Nokia_Series_60_MIDP_Concept_SDK_Beta_0.1: --- Target exception was:java.lang.NullPointerException


    regards,
    Sridhar

  2. #2
    Registered User
    Join Date
    May 2003
    Location
    UK
    Posts
    8
    I've noticed that there are two different WAV file formats.
    The 60 series emulator will play the 'PCM' format but not
    the 'windows ADPCM' format, which gives an error just like that
    described, you can check the format of a WAV file on the
    file properties.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×