JubeatPlus 3.9.11
Loading...
Searching...
No Matches
SePlayer.h
Go to the documentation of this file.
1
14
15#import <Foundation/Foundation.h>
16
17NS_ASSUME_NONNULL_BEGIN
18
25@interface SePlayer : NSObject
26
37- (instancetype)initWithPath:(nullable NSString *)path;
38
43- (void)sePlay;
44
53- (void)terminate;
54
55@end
56
57NS_ASSUME_NONNULL_END
58
59// code: language=Objective-C
60// kate: hl Objective-C;
61// vim: set ft=objc :
Loads one audio file into an OpenAL buffer and plays it on demand.
Definition SePlayer.h:26
void terminate()
Stops playback and tears the whole OpenAL stack down.
Definition SePlayer.m:73
void sePlay()
Plays the loaded sound from the start.
Definition SePlayer.m:68