Skip to content

Commit bdb24b0

Browse files
use mix with others and route to speaker
1 parent bbc4486 commit bdb24b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

QuietModemKit/QMFrameReceiver.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ - (id)initWithConfig:(QMReceiverConfig *)conf {
4747
return nil;
4848
}
4949

50-
[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayAndRecord error: NULL];
50+
[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayAndRecord withOptions:(AVAudioSessionCategoryOptionDefaultToSpeaker|AVAudioSessionCategoryOptionMixWithOthers) error: NULL];
5151

5252

5353
self = [super init];

0 commit comments

Comments
 (0)