×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    Apr 2007
    Location
    Netherlands
    Posts
    115

    Audio-tone output device

    When using CMdaAudioToneUtility::PrepareToPlayTone(...) the tone is played through the "external" public speaker.
    When using CMdaAudioToneUtility::PrepareToPlayDTMFString(...) the tones are played through the "internal" ear speaker.

    1) Is there any way to control this? I need to play a tone through the ear speaker.

    2) Does anyone know the meaning of all the bits of the priority bitmask used in CMdaAudioToneUtility::SetPriority(...) ? The API only mentions 4 possible values, but when using the Audio Proxy Server, you need stuff like 0x05220001.

    3) Wth is a fixed (pre-defined) tone sequence? Where do they come from? CMdaAudioToneUtility::FixedSequenceCount() returns 0 on my device.
    Last edited by dracula78; 2008-01-09 at 10:46.
    IDE: Carbide.c++ 1.3 / 2.0beta
    SDK: S60 3rd edition MP / FP1
    V2.10.013 (15-09-06) @ Nokia N91
    V20.0.058 (21-10-06) @ Nokia N93
    V30.0.015 (15-07-08) @ Nokia N95

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

    Re: Audio-tone output device

    The audio routing has been broken as long as I can remember, thus you can not really control where the audio is played to.

  3. #3
    Regular Contributor
    Join Date
    Apr 2007
    Location
    Netherlands
    Posts
    115

    Re: Audio-tone output device

    Quote Originally Posted by symbianyucca View Post
    The audio routing has been broken as long as I can remember, thus you can not really control where the audio is played to.
    That renders the whole thing pretty useless...
    Any idea about the priority bit flags?
    IDE: Carbide.c++ 1.3 / 2.0beta
    SDK: S60 3rd edition MP / FP1
    V2.10.013 (15-09-06) @ Nokia N91
    V20.0.058 (21-10-06) @ Nokia N93
    V30.0.015 (15-07-08) @ Nokia N95

  4. #4
    Regular Contributor
    Join Date
    Apr 2007
    Location
    Netherlands
    Posts
    115

    Re: Audio-tone output device

    Also, when trying to play a tone while streaming (full-duplex) audio I get an error -21 "Access denied" in MatoPlayComplete(). What does this mean? Should I start guessing priority flags, or is that unrelated? I can play tones in my test project without a problem, well, except for the random choice of output device.

    Existing forum threads about the predefined sequences, like this (2002) and this (2004), seem to confirm this is loooong forgotten API.
    IDE: Carbide.c++ 1.3 / 2.0beta
    SDK: S60 3rd edition MP / FP1
    V2.10.013 (15-09-06) @ Nokia N91
    V20.0.058 (21-10-06) @ Nokia N93
    V30.0.015 (15-07-08) @ Nokia N95

  5. #5
    Super Contributor
    Join Date
    Jun 2005
    Location
    Berlin
    Posts
    721

    Re: Audio-tone output device

    Quote Originally Posted by dracula78 View Post
    Also, when trying to play a tone while streaming (full-duplex) audio I get an error -21 "Access denied" in MatoPlayComplete(). What does this mean? Should I start guessing priority flags, or is that unrelated? I can play tones in my test project without a problem, well, except for the random choice of output device.

    Existing forum threads about the predefined sequences, like this (2002) and this (2004), seem to confirm this is loooong forgotten API.
    have you added the capability for Full-duplex?

Similar Threads

  1. WLAN Connection from Emulator
    By capri07 in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2007-12-13, 05:13
  2. Pairing E61 with non audio device
    By LeChat in forum Bluetooth Technology
    Replies: 0
    Last Post: 2007-10-01, 10:08
  3. Is there other way get the device audio capability?
    By steveyzhang in forum Symbian Media (Closed)
    Replies: 0
    Last Post: 2006-03-15, 01:07
  4. playing Tone audio hangs 7650
    By ajay_sipl in forum Mobile Java General
    Replies: 0
    Last Post: 2002-10-30, 01:45
  5. Analogue Audio Output from Nokia 30
    By Nokia_Archived in forum Nokia M2M
    Replies: 1
    Last Post: 2002-05-20, 17:44

Posting Permissions

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