#include <OOALBufferedSound.h>
Definition at line 30 of file OOALBufferedSound.h.
◆ dealloc
◆ initWithDecoder:
Reimplemented from OOSound.
Definition at line 1 of file OOALBufferedSound.m.
51{
52 BOOL OK = YES;
53
56
57 if (OK)
58 {
59 self = [super init];
60 if (
nil ==
self) OK = NO;
61 }
62
63 if (OK)
64 {
69 }
70
71 if (!OK)
72 {
73 [self release];
75 }
76 return self;
77}
BOOL readCreatingBuffer:withFrameCount:(char **outBuffer,[withFrameCount] size_t *outSize)
◆ name
◆ soundBuffer
Reimplemented from OOSound.
Definition at line 1 of file OOALBufferedSound.m.
81{
82 ALuint buffer;
83 ALint error;
84 OOAL(alGenBuffers(1,&buffer));
85 if ((error = alGetError()) != AL_NO_ERROR)
86 {
88 return 0;
89 }
90 else
91 {
93 {
95 }
96 else
97 {
99 }
100 return buffer;
101 }
102}
#define OOLog(class, format,...)
static NSString *const kOOLogSoundLoadingError
◆ _buffer
◆ _name
◆ _sampleRate
◆ _size
◆ _stereo
The documentation for this class was generated from the following files: