//
//  IBTAudioController.h
//  Cruiser
//
//  Created by Xummer on 4/17/15.
//  Copyright (c) 2015 Xummer. All rights reserved.
//

#import "IBTObject.h"

@interface IBTAudioController : IBTObject

+ (IBTAudioController *)sharedController;

+ (void)unload;

- (id)init;
- (void)setup;

- (BOOL)setAVAudioSessionCategory:(NSString*)category;

//switch to play only mode, used when muted speaking
- (BOOL)switchToPlaybackMode;

//switch to play and record mode, used when user is speaking and listenning
- (BOOL)switchToPlayAndRecordMode;

//reset to default
- (void)reset;

- (BOOL)activate;
- (BOOL)deactivate;

@end
