Changed canonical format to fixed point for all platforms. Added metering view on ExampleAppMac

This commit is contained in:
Thong Nguyen
2014-02-02 14:19:12 +00:00
parent 4df5a84569
commit 1c78dc5867
6 changed files with 161 additions and 21 deletions
+1 -1
View File
@@ -181,7 +181,7 @@
statusLabel.text = audioPlayer.state == STKAudioPlayerStateBuffering ? @"buffering" : @"";
CGFloat newWidth = 320 * (([audioPlayer peakPowerInDecibelsForChannel:1] + 60) / 60);
CGFloat newWidth = 320 * (([audioPlayer averagePowerInDecibelsForChannel:1] + 60) / 60);
meter.frame = CGRectMake(0, 460, newWidth, 20);
}