×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    5

    keypad tones and audio stream recording

    Does anyone know how to turn off keypad tones programmatically within a Symbian app?

    I have an app which records audio using the CMdaAudioInputStream. All works well until a key is pressed, after which my CMdaAudioInputStream object ceases to work and the app has to be restarted.

    It seems that the keypad tone that accompanies a key press is the cause of the problem - I have tried manually turning off the keypad tones and things work properly again, but it would be nice to be able to turn them off programmatically.

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: keypad tones and audio stream recording

    maybe you could try this inside your appui:

    KeySounds()->PushContextL(R_AVKON_SILENT_SKEY_LIST);

    yucca

  3. #3
    Registered User
    Join Date
    Jun 2006
    Posts
    5

    Re: keypad tones and audio stream recording

    Thanks yucca, I will get around to this in the next few days. I'll let you know if it works.

  4. #4
    Registered User
    Join Date
    Jun 2003
    Location
    Moscow, Russia
    Posts
    11

    Re: keypad tones and audio stream recording

    thanks, it works:

    KeySounds()->PushContextL(R_AVKON_SILENT_SKEY_LIST);
    ...
    KeySounds()->PopContext ();

Similar Threads

  1. N7200, Ringing tone question (as audio clip)..
    By axishift in forum General Development Questions
    Replies: 0
    Last Post: 2004-12-20, 02:48

Posting Permissions

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