From d5e0af6abf7f9021094a55e00d885d05a209bef4 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Thu, 24 Jul 2008 17:08:37 +0200 Subject: Reduce cpu load produced by replaygain It's not necessary to re-compute the scale factor as it will be the same every time. --- src/player.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/player.h') 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; -- cgit v1.2.3