Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 48 lines (34 sloc) 0.808 kb
1e1fd33 classes
Steve Dekorte authored
1 //metadoc ALSource copyright Steve Dekorte 2009
2 //metadoc ALSource license BSD revised
3
4 #import "ALObject.h"
5 #import "ALBuffer.h"
6
7 @interface ALSource : ALObject
8 {
9 ALuint alcSource;
10 ALBuffer *buffer;
11 }
12
90bc3ec @jfro * check iphone os/simulator for AVFoundation
jfro authored
13 + (ALSource *)sourceWithPath:(NSString *)path;
1e1fd33 classes
Steve Dekorte authored
14
15 - (void)setBuffer:(ALBuffer *)buffer;
16 - (ALBuffer *)buffer;
17
18 - (void)setVolume:(float)v;
19 - (float)volume;
20
21 - (void)setLooping:(BOOL)aBool;
22 - (BOOL)isLooping;
23
24 - (void)setReferenceDistance:(float)d;
25 - (float)referenceDistance;
26
27 - (void)setPosition:(ALpoint)p;
28 - (ALpoint)position;
29
30 - (void)setVelocity:(ALpoint)p;
31 - (ALpoint)velocity;
32
33 - (void)setDirection:(ALpoint)p;
34 - (ALpoint)direction;
35
36 - (BOOL)play;
37 - (void)pause;
38 - (void)rewind;
39 - (void)stop;
40
41 - (BOOL)isActive;
42 - (BOOL)isInitializing;
43 - (BOOL)isPlaying;
44 - (BOOL)isPaused;
45 - (BOOL)isStopped;
46
47 @end
Something went wrong with that request. Please try again.