Gentler rate scaling

This commit is contained in:
Matthias Neeracher 2008-07-05 14:04:01 +00:00
parent 16bbada3dc
commit 0a71cc8cae

View File

@ -566,8 +566,8 @@
{ {
const float kMaxRate = 8.0f; const float kMaxRate = 8.0f;
const float kMinRate = 0.2f; const float kMinRate = 0.2f;
const float kUpScale = 1.2f; const float kUpScale = 1.1f;
const float kDownScale = 0.8f; const float kDownScale = 1.0f/kUpScale;
bool nowPlaying = VLSoundOut::Instance()->Playing(); bool nowPlaying = VLSoundOut::Instance()->Playing();
switch (int tag = [sender tag]) { switch (int tag = [sender tag]) {
case 0: // Play case 0: // Play
@ -666,3 +666,4 @@
} }
@end @end