/Classes/OpenALAudioTrackSample.h
C Header | 28 lines | 12 code | 5 blank | 11 comment | 0 complexity | 5f20a403735b1aa0242a4c7ffffc4c3a MD5 | raw file
Possible License(s): Apache-2.0
1// 2// OpenALAudioTrackSample.h 3// ObjectAL 4// 5// Created by Karl Stenerud on 10-10-09. 6// 7 8#import <Foundation/Foundation.h> 9#import "ObjectAL.h" 10 11 12/** 13 * This is a copy of the sample code presented in the ObjectAL documentation. 14 */ 15@interface OpenALAudioTrackSample : NSObject 16{ 17 // Sound Effects 18 ALDevice* device; 19 ALContext* context; 20 ALChannelSource* channel; 21 ALBuffer* shootBuffer; 22 ALBuffer* explosionBuffer; 23 24 // Background Music 25 OALAudioTrack* musicTrack; 26} 27 28@end