Bug 6850 - SoftSqueeze won't play FLAC files with positive Replay Gain values
: SoftSqueeze won't play FLAC files with positive Replay Gain values
Status: RESOLVED WONTFIX
Product: Logitech Media Server
Classification: Unclassified
Component: Softsqueeze
: 7.0
: PC Windows XP
: -- normal with 1 vote (vote)
: Future
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-29 06:34 UTC by Nigel Birch
Modified: 2019-01-25 11:58 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nigel Birch 2008-01-29 06:34:44 UTC
As requested in bug 4391, I've created a new bug for this.

The problem is described in comment 13 of bug 4391.  Playing a FLAC file that has a positive gain value larger than +6.0206 dB, when volume adjustment is enabled, causes SoftSqueeze v3.6 to give the following error:

8    [AudioMixer-0] WARN  javasound  - audio mixer exception
java.lang.IllegalArgumentException: Requested value 17.360008 exceeds allowable
maximum value 6.0206.
        at javax.sound.sampled.FloatControl.setValue(Unknown Source)
        at com.sun.media.sound.DirectAudioDevice$DirectDL$Gain.setValue(Unknown
Source)
        at
org.titmuss.softsqueeze.audio.AudioMixer.setVolume(AudioMixer.java:198)
        at
org.titmuss.softsqueeze.audio.AudioMixer.bufferEvent(AudioMixer.java:639)
        at org.titmuss.softsqueeze.audio.AudioBuffer.read(AudioBuffer.java:445)
        at
org.titmuss.softsqueeze.audio.AudioMixer.playSamples(AudioMixer.java:488)
        at org.titmuss.softsqueeze.audio.AudioMixer.run(AudioMixer.java:421)
        at java.lang.Thread.run(Unknown Source)

and the track not to be played.  Disabled volume adjustment allows the track to play OK.  An example track is comment 3 of bug 4391.

Bug 5119 may be related to this (it's about tracks with positive gain values and clipping)?

Thanks,
Nigel.
Comment 1 Richard Titmuss 2008-03-27 09:25:32 UTC
This won't be fixed in 7.0.1.
Comment 2 Alan Young 2011-11-06 23:23:09 UTC
Unassigned bugs cannot have a priority.