# HG changeset patch # User Mark Doliner # Date 1138065996 0 # Node ID 880508a534cd3b041e82d4eaad8c6b3be5df6c57 # Parent 7d39e6c73dc3057a453a1074e915e6f8f58d50b5 [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 diff -r 7d39e6c73dc3 -r 880508a534cd src/gtksound.c --- 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; }