From: Peter Meerwald
is always true, not used
Signed-off-by: Peter Meerwald
---
src/modules/alsa/alsa-sink.c| 2 +-
src/modules/alsa/alsa-source.c | 2 +-
src/modules/module-combine-sink.c | 2 +-
src/modules/module-esound-sink.c| 2 +-
src/modules/module-null-sink.c
From: Peter Meerwald
when the wakeup pipe became ready, and poll() returned
just one descriptor, we can stop scanning io_events
Signed-off-by: Peter Meerwald
---
src/pulse/mainloop.c | 24 ++--
1 file changed, 14 insertions(+), 10 deletions(-)
diff --git a/src/pulse/mainlo
From: Peter Meerwald
Signed-off-by: Peter Meerwald
---
src/pulsecore/flist.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pulsecore/flist.h b/src/pulsecore/flist.h
index 2ce88cc..41a5ffc 100644
--- a/src/pulsecore/flist.h
+++ b/src/pulsecore/flist.h
@@ -47,7 +47,7 @@
From: Peter Meerwald
Signed-off-by: Peter Meerwald
---
src/pulsecore/rtpoll.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pulsecore/rtpoll.h b/src/pulsecore/rtpoll.h
index 43ff5e6..96bb487 100644
--- a/src/pulsecore/rtpoll.h
+++ b/src/pulsecore/rtpoll.h
@@ -41,7 +41,
From: Peter Meerwald
gets a pointer to the first entry's data if it exists, NULL
otherwise
Signed-off-by: Peter Meerwald
---
src/pulsecore/queue.c | 11 +++
src/pulsecore/queue.h | 3 +++
2 files changed, 14 insertions(+)
diff --git a/src/pulsecore/queue.c b/src/pulsecore/queue.c
ind
From: Peter Meerwald
pa_tagstruct_free_data() is used in only one place
to pass data from a tagstruct to a packet
this patch is a temporary solution which introduces an extra
malloc(); will be resolved shortly...
Signed-off-by: Peter Meerwald
---
src/pulsecore/pstream-util.c | 9 ++---
s
From: Peter Meerwald
---
src/pulsecore/flist.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/pulsecore/flist.c b/src/pulsecore/flist.c
index b110e1e..c7b3825 100644
--- a/src/pulsecore/flist.c
+++ b/src/pulsecore/flist.c
@@ -47,8 +47,8 @@
/* Lock free
From: Peter Meerwald
item_info has per-type fields which should be within a union to
save space
Signed-off-by: Peter Meerwald
---
src/pulsecore/pstream.c | 117 +++-
1 file changed, 65 insertions(+), 52 deletions(-)
diff --git a/src/pulsecore/pstrea
From: Peter Meerwald
v2: (thanks Alexander Patrakov)
* turn check in pa_packet_new() into assert()
Signed-off-by: Peter Meerwald
---
src/pulsecore/packet.c | 11 +++
src/pulsecore/packet.h | 4
src/pulsecore/pstream-util.c | 2 +-
3 files changed, 16 insertions(+), 1
From: Peter Meerwald
Signed-off-by: Peter Meerwald
---
src/pulsecore/pstream.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/pulsecore/pstream.c b/src/pulsecore/pstream.c
index fd8f5d5..400df42 100644
--- a/src/pulsecore/pstream.c
+++ b/src/pulsecore/pstream.c
@@
From: Peter Meerwald
if length exceeds maximum appended size, create a packet of
type dynamic instead of type appended
this is a preparation to use a separate free-list for packets
document semantics of pa_packet_new_*() functions
Signed-off-by: Peter Meerwald
---
src/pulsecore/packet.c | 16
From: Peter Meerwald
pa_tagstruct_new() is called either with no data, i.e. (NULL, 0)
to create a dynamic tagstruct or with a pointer to fixed data
introduce a new function pa_tagstruct_new_fixed() for the latter case
Signed-off-by: Peter Meerwald
---
src/modules/module-card-restore.c | 4
From: Peter Meerwald
Signed-off-by: Peter Meerwald
---
src/pulsecore/pstream.c | 28 +++-
1 file changed, 19 insertions(+), 9 deletions(-)
diff --git a/src/pulsecore/pstream.c b/src/pulsecore/pstream.c
index e52b1f5..1c966de 100644
--- a/src/pulsecore/pstream.c
+++ b/sr
From: Peter Meerwald
Signed-off-by: Peter Meerwald
---
src/pulsecore/once.c | 18 +-
src/pulsecore/once.h | 27 +++
2 files changed, 24 insertions(+), 21 deletions(-)
diff --git a/src/pulsecore/once.c b/src/pulsecore/once.c
index 16059c3..cac8cda 100644
From: Peter Meerwald
patch b4342845 "pstream: Optimise write of smaller packages" combines (copies)
the descriptor and payload of certain (small) packages into a minibuf
to send the data with a single write()
this patch extends the idea by looking at the next item on the send queue
to see if it
From: Peter Meerwald
Signed-off-by: Peter Meerwald
---
src/pulsecore/rtpoll.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/pulsecore/rtpoll.c b/src/pulsecore/rtpoll.c
index 09e5e8a..c657cb6 100644
--- a/src/pulsecore/rtpoll.c
+++ b/src/pulsecore/rtpoll.c
@@ -298
enable_events() is deleting the input_event for every read;
this is causing the mainloop to rebuild its pollfds
Signed-off-by: Peter Meerwald
---
src/pulsecore/iochannel.c | 35 +++
1 file changed, 11 insertions(+), 24 deletions(-)
diff --git a/src/pulsecore/ioch
From: Peter Meerwald
a separate free-list is used to recycle memory of fixed-sized packets
with up to MAX_APPENDED_SIZE of data
Signed-off-by: Peter Meerwald
---
src/pulsecore/packet.c | 12 +---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/src/pulsecore/packet.c b/src
From: Peter Meerwald
Signed-off-by: Peter Meerwald
---
src/pulsecore/pstream.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/pulsecore/pstream.c b/src/pulsecore/pstream.c
index 3a6b5f7..fd8f5d5 100644
--- a/src/pulsecore/pstream.c
+++ b/src/pulsecore/pstream.c
@@ -619,7 +619,6 @@ stati
From: Peter Meerwald
idea is similar to b4342845d, Optimize write of smaller packages, but for read
use a READ_MINIBUF_SIZE of 40 bytes chosen so that a descriptor (20 bytes)
followed by shminfo (16 bytes) or by another descriptors (20 bytes) can be
read() at once
only make use of this optimiz
From: Peter Meerwald
don't encapsulate a tagstruct in a packet anymore, allow to
pass the tagstruct directly to the pstream
this removes the ugly macro pa_pstream_send_tagstruct()
in pstream-util.h and calls the new function pa_pstream_send_tagstruct()
causing the addition of a NULL parameters i
From: Peter Meerwald
Signed-off-by: Peter Meerwald
---
src/pulsecore/pstream.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/pulsecore/pstream.c b/src/pulsecore/pstream.c
index 111899d..3a6b5f7 100644
--- a/src/pulsecore/pstream.c
+++ b/src/pulsecore/pstream.c
@@
From: Peter Meerwald
no functional change, just using several funtion to break up that monstrosity
Signed-off-by: Peter Meerwald
---
src/pulsecore/pstream.c | 400
1 file changed, 204 insertions(+), 196 deletions(-)
diff --git a/src/pulsecore/p
From: Peter Meerwald
Signed-off-by: Peter Meerwald
---
src/pulsecore/tagstruct.c | 12 +---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/src/pulsecore/tagstruct.c b/src/pulsecore/tagstruct.c
index a504be8..f27d313 100644
--- a/src/pulsecore/tagstruct.c
+++ b/src/pulseco
From: Peter Meerwald
Signed-off-by: Peter Meerwald
---
src/pulsecore/packet.c | 18 ++
src/pulsecore/packet.h | 11 +++
src/pulsecore/pdispatch.c | 9 +
src/pulsecore/pstream.c | 15 +--
src/tests/srbchannel-test.c | 21 ++
From: Peter Meerwald
... in order to prepare for a new type _APPENDED
remove the assert() for dynamic in pa_tagstruct_data() as
the function makes sense for all tagstruct types (and the returned pointer
is const)
Signed-off-by: Peter Meerwald
---
src/pulsecore/tagstruct.c | 16 +--
From: Peter Meerwald
add 128 bytes of storage in each tagstruct that will initially
be used; if this storage is exceeded the type changes to _DYNAMIC
v2: (thanks Alexander Patrakov)
* replace constant 100 with GROW_TAG_SIZE (the increment in with a dynamic
tagstruct grows when extend()ed)
Sign
this patch series aims to save memory allocations and some system calls
related to PA's client/server protocol implementation
v2 incorporates David's and Alexander's suggestions; no functional change to
the first 17 patches; v2 then adds some cleanup and two optimizations
patches 1 to 5 ('tagstr
> > > misc. trivial cleanups queued up while working on 'real stuff'
> >
> > I have looked at and agree with all 7 patches.
>
> Ack from me too.
applied, thanks, p.
--
Peter Meerwald
+43-664-218 (mobile)
___
pulseaudio-discuss mailing list
puls
On Tue, Oct 28, 2014 at 8:39 AM, mailing lists wrote:
> raspbian comes with PA 2, but I did compiled PA 5
FWIW, you could enable the jessie repository and pull pa 5 from there.
You could also pick up newer alsa-lib and kernel too.
deb http://mirrordirector.raspbian.org/raspbian/ jessie main cont
Tanu Kaskinen [2014-10-28 11:20:08 +0200]:
> On Tue, 2014-10-21 at 00:49 -0500, Hajime Fujita wrote:
> > Hello,
> >
> > I'm currently working on IPv6 support for the raop module [1].
> >
> > During the work I found a potential issue in
> > pa_socket_client_new_string() (in pulsecore/socket-clie
28.10.2014 16:39, mailing lists wrote:
Hello Tanu,
I'm not sure if you mentioned this already before (sorry for not
bothering to check), but is the PA version the same between the
machines? If not, then something may have been fixed in PA, but in any
case it seems more likely to me that there w
Hello Tanu,
> I'm not sure if you mentioned this already before (sorry for not
> bothering to check), but is the PA version the same between the
> machines? If not, then something may have been fixed in PA, but in any
> case it seems more likely to me that there was some change in the kernel
> dri
On Tuesday 28 October 2014 09:44:53 Tanu Kaskinen wrote:
> On Sun, 2014-10-19 at 13:42 +0200, Pali Rohár wrote:
> > On Sunday 28 September 2014 12:44:13 Pali Rohár wrote:
> > > With this patch module-bluetooth-policy automatically
> > > switch from a2dp profile to hsp profile if some
> > > applicat
On 28/10/14 09:44, Tanu Kaskinen wrote:
On Thu, 2014-10-23 at 15:57 +0100, tony wrote:
Hi,
I am trying to get A2DP(BlueZ 4.101) working with Pulseaudio
(pulseaudio 5.0-dirty). I can see the A2DP connection is made
successfully and pulseaudio receives the notification. But for some
reas
On Tue, 2014-10-28 at 10:42 +, mailing lists wrote:
> >Your usb audio seem support mono, stereo, 8 bits and 16 bits
> >
> >and some endpoint support 8000,11025,16000,22025Hz
> >
> >Seem like driver bug if you can only use 32000 44100 and 48000Hz
>
> The 8000, 11025, 16000 and 22050 values are
>Your usb audio seem support mono, stereo, 8 bits and 16 bits
>
>and some endpoint support 8000,11025,16000,22025Hz
>
>Seem like driver bug if you can only use 32000 44100 and 48000Hz
The 8000, 11025, 16000 and 22050 values are capture samplerates (see below
/proc/asound/card1/stream0 output), fo
On Tue, 2014-10-28 at 05:24 +0100, David Henningsson wrote:
> Looks good to me (with the proposed change below).
Thanks, pushed.
> On 2014-10-27 15:52, Tanu Kaskinen wrote:
> > On Mon, 2014-10-27 at 13:20 +0200, Tanu Kaskinen wrote:
> >> diff --git
> >> a/src/modules/alsa/mixer/paths/analog-outp
On Tue, 2014-10-28 at 05:30 +0100, David Henningsson wrote:
>
> On 2014-10-24 22:33, Sjoerd Simons wrote:
> > In case there are two independent jacks for one port (e.g. Dock
> > Headphone Jack and Headphone Jack), the availability ends up being
> > incorrect for one of the first was _NO (not plugg
On Thu, 2014-10-23 at 21:56 +0600, Alexander E. Patrakov wrote:
> 23.10.2014 21:33, Peter Meerwald wrote:
> > From: Peter Meerwald
> >
> > misc. trivial cleanups queued up while working on 'real stuff'
>
> I have looked at and agree with all 7 patches.
Ack from me too.
--
Tanu
___
On 28 October 2014 15:09, Andrej Šimko wrote:
> Hello everybody,
>
> we have problem with quality of sound with pulseaudio used with
> freeswitch with portaudio modul, which gets worse(crackling) after
> random time (couple of hours). When we restart pulseaudio with our own
> script (in attachment
On Thu, 2014-10-23 at 15:57 +0100, tony wrote:
> Hi,
>I am trying to get A2DP(BlueZ 4.101) working with Pulseaudio
> (pulseaudio 5.0-dirty). I can see the A2DP connection is made
> successfully and pulseaudio receives the notification. But for some
> reason, can't get pulseaudio to creat
Hello everybody,
we have problem with quality of sound with pulseaudio used with
freeswitch with portaudio modul, which gets worse(crackling) after
random time (couple of hours). When we restart pulseaudio with our own
script (in attachment pulseaudio-restart and pulseaudio-restore)
everything get
On Wed, 2014-10-22 at 20:48 -0300, Felipe Sateler wrote:
> If gtk cannot load the file, it may throw a Gio::Error. In that case
> fall back to setting the name.
>
> BugLink: https://bugs.debian.org/765725
> ---
> src/mainwindow.cc | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/src/ma
On 2014-10-28 10:12, Tanu Kaskinen wrote:
On Mon, 2014-10-20 at 16:31 +0200, David Henningsson wrote:
There is no use in trying to load data in legacy format, if we
already know that there is no data at all.
Also clarify in the debug message whether there is invalid data
or no data at all.
Si
On Wed, 2014-10-22 at 20:38 -0300, Felipe Sateler wrote:
> From: Christer Stenbrenden
>
> pa_stream_peek can return NULL if either the buffer is empty or if it
> has a hole. In either case we need to avoid derefencing the data
> pointer. Additionally, if there is a hole, we need to call pa_stream
On Tue, 2014-10-21 at 00:49 -0500, Hajime Fujita wrote:
> Hello,
>
> I'm currently working on IPv6 support for the raop module [1].
>
> During the work I found a potential issue in
> pa_socket_client_new_string() (in pulsecore/socket-client.c) as pointed
> out in [1].
>
> It does not work as e
On Mon, 2014-10-20 at 16:31 +0200, David Henningsson wrote:
> There is no use in trying to load data in legacy format, if we
> already know that there is no data at all.
> Also clarify in the debug message whether there is invalid data
> or no data at all.
>
> Signed-off-by: David Henningsson
> -
>
> Hi all,
>
> the usb card have hardware support for 32000, 44100 and 48000 samplerates:
>
> root@rpi:~# cat /proc/asound/card1/stream0
> Burr-Brown from TI USB Audio CODEC at usb-bcm2708_usb-1.2, full speed :
USB Audio
>
> Playback:
> Status: Stop
> Interface 1
> Altset 1
> Format: S
On Mon, 2014-10-20 at 13:34 +0200, David Henningsson wrote:
> These two control names are currently being added to the HDA driver,
> so let's support them in PulseAudio as well.
>
> Signed-off-by: David Henningsson
> ---
> src/modules/alsa/mixer/paths/analog-output-headphones.conf | 10 +++
> I had to put something like
>
> pcm.!default {
> type hw
> card 0
> }
>
> in my /etc/asound.conf in order to get a default rate of 44100.
>
> Laurentiu
it doesn't make any difference, the core problem is that pulseaudio detects
diferent capabilities on diferent architectures
On Sun, 2014-10-19 at 13:42 +0200, Pali Rohár wrote:
> On Sunday 28 September 2014 12:44:13 Pali Rohár wrote:
> > With this patch module-bluetooth-policy automatically switch
> > from a2dp profile to hsp profile if some application want to
> > start recording.
> >
> > By default a2dp profile is us
On Mon, 2014-10-27 at 18:52 +0100, Mark Gaiser wrote:
> On Sun, Oct 26, 2014 at 6:18 PM, Tanu Kaskinen
> wrote:
> > On Sun, 2014-10-19 at 13:20 +0200, Mark Gaiser wrote:
> >> On Sun, Oct 19, 2014 at 12:01 PM, Tanu Kaskinen
> >> wrote:
> >> > On Thu, 2014-10-09 at 00:39 +0200, Mark Gaiser wrote:
>
>>
>> In case there are two independent jacks for one port (e.g. Dock
>> Headphone Jack and Headphone Jack), the availability ends up being
>> incorrect for one of the first was _NO (not plugged) and the second gets
>> _YES (plugged). Also pulse complains about the state being inconsistent
>> which
54 matches
Mail list logo