Re: [pulseaudio-discuss] bitstream hd formats over hdmi?

2015-02-13 Thread Alexander E. Patrakov
to always use PCM). And they are staffed better than us. -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] Cracky sound on some applications (underrun occurred)

2015-02-11 Thread Alexander E. Patrakov
default-fragment-size-msec = 5 -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

[pulseaudio-discuss] [PATCH] loopback: don't reuse low-numbered message IDs

2015-02-11 Thread Alexander E. Patrakov
Signed-off-by: Alexander E. Patrakov patra...@gmail.com --- src/modules/module-loopback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/module-loopback.c b/src/modules/module-loopback.c index 7e2b92a..3b0d68d 100644 --- a/src/modules/module-loopback.c +++ b/src

Re: [pulseaudio-discuss] [PATCH] loopback: don't reuse low-numbered message IDs

2015-02-11 Thread Alexander E. Patrakov
11.02.2015 21:50, Alexander E. Patrakov wrote: Signed-off-by: Alexander E. Patrakov patra...@gmail.com Forgot to say that this has been reported by Georg Chini in http://lists.freedesktop.org/archives/pulseaudio-discuss/2015-February/023120.html: Something else seems to call one

Re: [pulseaudio-discuss] [RFC PATCH 0/6] LFE filter

2015-02-10 Thread Alexander E. Patrakov
cannot change the profile of a port that is not currently active. Two versions of the enitiy-relationship diagram (with and without the module) must thus be maintained in one's mind. -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list

Re: [pulseaudio-discuss] [PATCH 1/6] lfe-filter: Import code from the Chrome OS audio server

2015-02-09 Thread Alexander E. Patrakov
10.02.2015 01:57, David Henningsson wrote: Thanks for the review! On 2015-02-01 15:37, Alexander E. Patrakov wrote: If adding proper comments to all the math is a too-hard requirement, then, in v2, I'd suggest to (temporarily?) squash patches 1 and 2 for easier review, and to remove all unused

Re: [pulseaudio-discuss] [PATCH v4] Make module loopback honor requested latency

2015-02-08 Thread Alexander E. Patrakov
08.02.2015 13:21, Alexander E. Patrakov wrote: 08.02.2015 02:14, Georg Chini wrote: Sorry, but I do not think the smoother is the problem here. I do get quite reliable latency results. The problem is really (if there is a problem at all) the execution time of the code

Re: [pulseaudio-discuss] [PATCH v4] Make module loopback honor requested latency

2015-02-08 Thread Alexander E. Patrakov
. For USB devices, the granularity of position reports is 6 ms (for large period sizes), but for others, it may be up to one period size. -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http

Re: [pulseaudio-discuss] [PATCH v4] Make module loopback honor requested latency

2015-02-08 Thread Alexander E. Patrakov
without this term, maybe it is a good idea to delete it? -- Alexander E. Patrakov From 3fc2d409dcee3d1e9a7ad5df5ee06d3e1457f7e0 Mon Sep 17 00:00:00 2001 From: Alexander E. Patrakov patra...@gmail.com Date: Sun, 8 Feb 2015 23:14:12 +0500 Subject: [PATCH] Use a less jittery sample rate in calculations

Re: [pulseaudio-discuss] [PATCH v4] Make module loopback honor requested latency

2015-02-08 Thread Alexander E. Patrakov
08.02.2015 22:43, Georg Chini wrote: On 08.02.2015 16:52, Alexander E. Patrakov wrote: OK, then I think there was some misunderstanding on my side. Could you please post some log lines with two USB devices to completely clear this up? I want logs without the stop criterion (which is properly

Re: [pulseaudio-discuss] [PATCH v4] Make module loopback honor requested latency

2015-02-08 Thread Alexander E. Patrakov
0.75% due to min_cycles */ +new_rate = base_rate * (1.0 + latency_difference / min_cycles / u-adjust_time) + 0.5; What's the aim here with min_cycles? Why not just clamp new_rate post-factum to 0.75% vicinity of base_rate, as this is done in the 2‰ case? -- Alexander E. Patrakov

Re: [pulseaudio-discuss] [PATCH v4] Make module loopback honor requested latency

2015-02-08 Thread Alexander E. Patrakov
08.02.2015 18:50, Georg Chini wrote: On 08.02.2015 14:03, Alexander E. Patrakov wrote: 08.02.2015 17:35, Georg Chini wrote: I think there is some misunderstanding. Let me repeat in a different way. The smoother works perfectly (both for timer-based scheduling and for the needs of your

Re: [pulseaudio-discuss] [PATCH v4] Make module loopback honor requested latency

2015-02-08 Thread Alexander E. Patrakov
09.02.2015 00:35, Georg Chini пишет: On 08.02.2015 20:30, Georg Chini wrote: On 08.02.2015 19:54, Alexander E. Patrakov wrote: 01.02.2015 03:43, Georg Chini wrote: +/* Minimum number of adjust times + 1 needed to adjust at 0.75% deviation from base rate */ +min_cycles = (double)abs

Re: [pulseaudio-discuss] [PATCH v4] Make module loopback honor requested latency

2015-02-07 Thread Alexander E. Patrakov
currently have on the topic, and I have not reviewed all the fine details. -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] Profile switching on headphone plugging

2015-02-07 Thread Alexander E. Patrakov
headphones. The real question is where and how should my preference to use the 5.1 output be stored in PulseAudio without it being lost when I plug my headphones. -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss

Re: [pulseaudio-discuss] Profile switching on headphone plugging

2015-02-06 Thread Alexander E. Patrakov
, because I am not sure I understand them correctly. -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] [PATCH v4] Make module loopback honor requested latency

2015-02-06 Thread Alexander E. Patrakov
values follow each other you will have one adjust time that is around 60 ms too long and another one which is 60 ms too short. Maybe this also contributes significantly to the (in)stability of regulation. Thanks for this observation. I will look into it, too. -- Alexander E. Patrakov

[pulseaudio-discuss] Profile switching on headphone plugging (was: LFE filter)

2015-02-06 Thread Alexander E. Patrakov
cannot retest this at home without additional jack-retasking (which could make the result untrustworthy), because my home PC does not have any audio sockets at the front panel. -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio

Re: [pulseaudio-discuss] [RFC PATCH 0/6] LFE filter

2015-02-06 Thread Alexander E. Patrakov
06.02.2015 16:41, David Henningsson wrote: On 2015-02-04 18:45, Alexander E. Patrakov wrote: Sorry for a possibly-stupid question, but... Which part of PulseAudio is supposed to disable the effect if the user plugs headphones in? Or is it yet to be written? Hrm, that is actually a good

Re: [pulseaudio-discuss] [PATCH v4] Make module loopback honor requested latency

2015-02-05 Thread Alexander E. Patrakov
First of all, thanks for a quick and detailed answer. 06.02.2015 02:02, Georg Chini wrote: On 05.02.2015 16:59, Alexander E. Patrakov wrote: 01.02.2015 03:43, Georg Chini wrote: This is the final version of my patch for module-loopback. It is on top of the patch I sent about an hour ago

Re: [pulseaudio-discuss] [PATCH v4] Make module loopback honor requested latency

2015-02-05 Thread Alexander E. Patrakov
in disguise? How was the lowpass filter tuned? -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] [RFC PATCH 0/6] LFE filter

2015-02-04 Thread Alexander E. Patrakov
the effect if the user plugs headphones in? Or is it yet to be written? -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] Two packaging questions

2015-02-01 Thread Alexander E. Patrakov
01.02.2015 01:29, Felipe Sateler wrote: On Sat, Jan 31, 2015 at 4:56 PM, David Henningsson david.hennings...@canonical.com wrote: On 2015-01-31 08:19, Felipe Sateler wrote: On Sat, Jan 31, 2015 at 4:52 AM, Alexander E. Patrakov patra...@gmail.com wrote: 31.01.2015 04:49, David Henningsson

Re: [pulseaudio-discuss] [PATCH 1/6] lfe-filter: Import code from the Chrome OS audio server

2015-02-01 Thread Alexander E. Patrakov
] + * + * Each lp or hp is an LR4 filter, which consists of two second-order + * lowpass or highpass butterworth filters. + */ Do we actually need this three-band filter on any known hardware? -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list

Re: [pulseaudio-discuss] [PATCH 5/6] lfe-filter: Add rewind support

2015-02-01 Thread Alexander E. Patrakov
will review the actual implementation later. -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] [PATCH 6/6] resampler: Make some basic functions for rewinding

2015-02-01 Thread Alexander E. Patrakov
for appending, not for rewinding samples. -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] Two packaging questions

2015-01-30 Thread Alexander E. Patrakov
for the previous version, they are not. https://packages.debian.org/experimental/amd64/pulseaudio-module-raop/filelist -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman

Re: [pulseaudio-discuss] Some bogus ports

2015-01-27 Thread Alexander E. Patrakov
27.01.2015 18:23, David Henningsson wrote: On 2015-01-27 08:10, Tanu Kaskinen wrote: On Mon, 2015-01-26 at 05:37 -0500, David Henningsson wrote: On 2015-01-25 13:52, Alexander E. Patrakov wrote: Hello. I have noticed some ports in my pactl list cards output, that I think should

Re: [pulseaudio-discuss] Some bogus ports

2015-01-26 Thread Alexander E. Patrakov
26.01.2015 15:37, David Henningsson wrote: On 2015-01-25 13:52, Alexander E. Patrakov wrote: Hello. I have noticed some ports in my pactl list cards output, that I think should not be there. 1. iec958-stereo-input on my webcam This one is very likely an alsa-lib thing. See https

[pulseaudio-discuss] Some bogus ports

2015-01-26 Thread Alexander E. Patrakov
of that is with today's git master, and linux-3.19.0-rc4 -- Alexander E. Patrakov Card #0 Name: alsa_card.pci-_00_03.0 Driver: module-alsa-card.c Owner Module: 5 Properties: alsa.card = 0 alsa.card_name = HDA Intel HDMI

Re: [pulseaudio-discuss] PulseAudio on Ubuntu on Hyper-V gen2 VM

2015-01-22 Thread Alexander E. Patrakov
, but today or next week would be fine. Well, I also have some limited-scope tasks. My nick is patrakov, and I usually visit the #pulseaudio channel around 16:00-18:00 GMT. -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss

Re: [pulseaudio-discuss] Wireless headset-receiver connection event or status (Logitech H800)

2015-01-19 Thread Alexander E. Patrakov
, then module-device-manager can also be the cause of this problem. It should not be unloaded, but you can lower the priority of the receiver in the KDE control center, in the Multimedia applet. -- Alexander E. Patrakov ___ pulseaudio-discuss mailing

Re: [pulseaudio-discuss] RAOP2 patch testing result

2015-01-18 Thread Alexander E. Patrakov
19.01.2015 10:24, Arun Raghavan wrote: On 19 January 2015 at 10:31, Alexander E. Patrakov patra...@gmail.com wrote: 19.01.2015 05:33, Hajime Fujita wrote: [...] Also, here's how I launched valgrind. If more detailed options are necessary please let me know. $ valgrind --leak-check=yes

Re: [pulseaudio-discuss] RAOP2 patch testing result

2015-01-18 Thread Alexander E. Patrakov
how to do that. Of course, we can combine our flags, and replace --leak-check=yes with --leak-check=full. Detailed output from valgrind can be found here: https://github.com/hfujita/pulseaudio-raop2/issues/35 That's only the tail of it. -- Alexander E. Patrakov

Re: [pulseaudio-discuss] [PATCH] memblock: Fix more block ID collisions

2015-01-08 Thread Alexander E. Patrakov
); pa_mutex_unlock(p-mutex); return e; -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] Merging soxr

2015-01-08 Thread Alexander E. Patrakov
08.01.2015 17:44, Andrey Semashev wrote: On Thursday 08 January 2015 11:29:42 Alexander E. Patrakov wrote: 08.01.2015 01:52, Andrey Semashev wrote: Also, with PulseAudio forced to 44.1 kHz, FooBar2000 v1.2 (which uses DirectSound and thus, by default, resamples everything to 48 kHz) just

Re: [pulseaudio-discuss] Merging soxr

2015-01-07 Thread Alexander E. Patrakov
? Are you running Windows in a VM here? Which one? That's in wine. FooBar2000 v1.2 (and not any later version) is good for testing DirectSound-related code paths. -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss

Re: [pulseaudio-discuss] Merging soxr

2015-01-07 Thread Alexander E. Patrakov
07.01.2015 15:14, Alexander E. Patrakov wrote: I will retest with qemu (via its alsa backend) later today. Done, both for pa and alsa backends. I must say that soxr-based resamplers break a configuration that worked fine (except the initial period of several seconds) with speex-float-5

Re: [pulseaudio-discuss] Merging soxr

2015-01-06 Thread Alexander E. Patrakov
06.01.2015 19:17, Andrey Semashev wrote: On Wednesday 19 November 2014 00:58:04 Alexander E. Patrakov wrote: 19.11.2014 00:42, Andrey Semashev wrote: On Tuesday 18 November 2014 21:32:53 Alexander E. Patrakov wrote: 18.11.2014 19:14, David Henningsson wrote: On 2014-11-18 14:46, Alexander E

Re: [pulseaudio-discuss] [PATCH] build-sys: Don't enable libsamplerate by default

2015-01-05 Thread Alexander E. Patrakov
== xyes], == is a bashism. Use =. Otherwise, the patch is good. [PKG_CHECK_MODULES(LIBSAMPLERATE, [ samplerate = 0.1.0 ], HAVE_LIBSAMPLERATE=1, HAVE_LIBSAMPLERATE=0)], HAVE_LIBSAMPLERATE=0) -- Alexander E. Patrakov ___ pulseaudio-discuss

Re: [pulseaudio-discuss] Release notes

2015-01-05 Thread Alexander E. Patrakov
be a good idea to note that 7.1 audio is now supported on HDMI outputs. -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] Why tsched disabled when I use module-alsa-sink with 'mmap=0 tsched=1' parameters?

2015-01-03 Thread Alexander E. Patrakov
pa_rtpoll_set_timer_disabled(u-rtpoll); i.e. sleep_usec == 0 means disable the timer. In this case, pulseaudio will wait on the file descriptors provided by snd_pcm_poll_descriptors(). -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio

[pulseaudio-discuss] [PATCH] Make pa_socket_server_new static

2014-12-30 Thread Alexander E. Patrakov
While at it, also remove SOCKET_SERVER_GENERIC, because it is always being overwritten with a specific socket type. Signed-off-by: Alexander E. Patrakov patra...@gmail.com --- src/pulsecore/socket-server.c | 5 + src/pulsecore/socket-server.h | 1 - 2 files changed, 1 insertion(+), 5

Re: [pulseaudio-discuss] [PATCH] socket-server: pa_socket_server_new() can't fail, so don't check its return value

2014-12-29 Thread Alexander E. Patrakov
(ss = pa_socket_server_new(m, fd)); + +ss-type = SOCKET_SERVER_IPV6; +ss-tcpwrap_service = pa_xstrdup(tcpwrap_service); return ss; -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http

Re: [pulseaudio-discuss] [ANNOUNCE] PulseAudio 6.0 rc2 released!

2014-12-21 Thread Alexander E. Patrakov
://thread.gmane.org/gmane.comp.audio.pulseaudio.general/22375 -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] Why tsched disabled when I use module-alsa-sink with 'mmap=0 tsched=1' parameters?

2014-12-19 Thread Alexander E. Patrakov
. But I don't know the answer. -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] [PATCH] build-sys: Add a configure flag for building only client libs

2014-12-15 Thread Alexander E. Patrakov
=pa_xnew0_internal --alloc-fn=pa_xnew_internal ./pulseaudio And running massif does not make sense if only client libs are enabled. -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org

Re: [pulseaudio-discuss] Trying HSP support in current git

2014-12-15 Thread Alexander E. Patrakov
. -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] [PATCH RFCv3 48/51] alsa-sink: Assume left_to_play can be computed, save one call to snd_pcm_avail()

2014-12-11 Thread Alexander E. Patrakov
; +} else +break; +} n_bytes -= written; } } +done: input_underrun = pa_sink_process_input_underruns(u-sink, left_to_play); if (u-use_tsched) { -- Alexander E. Patrakov

Re: [pulseaudio-discuss] [PATCH] config: do not change digital controls from analog path config

2014-12-10 Thread Alexander E. Patrakov
example at the end of /usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf that could be a potential reason to apply this patch. -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http

[pulseaudio-discuss] Some more valgrind warnings

2014-12-09 Thread Alexander E. Patrakov
(mainloop.c:900) ==555==by 0x50EF519: pa_mainloop_iterate (mainloop.c:931) ==555==by 0x50EF5BF: pa_mainloop_run (mainloop.c:946) ==555==by 0x406DB5: main (main.c:1136) ==555== -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio

Re: [pulseaudio-discuss] [PATCH] memblock: Initialize mempool object to zero

2014-12-09 Thread Alexander E. Patrakov
); PA_LLIST_HEAD_INIT(pa_memimport, p-imports); -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] [PATCH 2/2] module-equalizer-sink: remove erroneous fixme

2014-12-05 Thread Alexander E. Patrakov
); pa_memblockq_drop(u-output_q, chunk-length); -/** FIXME: Uh? you need to unref the chunk here! */ - //pa_log_debug(gave %ld, chunk-length/fs); //pa_log_debug(end pop); return 0; -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list

[pulseaudio-discuss] [PATCH 2/2] Warn on loading module-dbus-protocol

2014-12-04 Thread Alexander E. Patrakov
See also https://www.mail-archive.com/ubuntu-audio-dev@lists.launchpad.net/msg00268.html The warning may be useful for users who carried over the module-loading statement from default configuration files shipped with old PulseAudio versions. Signed-off-by: Alexander E. Patrakov patra

[pulseaudio-discuss] [PATCH 1/2] Warn on loading module-equalizer-sink

2014-12-04 Thread Alexander E. Patrakov
See objections to the code in this email: http://lists.freedesktop.org/archives/pulseaudio-discuss/2014-March/020174.html Signed-off-by: Alexander E. Patrakov patra...@gmail.com --- src/modules/module-equalizer-sink.c | 4 1 file changed, 4 insertions(+) diff --git a/src/modules/module

[pulseaudio-discuss] PULSE_MEMPOOL_DISABLE=1 is incompatible with srbchannel

2014-12-04 Thread Alexander E. Patrakov
(mainloop.c:900) ==23564==by 0x50EF519: pa_mainloop_iterate (mainloop.c:931) ==23564==by 0x50EF5BF: pa_mainloop_run (mainloop.c:946) ...and Connection failure: Protocol error on the pactl side. -- Alexander E. Patrakov From a160d6e1513aea0efb71ad798d409f0a16399430 Mon Sep 17 00:00:00 2001

Re: [pulseaudio-discuss] [PATCH] srbchannel: Check return value of pa_memblock_new_pool

2014-12-04 Thread Alexander E. Patrakov
) +goto fail; + srh = pa_memblock_acquire(sr-memblock); pa_zero(*srh); -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] [PATCH] bluez5-discover: Fix device hashmap free order

2014-12-03 Thread Alexander E. Patrakov
03.12.2014 16:55, Alexander E. Patrakov wrote: 03.12.2014 16:37, David Henningsson wrote: In case there are still devices in the hashmap when the module is unloaded, we need to free the hashmap before the devices, because the hashmap key points to the device's name instead of making a copy

Re: [pulseaudio-discuss] [PATCH] bluez5-discover: Fix device hashmap free order

2014-12-03 Thread Alexander E. Patrakov
-loaded_device_paths) pa_hashmap_free(u-loaded_device_paths); +if (u-discovery) +pa_bluetooth_discovery_unref(u-discovery); + pa_xfree(u); } -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss

Re: [pulseaudio-discuss] [PATCH] Warn on attempts to build and load module-equalizer-sink

2014-12-02 Thread Alexander E. Patrakov
with everyone? OK for me. -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

[pulseaudio-discuss] [PATCH] Warn on attempts to build and load module-equalizer-sink

2014-12-01 Thread Alexander E. Patrakov
Also, don't build it by default. Signed-off-by: Alexander E. Patrakov patra...@gmail.com --- configure.ac| 24 +--- src/modules/module-equalizer-sink.c | 4 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/configure.ac b

Re: [pulseaudio-discuss] [PATCH] bluez5: Fix free order of adapters and devices

2014-11-28 Thread Alexander E. Patrakov
positive enough. The patch indeed helps against valgrind errors if no audio is being streamed when pulseaudio gets a SIGTERM. The newly posted error is a pre-existing one - i.e. the patch fixes only one out of two or three problems. -- Alexander E. Patrakov

Re: [pulseaudio-discuss] [ANNOUNCE] PulseAudio 6.0 RC1 released!

2014-11-24 Thread Alexander E. Patrakov
computer, or making a symlink from extra-hdmi.conf to default.conf (in /usr/share/pulseaudio/alsa-mixer/profile-sets). Does a pulseaudio server restart also resolve the problem? No. udevadm trigger does. -- Alexander E. Patrakov ___ pulseaudio-discuss

[pulseaudio-discuss] Valgrind complains about bluetooth on pulseaudio exit

2014-11-23 Thread Alexander E. Patrakov
: pa_module_free (module.c:227) ==16639==by 0x4E61929: pa_module_unload_all (module.c:292) ==16639==by 0x406476: main (main.c:1161) There were no Bluetooth sinks and sources. Also, this PC does not have ofono installed. -- Alexander E. Patrakov

Re: [pulseaudio-discuss] Merging soxr

2014-11-19 Thread Alexander E. Patrakov
19.11.2014 11:08, Alexander E. Patrakov wrote: 19.11.2014 10:49, David Henningsson wrote: If possible, it would make more sense to improve the library of our choice (probably speex) to support our needs, instead of rewriting a new resampler from scratch. That way, other apps using

Re: [pulseaudio-discuss] [Ubuntu-audio-dev] Preferred resampler method on armhf.

2014-11-19 Thread Alexander E. Patrakov
? Luke ___ Mailing list: https://launchpad.net/~ubuntu-audio-dev Post to : ubuntu-audio-...@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-audio-dev More help : https://help.launchpad.net/ListHelp -- Alexander E. Patrakov

Re: [pulseaudio-discuss] Patch review status wiki page updated

2014-11-18 Thread Alexander E. Patrakov
pa_resampler_request. -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] Merging soxr

2014-11-18 Thread Alexander E. Patrakov
19.11.2014 00:42, Andrey Semashev wrote: On Tuesday 18 November 2014 21:32:53 Alexander E. Patrakov wrote: 18.11.2014 19:14, David Henningsson wrote: On 2014-11-18 14:46, Alexander E. Patrakov wrote: Add support for libsoxr resampler: David's objection about overriding pa_resampler_request

Re: [pulseaudio-discuss] Merging soxr

2014-11-18 Thread Alexander E. Patrakov
19.11.2014 10:49, David Henningsson wrote: On 2014-11-18 20:58, Alexander E. Patrakov wrote: 19.11.2014 00:42, Andrey Semashev wrote: On Tuesday 18 November 2014 21:32:53 Alexander E. Patrakov wrote: 18.11.2014 19:14, David Henningsson wrote: On 2014-11-18 14:46, Alexander E. Patrakov

Re: [pulseaudio-discuss] [PATCH 2/3] alsa: Default to 30% in absence of sink hw volume

2014-11-16 Thread Alexander E. Patrakov
). There, 100% is the correct default, especially because volume is expected to be the same by default in the cases of passthrough and normal playback. P.S. I have not read enough context, sorry if this code path is already only ever executed for analog outputs. -- Alexander E. Patrakov

Re: [pulseaudio-discuss] [PATCH 0/4] Add support for libsoxr resampler

2014-11-14 Thread Alexander E. Patrakov
to unwanted distortions at one target frequency, these contributions are uncorrelated. -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] RAOP2 patch testing result

2014-11-13 Thread Alexander E. Patrakov
13.11.2014 02:13, Martin Blanchard wrote: On Tue, 2014-11-11 at 23:45 +0500, Alexander E. Patrakov wrote: Hi. Hello Alexander! I have cloned the raop2-v2 branch from https://github.com/colinleroy/pulseaudio First, thanks for the testings. The following test was applied. I have

Re: [pulseaudio-discuss] Master is frozen

2014-11-13 Thread Alexander E. Patrakov
is not fixable without external help. -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] [PATCH 0/4] Add support for libsoxr resampler

2014-11-12 Thread Alexander E. Patrakov
is strange. I will recheck the quality separately later today, in order to verify that it is still as good as in the previous tests. Please don't merge the patches until this is done. -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio

Re: [pulseaudio-discuss] [PATCH 0/4] Add support for libsoxr resampler

2014-11-12 Thread Alexander E. Patrakov
12.11.2014 15:59, Andrey Semashev wrote: On Wed, Nov 12, 2014 at 12:26 PM, Alexander E. Patrakov patra...@gmail.com wrote: We generally don't need a zoo of resamplers. But you have definitely changed something important from an earlier submission by Peter Meerwald so that the CPU figure became

Re: [pulseaudio-discuss] [PATCH 1/4] Added libsoxr resampler backend.

2014-11-12 Thread Alexander E. Patrakov
for that. It doesn't have a way to inject a custom message, but it does log a file and a line. -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] [PATCH] alsa: Check respect return value of snd_pcm_mmap_commit()

2014-11-12 Thread Alexander E. Patrakov
and newly-rendered frames), and write (via mmap) as much as possible. -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] [PATCH 0/4] Add support for libsoxr resampler

2014-11-12 Thread Alexander E. Patrakov
13.11.2014 01:16, Andrey Semashev пишет: On Wednesday 12 November 2014 20:03:48 Alexander E. Patrakov wrote: 12.11.2014 14:26, Alexander E. Patrakov пишет: I will recheck the quality separately later today, in order to verify that it is still as good as in the previous tests. Please don't

Re: [pulseaudio-discuss] [PATCH 0/4] Add support for libsoxr resampler

2014-11-12 Thread Alexander E. Patrakov
the little extra would be desired in embedded domain to conserve battery. Well, in the embedded domain, there is usually no FPU or a bad FPU, and a different resampler (hint: speex-fixed-X) is needed anyway :) -- Alexander E. Patrakov ___ pulseaudio

[pulseaudio-discuss] RAOP2 patch testing result

2014-11-11 Thread Alexander E. Patrakov
. -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] PA mini summit follow-up, resampler deprecation

2014-11-11 Thread Alexander E. Patrakov
distributors, not users. -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] LFE remixing

2014-11-09 Thread Alexander E. Patrakov
06.11.2014 15:50, Alexander E. Patrakov wrote: 06.11.2014 15:39, David Henningsson wrote: On 2014-09-30 15:59, Alexander E. Patrakov wrote: 30.09.2014 19:07, David Henningsson wrote: On 2014-09-26 14:17, Tanu Kaskinen wrote: A summary of my proposal: To add LFE low-pass filtering, just

Re: [pulseaudio-discuss] [PATCH 2/6] macro: Add macro PA_USED

2014-11-09 Thread Alexander E. Patrakov
09.11.2014 21:59, Peter Meerwald wrote: the macro PA_USED... may be used to suppress a warning when a variable +#define PA_UNUSED Misleading subject and commit message? -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio

Re: [pulseaudio-discuss] LFE remixing

2014-11-06 Thread Alexander E. Patrakov
06.11.2014 15:39, David Henningsson wrote: On 2014-09-30 15:59, Alexander E. Patrakov wrote: 30.09.2014 19:07, David Henningsson wrote: On 2014-09-26 14:17, Tanu Kaskinen wrote: A summary of my proposal: To add LFE low-pass filtering, just hack the current remixer implementation, no need

Re: [pulseaudio-discuss] [PATCH RFCv3 35/51] sample: Make pa_channels_valid() inlineable

2014-11-06 Thread Alexander E. Patrakov
) PA_GCC_PURE; -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] [PATCH RFCv3 51/51] alsa: Remove redundant sample_spec parameter to reset_watermark() function

2014-11-05 Thread Alexander E. Patrakov
+ * keep track of min_latency and reuse it when + * this routine is called from IO context */ u-min_latency_ref = u-source-thread_info.min_latency; -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio

Re: [pulseaudio-discuss] [PATCH RFCv3 00/51] optimizations

2014-11-05 Thread Alexander E. Patrakov
today's meeting at work :( Patch 50 needs more testing on a card with a large FIFO, e.g. on a Xonar DX. No opinion so far on other patches. -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http

Re: [pulseaudio-discuss] pulseaudio (V5) incorrect rate detection on usb sound card with raspberry

2014-11-02 Thread Alexander E. Patrakov
by a bad edit to /usr/share/alsa/alsa.conf. The bad edit was: -pcm.front cards.pcm.default +##pcm.front cards.pcm.front +pcm.front cards.pcm.default As a result, the front:0 device was redirected to dmix, which by default accepts only 48 kHz. -- Alexander E. Patrakov

Re: [pulseaudio-discuss] pulseaudio (V5) incorrect rate detection on usb sound card with raspberry [SOLVED]

2014-10-30 Thread Alexander E. Patrakov
commands: aplay -vv -d 1 -f cd -D hw:0 /dev/zero aplay -vv -d 1 -f cd -D front:0 /dev/zero -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] pulseaudio (V5) incorrect rate detection on usb sound card with raspberry

2014-10-30 Thread Alexander E. Patrakov
E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] pulseaudio (V5) incorrect rate detection on usb sound card with raspberry

2014-10-29 Thread Alexander E. Patrakov
it) while PulseAudio is not running? aplay -vv -d 1 -f cd -D hw:0 /dev/zero aplay -vv -d 1 -f cd -D front:0 /dev/zero -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman

Re: [pulseaudio-discuss] pulseaudio (V5) incorrect rate detection on usb sound card with raspberry

2014-10-29 Thread Alexander E. Patrakov
29.10.2014 15:37, Alexander E. Patrakov wrote: 29.10.2014 15:14, mailing lists пишет: Alexander, thank you very much for the detailed explanation. The theory is very simple. It probes at startup whether the configured sample rate and the alternate sample rate (both can be seen in /etc/pulse

Re: [pulseaudio-discuss] pulseaudio (V5) incorrect rate detection on usb sound card with raspberry

2014-10-29 Thread Alexander E. Patrakov
29.10.2014 15:37, Alexander E. Patrakov пишет: 29.10.2014 15:14, mailing lists пишет: Alexander, thank you very much for the detailed explanation. The theory is very simple. It probes at startup whether the configured sample rate and the alternate sample rate (both can be seen in /etc/pulse

Re: [pulseaudio-discuss] pulseaudio (V5) incorrect rate detection on usb sound card with raspberry

2014-10-28 Thread Alexander E. Patrakov
kHz if this is supported by the card. Then, if some music appears before module-echo-cancel corks its stream due to timeout, it will also get resampled to 48 kHz. -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss

Re: [pulseaudio-discuss] [PATCH RFC 04/17] tagstruct: Add type _APPENDED

2014-10-27 Thread Alexander E. Patrakov
, const char *s) { While you are at it, could you please move the (pre-existing) magic number 100 into a #define? -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman

Re: [pulseaudio-discuss] [PATCH RFC 08/17] packet: Introduce pa_packet_new_data() to copy data into a newly created packet

2014-10-27 Thread Alexander E. Patrakov
= pa_packet_new_data(data, length)); pa_tagstruct_free(t); pa_pstream_send_packet(p, packet, ancil); -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman

Re: [pulseaudio-discuss] [PATCH] Change the default fragment size to 5 ms

2014-10-24 Thread Alexander E. Patrakov
24.10.2014 01:44, Andrew Eikum wrote: On Fri, Oct 24, 2014 at 12:38:16AM +0600, Alexander E. Patrakov wrote: 24.10.2014 00:08, Andrew Eikum wrote: I have a patch in-hand which improves the current driver significantly, but it isn't enough to fix the USB devices problem. If someone wants

Re: [pulseaudio-discuss] [PATCH 0/7] misc cleanup

2014-10-24 Thread Alexander E. Patrakov
|2 +- src/pulsecore/source-output.c |2 +- src/pulsecore/source.c |2 +- src/tests/srbchannel-test.c | 18 +- 18 files changed, 38 insertions(+), 41 deletions(-) -- Alexander E. Patrakov

Re: [pulseaudio-discuss] [PATCH 0/3] resamplers

2014-10-24 Thread Alexander E. Patrakov
, i.e. in the submitted patch, and not in libavresample itself. Thus, it should be searched for and fixed. As for quality evaluation, I have not performed any testing yet, and will do it live during today's discussion of resampler quality evaluation. -- Alexander E. Patrakov

Re: [pulseaudio-discuss] [PATCH] Change the default fragment size to 5 ms

2014-10-23 Thread Alexander E. Patrakov
make any sense out of it. And anyway, this would be a different patch. -- Alexander E. Patrakov ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

<    1   2   3   4   5   6   >