changeset 13026:880508a534cd

[gaim-migrate @ 15379] charkins says, "rlaager changed the volume scaling to prevent clipping, but that means 50 isn't normal volume any more" committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 24 Jan 2006 01:26:36 +0000
parents 7d39e6c73dc3
children a0e53af77e49
files src/gtksound.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtksound.c	Tue Jan 24 00:57:37 2006 +0000
+++ b/src/gtksound.c	Tue Jan 24 01:26:36 2006 +0000
@@ -576,9 +576,8 @@
 
 				while((frames_read = afReadFrames(file, AF_DEFAULT_TRACK,
 								buf, buf_frames))) {
-					if(volume != 50)
-						scale_pcm_data(buf, frames_read, &format, intercept,
-									   minclip, maxclip, scale);
+					scale_pcm_data(buf, frames_read, &format, intercept,
+								   minclip, maxclip, scale);
 					if(!ao_play(device, buf, frames_read * bytes_per_frame))
 						break;
 				}