mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
24 lines
547 B
Objective-C
24 lines
547 B
Objective-C
//
|
|
// AudioHelper.h
|
|
// linphone
|
|
//
|
|
// Created by REIS Benjamin on 01/03/2017.
|
|
//
|
|
//
|
|
|
|
#ifndef AudioHelper_h
|
|
#define AudioHelper_h
|
|
|
|
#import <AVFoundation/AVAudioSession.h>
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@interface AudioHelper : NSObject
|
|
|
|
+ (NSArray *)bluetoothRoutes;
|
|
+ (AVAudioSessionPortDescription *)bluetoothAudioDevice;
|
|
+ (AVAudioSessionPortDescription *)builtinAudioDevice;
|
|
+ (AVAudioSessionPortDescription *)speakerAudioDevice;
|
|
+ (AVAudioSessionPortDescription *)audioDeviceFromTypes:(NSArray *)types;
|
|
@end
|
|
|
|
#endif /* AudioHelper_h */
|