New AudioGraph creation code mostly done. EQ working on iOS and OSX

This commit is contained in:
Thong Nguyen
2014-02-10 13:25:17 +00:00
parent a58269fcdb
commit ce30f0de57
4 changed files with 47 additions and 58 deletions
+1 -3
View File
@@ -33,9 +33,7 @@
audioPlayer = [[STKAudioPlayer alloc] initWithOptions:(STKAudioPlayerOptions){ .flushQueueOnSeek = YES, .enableVolumeMixer = NO, .equalizerBandFrequencies = {50, 100, 200, 400, 800, 1600, 2600, 16000} }];
audioPlayer.meteringEnabled = YES;
audioPlayer.volume = 1.0;
[audioPlayer setGain:24 forEqualizerBand:0];
audioPlayer.volume = 0.1;
AudioPlayerView* audioPlayerView = [[AudioPlayerView alloc] initWithFrame:self.window.bounds];