diff options
author | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-07-24 17:08:37 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-07-24 17:08:37 +0200 |
commit | d5e0af6abf7f9021094a55e00d885d05a209bef4 (patch) | |
tree | 19d91e3b6727050fc5253fdae1735cb9c0196f22 /src/player.h | |
parent | fbb8b7d79341d077fae3c4d2d609ca3b9059e160 (diff) | |
download | pianobar-d5e0af6abf7f9021094a55e00d885d05a209bef4.tar.gz pianobar-d5e0af6abf7f9021094a55e00d885d05a209bef4.tar.bz2 pianobar-d5e0af6abf7f9021094a55e00d885d05a209bef4.zip |
Reduce cpu load produced by replaygain
It's not necessary to re-compute the scale factor as it will be the same every
time.
Diffstat (limited to 'src/player.h')
-rw-r--r-- | src/player.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/player.h b/src/player.h index 9d0908b..94be1a4 100644 --- a/src/player.h +++ b/src/player.h @@ -42,6 +42,7 @@ struct aacPlayer { unsigned long samplerate; unsigned char channels; float gain; + float scale; /* audio out */ ao_device *audioOutDevice; char *url; |