14 #import <Foundation/Foundation.h> 15 #include <AudioToolbox/AudioToolbox.h> 36 - (id)initWithSampleRate:(NSInteger)sampleRate frameSize:(NSInteger)frameSize maxFramesToBuffer:(NSInteger)maxFramesToBuffer audioFormat:(
AudioPlayerFormat)audioFormat;
68 - (void)queueAudioFrames:(NSData *)audioFrames;
70 @property (weak, nonatomic) id<CjAudioPlayerDelegate> delegate;
81 - (void)audioPlayedVolumePercentage:(
float)volumePercentage;
Definition: CjAudioPlayer.h:27
void stop()
Stop the audio player.
BOOL isMute()
Check if the audio player is mute.
Definition: CjAudioPlayer.h:74
AudioPlayerFormat
Audio format used.
Definition: CjAudioPlayer.h:20
void mute()
Mute the audio player.
void start()
Start the audio player.
void unmute()
Unmute the audio player.