×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jan 2009
    Posts
    2

    Smile FrameSize in AudioStream example

    Hi,
    I downloaded and invoked (both on the emulator and on the phone) the AudioStream example.
    My question is: I'm using Nokia 6120 classic, and the playing of the recorded sound is bad.
    Sample rate is 8000Hz.
    I think that the problem is with the frame size (it's defined as 4096).
    How do I know what frame size should be for each sample rate per phone, and what are the supported sample rates (at least in 6120)?

    Thanks in advance

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,572

    Re: FrameSize in AudioStream example

    Those two are not closely related to each other. What are you experiencing exactly?
    The sample rate comes from an enumeration, feel free to experiment with higher rates.

  3. #3
    Registered User
    Join Date
    Jan 2009
    Posts
    2

    Smile Re: FrameSize in AudioStream example

    I experience segmented sound (i.e., sound, then nothing, then sound, nothing and so on).
    When I changed the frame size to 1600 (I saw a question about 6120 in another forum), the playback sounds well.
    Is there an API to get the right frame size?

  4. #4
    Registered User
    Join Date
    Nov 2007
    Posts
    6

    Re: FrameSize in AudioStream example

    Hi Everbody;

    I have tested the AudioStream Example program on Nokia 6110 and Nokia 5800. The sound is like feed back loop when i play back the record file.Can i know what are the setting or coding that need to change? Or is it device dependance?

    thks

  5. #5
    Registered User
    Join Date
    Jun 2009
    Posts
    36

    Re: FrameSize in AudioStream example

    Hi,

    I have tried some sample rates and frame sizes configurations, but I only get good results using 8000Hz and 4096 beans.

    Using smaller frame sizes I experiemt segmented sound as ransh2 said, and higher sample rates trhows a "Feature not supported" error on 5800XM.

Similar Threads

  1. Does exist a way to make(prevent) MMAPI Player not to load entire data (audiostream)?
    By ivanavdeyev in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2009-04-29, 16:29
  2. Replies: 1
    Last Post: 2007-12-19, 13:46
  3. AudioStream Example
    By alikhairat in forum Symbian Media (Closed)
    Replies: 10
    Last Post: 2007-07-31, 12:16
  4. Replies: 2
    Last Post: 2004-04-20, 16:45

Posting Permissions

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