mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
17 lines
335 B
C
17 lines
335 B
C
|
#import <Foundation/Foundation.h>
|
||
|
|
||
|
/**
|
||
|
* Interfaces with OS to control which hardware devices audio is routed to
|
||
|
**/
|
||
|
|
||
|
@interface AudioRouter : NSObject
|
||
|
|
||
|
|
||
|
+(void) restoreDefaults;
|
||
|
+(void) routeAllAudioToInteralSpeaker;
|
||
|
+(void) routeAllAudioToExternalSpeaker;
|
||
|
|
||
|
+(BOOL) isOutputRoutedToSpeaker;
|
||
|
+(BOOL) isOutputRoutedToReciever;
|
||
|
@end
|