[gaim-migrate @ 15379]

Tue, 24 Jan 2006 01:26:36 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Tue, 24 Jan 2006 01:26:36 +0000
changeset 13026
c83744c9ccfc
parent 13025
824f4aef4e33
child 13027
82c4ba9d1510

[gaim-migrate @ 15379]
charkins says, "rlaager changed the volume scaling to prevent clipping,
but that means 50 isn't normal volume any more"

src/gtksound.c file | annotate | diff | comparison | revisions
--- 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;
 				}

mercurial