https://bugs.freedesktop.org/show_bug.cgi?id=97352

--- Comment #6 from Tanu Kaskinen <ta...@iki.fi> ---
(In reply to trondsg+bugzilla+freedesktop from comment #2)
> 1. I think this output should be set to 100% by default.

It is set to 100% by default. I don't know what makes the volume lower on your
system.

> 2. Another problem: all input clients don't get their volume preserved. I
> start jack and set spotify to 100%. Then stop jack, and the volume is set to
> 14% (almost unhearable). I set it to 100% again, then start jack. Volume is
> 14%. Stop jack, volume is 14%. Bug in spotify or pulseaudio?

Do you mean that the stream volume for spotify, not the sink volume, is
behaving strangely? If you set "flat-volumes = no" in
~/.config/pulse/daemon.conf, does the issue go away? (I'd expect Ubuntu Studio
to already have that option set, though. At least normal Ubuntu disables flat
volumes by default.) If that doesn't help, maybe it is a spotify bug. I don't
know what could be messing with the volume in pulseaudio.

> 3. Also, now that I can switch between audio outputs, I notice that when
> running output from audacity through pulseaudio jack sink I get
> better/clearer sound quality than when using pulseaudio analog output. Why?
> This can't be right. The sound file is 32-bit float.
> 
> It seems to be the same with Spotify, although it's more difficult to
> compare because the volume is set to 14% every time I turn jack on/off. I
> have been blaming Spotify for the poor sound quality, maybe it's pulseaudio
> that's the culprit.

There's no resampling done, according to the attached "pactl list" output, so
the only thing that pulseaudio does to the audio is applying volume. The only
explanation for the worse audio quality that I can think of is that jack opens
the device in 32-bit mode, and somehow that has better quality even when
original audio uses only 16 bits.

I tried running jackd myself, and with the default settings it opened the
device in 32-bit mode. What does "cat /proc/asound/card1/pcm0p/sub0" print when
jackd is running? For me it says "format: S32_LE". You can try setting a
matching format (with S32_LE that would be "default-sample-format = s32le") in
~/.config/pulse/daemon.conf. Does that improve the sound quality?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
_______________________________________________
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs

Reply via email to