JubeatPlus 3.9.11
Loading...
Searching...
No Matches
SEManager.h
Go to the documentation of this file.
1
16
17#import <AVFoundation/AVFoundation.h>
18#import <Foundation/Foundation.h>
19
20NS_ASSUME_NONNULL_BEGIN
21
25@interface SEManager : NSObject <AVAudioPlayerDelegate>
26
32- (instancetype)init;
33
42- (void)play:(nullable AVAudioPlayer *)player;
43
48- (void)stopAll;
49
59- (void)audioPlayerDidFinishPlaying:(AVAudioPlayer *)player successfully:(BOOL)flag;
60
67- (void)audioPlayerDecodeErrorDidOccur:(AVAudioPlayer *)player error:(nullable NSError *)error;
68
78- (void)audioPlayerBeginInterruption:(AVAudioPlayer *)player;
79
80@end
81
82NS_ASSUME_NONNULL_END
83
84// code: language=Objective-C
85// kate: hl Objective-C;
86// vim: set ft=objc :
Starts sound effects and stops them together.
Definition SEManager.h:25
instancetype init()
Builds the manager with room for thirty-two players.
Definition SEManager.m:11
void stopAll()
Stops everything currently playing and forgets it.
Definition SEManager.m:30