Summary: | RAOP sets volume to 100% when connecting | ||
---|---|---|---|
Product: | PulseAudio | Reporter: | Fina Wilke <fina> |
Component: | modules | Assignee: | pulseaudio-bugs |
Status: | RESOLVED MOVED | QA Contact: | pulseaudio-bugs |
Severity: | normal | ||
Priority: | medium | CC: | lennart |
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | connection log file |
Description
Fina Wilke
2018-05-19 14:33:01 UTC
Excuse me this actually affects RAOP (v1), an not (or at least not to my knowledge) RAOP2. This can be reproduced with a Denon AVR (X1400H). Looking into this further it is interesting is that the AVR actually has the correct volume setting but seems to be getting a louder signal from pulse itself. It does correct itself when moving audio controls a bit but could it be possible that the volume actually changes in two places at once? Like reducing the signal volume AND changing the receiver volume, of which one resets to 100%? Created attachment 139645 [details]
connection log file
The raop sink seems to do some weird things with the volume... The log shows that at initialization the raop sink is told to set the volume to 17148 (-34.94 dB), but the raop sink adjusts that to 32449 (-18.32 dB) and does the rest (-16,62 dB) in software. I read the code, and I don't understand the logic behind splitting the volume to half hardware and half software. This shouldn't matter, though. The end result should be correct anyway. I have limited interest in RAOP myself, but I'll send email to Colin Leroy and Hajime Fujita in case they want to help (I'm not sure if they have RAOP v1 hardware, though). Maybe they'll comment here, maybe not... I'm not sure how much I can help, but I got confused by looking the log you attached. It looks to me that your device is actually using raop2 (UDP version). For example, log reads "raop-client.c: Connection established (UDP;control_port=38257;timing_port=56145)", which would have been "Connection established (TCP)" if raop1 (TCP) was used. I don't understand the logic behind "splitting" hardware volume and software volume either. Maybe that part was not written by me or I totally forgot what I thought in the past. It may very well be possible that I use v2, I don't really know how to find out for sure. I thought if the log said raop and not raop2 or something along these lines it would be v1. But that might have been a misunderstanding on my part. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/481. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.