00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #import "AMControl.h"
00011 #import "AMSoundInstance.h"
00012 #import "fmod.hpp"
00013 #import "fmod_errors.h"
00014 #import <Foundation/Foundation.h>
00015
00016
00017
00018 static const NSString *const AM_SOUND_CONTROL_ATTRIBUTE_PITCH = @"pitch";
00019 static const NSString *const AM_SOUND_CONTROL_ATTRIBUTE_RATE = @"rate";
00020
00022 enum AMSoundControlAttributes {
00023 AM_SND_PITCH = 0,
00024 AM_SND_RATE
00025 };
00026
00027
00031 @interface AMSoundControl : AMControl <NSCopying> {
00032
00033 int pitch;
00034 int rate;
00035
00036
00037 float baseFrequency;
00038 }
00039
00044 @property (nonatomic) int pitch;
00045
00049 @property (nonatomic) int rate;
00050
00051
00056 - (void)applySettingsToInstance:(id)_instance;
00057
00058 @end