Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User mots_g's Avatar
    Join Date
    Feb 2011
    Posts
    21
    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 vineet.jain's Avatar
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    3,840
    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 mots_g's Avatar
    Join Date
    Feb 2011
    Posts
    21
    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 halderp's Avatar
    Join Date
    Oct 2004
    Posts
    89
    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. How to check if phone's startup is complete?
    By jari_k in forum Symbian C++
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved