×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Feb 2011
    Posts
    21

    Redirecting phone's player/tuner sound to loudspeaker if headsets plugged in

    Hi,
    I'm developing an application which needs to redirect the phone's sound player/tuner's sound to the loudspeaker, even if the headphones are plugged in.
    I'm trying to create an object of CAudioOutput and call SetAudioOutputL( TAudioOutputPreference ePreference) over it. However, to create an object of CAudioOutput, I need to have a reference of CMdaAudioPlayerUtility, CMdaAudioRecorderUtility, CMdaAudioOutputStream or others. How can I get access to the phones default sound/tuner player to pass this across as reference, for the above method to work?

    Also, is there another way to set some global setting to redirect the output to the loudspeaker even if the headsets are plugged in?

    Thanks

  2. #2
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,089

    Re: Redirecting phone's player/tuner sound to loudspeaker if headsets plugged in

    well the object creation of CAudioOutput() is asking for a reference to CMdaAudioPlayerUtility, because it expects that the audio player is also implemented in the application as well.

  3. #3
    Registered User
    Join Date
    Feb 2011
    Posts
    21

    Re: Redirecting phone's player/tuner sound to loudspeaker if headsets plugged in

    I do not wish to create a new CMdaAudioPlayerUtility object. I wish to re-direct the phone's media-player/tuners sound to the loudspeaker(the player the phone uses when you browse the music folder) or the phones default tuner.

    I'm sorry if I'm not clear, I'm new to symbian development

  4. #4
    Registered User
    Join Date
    Oct 2004
    Posts
    89

    Re: Redirecting phone's player/tuner sound to loudspeaker if headsets plugged in

    Hi

    In case you cannot find any solution, you can check with Forum Nokia's Paid Technical Support Team.

    -halderp

Similar Threads

  1. Stop sound recording if another application wants to play sound
    By pedramz in forum Symbian Media (Closed)
    Replies: 3
    Last Post: 2009-07-14, 15:17
  2. play sound in the loudspeaker when a earpiece is connected
    By alexpr in forum Symbian Media (Closed)
    Replies: 3
    Last Post: 2007-10-04, 16:55
  3. Replies: 0
    Last Post: 2006-09-06, 05:47
  4. Replies: 4
    Last Post: 2006-04-19, 11:45
  5. How to player.start() two sound in N6600 with kjava??
    By ratengit in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2005-05-20, 16:05

Posting Permissions

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