ccutebenbi / siphon

Automatically exported from code.google.com/p/siphon
0 stars 0 forks source link

On type number on keypad not sound is played #281

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open Siphon, dial a number and make a SIP call;
2. Cancel the call;
3. Type any number on the pad.

What is the expected output? What do you see instead?
Need output audio on loudspeaker. After make a call, the sound only play in
"ear speaker".

What version of the product are you using? On what operating system?
2.0.9 (svn rev 503), iPhone 3G OS 3.0

To solve this issue, add follow lines:
UInt32 category = kAudioSessionCategory_UserInterfaceSoundEffects;
AudioSessionSetProperty(kAudioSessionProperty_AudioCategory,
sizeof(UInt32), &category);

Before:
  AudioServicesPlaySystemSound(sounds[_downKey]);

On PhonePad.m:297

This occour because in OS 3.0 we need start AudioSession with category
PlayAndCapture in ipodsound.c (PJSIP).

Original issue reported on code.google.com by jrbasso on 20 Aug 2009 at 6:33

GoogleCodeExporter commented 8 years ago
I don't reproduce your problem in Siphon 2.0.8 and on Siphon 2.1.0.
You can verify I have uploaded RC 1 since this afternoon.

http://code.google.com/p/siphon/downloads/list

Original comment by samuelv0...@gmail.com on 3 Sep 2009 at 5:39

GoogleCodeExporter commented 8 years ago

Original comment by samuelv0...@gmail.com on 5 Sep 2009 at 11:38