Playing audio to telephony uplink - SetAudioDeviceMode
Login to reply to this topic.
Thu, 2005-01-13 11:50
Joined: 2004-05-21
Forum posts: 47
Hi,

I am trying to play an audio to telephony uplink. I tied the following code.

Code:

  iMdaAudioRecorderUtility->
                       SetAudioDeviceMode( CMdaAudioRecorderUtility::ETelephonyNonMixed);

   // Set maximum volume for playback
   iMdaAudioRecorderUtility->SetVolume( iMdaAudioRecorderUtility->MaxVolume() );
   // Set the playback position to the start of the file
   iMdaAudioRecorderUtility->SetPosition( TTimeIntervalMicroSeconds( 0 ) );

   iMdaAudioRecorderUtility->PlayL();

The problem is, it plays audio both on telephony uplink as well as local speaker. I want it to play only on telephony uplink. Though I set the device mode to ETelephonyNonMixed. I dont know why its not working. Do someone have some clue regarding this. Or is there any alternative.....

Thanks in advance...
Regards

Dushyant Gaur
Software Specialist,
Kodiak Networks,
No 401 Prestige Sigma, 4th Floor
3 Vittal Mallya Road
Bangalore - 560 001
India


Wed, 2005-06-15 10:51
Joined: 2005-03-02
Forum posts: 4
This is a long and sad story...

It seems that SetAudioDeviceMode is completely ignored (at least on a 6600 and a 6630). Quite annoying.

I was trying to record a call without the microphone being mixed in a while ago. As a workaround, I muted the phone by sending key events (a trick which I found on this forum if I remember correctly).

Maybe you can set the speaker's volume to zero using the same trick somehow?
Thu, 2005-06-16 11:47
Joined: 2004-10-06
Forum posts: 8
Hi I am trying to play sound to telephony uplink. You are right the SetAudioDeviceMode is completely ignored on Nokia 6600.

My problem is that my application is playing sound to telephony uplink but on Nokia 6630 it not playing to telephony uplink.
Help me out in this issue its very urgent for me.

Parvinder Jeet Singh

Fri, 2005-06-17 08:34
Joined: 2005-06-09
Forum posts: 174
We were trying to do similar stuff on my last job, and the answer we got from Nokia was basically "you can't do that".

Wed, 2005-06-29 13:20
Joined: 2005-06-28
Forum posts: 7
Yes, they can say it's impossible, but if you use the Voice Recorder preinstalled on Nokia 6630 you can redirect an audio clip on telephony uplink.

Has anyone idea how they can do this?
Wed, 2005-06-29 15:30
Joined: 2005-02-12
Forum posts: 98
Most Interesting thing is that Call cheater application is successfully playing amr file to telephone uplink on Nokia 6630 (not on 6620).So it looks that there is definitely some way to achieve this.
(Worst thing may be that call cheater is able to do that with help of Nokia.bcz i had heard on this forum that 6630 can be made full duplex after a propriatery request to nokia .so it could be a reason to have access some private api).
Is there anyone who knows about it and want to share?
Mon, 2005-07-04 09:51
Joined: 2005-02-08
Forum posts: 42
CallCheater is work in 6681 too from my test

Version of callcheater is support for 6600

that mean in symbian 8.0 do not want to use a new library or may be use a specified lib.

for more callcheater program can converse down sampling rate of file clip too

i try to use other class ( CMdaAudioOutputStream , CMdaAudioPlayerUtility , CMdaAudioRecorderUtility ) but it can not play sound to uplink.

So, is anyone try another way.
Tue, 2005-07-05 06:53
Joined: 2005-06-01
Forum posts: 76
Hi All Audio Uplink Hunters !!!

Same Story for me. Audio playing on both the ends. Some forums suggest that the API

iMdaAudioRecorderUtility->SetAudioDeviceMode( CMdaAudioRecorderUtility::ETelephonyNonMixed);

is broken and will not work. Lets wait for confirmation from the Nokia Guys regarding this issue.

All the Best.

..
KiraN Puranik



Mon, 2005-07-25 17:11
Joined: 2005-07-14
Forum posts: 19
hi every one iam trying to do this omn Series80( 9300) recording word well but playing audio file on uplink channel doesnot work
is any one test this for 9300
if any one have a solution please  forward to me
thanks
Sun, 2007-02-11 04:24
Joined: 2007-02-01
Forum posts: 3
Hi All,
Can you play mp3 to the uplink?
I test on 3230, wav works well but mp3 not.
Could you please give me a hint?

Thank you.

Fri, 2007-04-06 16:28
Joined: 2007-04-06
Forum posts: 2
Hi,
I have found the following lines on  a forum..

iSound = CMdaAudioRecorderUtility::NewL(*this, NULL, 80, (TMdaPriorityPreference)0x00060001);
iSound->SetAudioDeviceMode(CMdaAudioRecorderUtility::ETelephonyNonMixed);

this solved my problem on playing audio to telephony uplink on my nokia 6630

Bye

Alex

copyright 2003-2009 NewLC SARL