×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Apr 2008
    Posts
    13

    Question Working Sound recording example?

    Anybody know where I could find a working sound recording example?

    The 2nd edition example, or the one in wiki don't work in 3rd FP1 devices.
    The examples work on emulator, but not in any of the 3rd FP1 devices I've tried.

    It seems that the examples claim to open the file, but create empty or 44byte .wav files.
    The CMdaAudioRecorderUtility->Position() keeps returning zero although state is claimed to be ERecording.

    Why doesn't it record?

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,673

    Re: Working Sound recording example?

    If something works on the emulator but fails on the device, you should check the logfile of the emulator (http://wiki.forum.nokia.com/index.php/Epocwind.out) for warnings about missing capabilities.
    Using the microphone (and the camera) requires a capability. Since it is documented in the SDK Help, you can also check that one (and read carefully: although the first one you will notice is MultimediaDD, it is not the one you need).

  3. #3
    Registered User
    Join Date
    Apr 2008
    Posts
    13

    Smile Re: Working Sound recording example?

    Thank you!

    The missing capability was UserEnvironment.
    Again this information was hidden in the SDK documentation maze.

    I updated the wiki site to for "Record audio file example" to include this information.

    Thanks again, wizard_hu_!

Similar Threads

  1. Help! sound recording doesn't work on FP2
    By haploidus in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2006-08-30, 20:23
  2. Problem with Sound class getState()
    By creepymo in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2005-06-20, 18:43
  3. Sound recording on 7650 emulator?
    By samoylik in forum Symbian Tools & SDKs
    Replies: 8
    Last Post: 2003-06-27, 13:24
  4. recording is not working in sound example
    By amitagrawal78 in forum Symbian
    Replies: 1
    Last Post: 2002-10-08, 11:08
  5. recording is not working in sound example
    By amitagrawal78 in forum Symbian User Interface
    Replies: 0
    Last Post: 2002-10-08, 10:21

Posting Permissions

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