[pulseaudio-discuss] [PATCH] volume: Increase PA_SW_VOLUME_SNPRINT_DB_MAX

2014-03-09 Thread Tanu Kaskinen
10 bytes isn't enough for "-123.45 dB", including the terminating null
byte.
---
 src/pulse/volume.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pulse/volume.h b/src/pulse/volume.h
index 7806954..97fc10b 100644
--- a/src/pulse/volume.h
+++ b/src/pulse/volume.h
@@ -216,7 +216,7 @@ char *pa_volume_snprint(char *s, size_t l, pa_volume_t v);
  * any release without warning and without being considered API or ABI
  * breakage. You should not use this definition anywhere where it
  * might become part of an ABI. \since 0.9.15 */
-#define PA_SW_VOLUME_SNPRINT_DB_MAX 10
+#define PA_SW_VOLUME_SNPRINT_DB_MAX 11
 
 /** Pretty print a volume but show dB values. \since 0.9.15 */
 char *pa_sw_volume_snprint_dB(char *s, size_t l, pa_volume_t v);
-- 
1.8.3.1

___
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] On scaling the HRIR in module-virtual-surround-sink

2014-03-09 Thread Niels Ole Salscheider
Hello Alexander,

I wrote that module some time ago. And I had the same problems that you 
describe, i. e. when I tried to avoid clipping in the worst possible case, the 
output was way too quiet.
Therefore I tried to come up with a heuristic and the 1.2 fudge factor seemed 
to work for me. But you are right that it depends on the HRIR and the content 
and I also came across situations in which there was clipping in the meantime.
So this is definitely something that should be fixed.

Kind regards,

Ole
___
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss


[pulseaudio-discuss] sticky output device / cant select profile

2014-03-09 Thread Haarman
Hi,

When configuring my kubuntu 1310 system for hdmi 7.1 audio I run in some
strange behaviour. When I select the the 'Off' entry from the default
profiles in Volume control under the configuration tab the device still
appears under the Output Devices tab and is selectable as a playback device
on the Playback tab.

Sometimes I do not even get a list of profiles when I click on the dropdown
box on the Configuration tab. When I am able to select something else some
options will give this warning in syslog:

pulseaudio[2836]: [pulseaudio] module-zeroconf-publish.c:
avahi_entry_group_add_service_strlst(): Local name collision

Anybody knows how to fix this? Do I need to supply specific output?


thx

hm
___
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss