platform/upstream/pulseaudio.git
14 years agoSending translation for Hungarian
kami911 [Sat, 17 Oct 2009 10:53:38 +0000 (10:53 +0000)]
Sending translation for Hungarian

14 years agoSending translation for Hungarian
kami911 [Sat, 17 Oct 2009 09:48:40 +0000 (09:48 +0000)]
Sending translation for Hungarian

14 years agoSending translation for Hungarian
kami911 [Sat, 17 Oct 2009 09:13:06 +0000 (09:13 +0000)]
Sending translation for Hungarian

14 years agoSending translation for Hungarian
kami911 [Thu, 15 Oct 2009 13:12:37 +0000 (13:12 +0000)]
Sending translation for Hungarian

14 years agoSending translation for Dutch
reinouts [Wed, 14 Oct 2009 09:31:10 +0000 (09:31 +0000)]
Sending translation for Dutch

14 years agoSending translation for Hungarian
kami911 [Fri, 9 Oct 2009 06:17:41 +0000 (06:17 +0000)]
Sending translation for Hungarian

14 years agoSending translation for Ukrainian
mvdz [Tue, 6 Oct 2009 10:22:55 +0000 (10:22 +0000)]
Sending translation for Ukrainian

14 years agoSending translation for Spanish
fgonz [Sun, 4 Oct 2009 19:24:35 +0000 (19:24 +0000)]
Sending translation for Spanish

14 years agoSending translation for Dutch
warrink [Fri, 2 Oct 2009 22:50:26 +0000 (22:50 +0000)]
Sending translation for Dutch

14 years agoSending translation for po/hu.po
kami911 [Thu, 1 Oct 2009 08:46:05 +0000 (08:46 +0000)]
Sending translation for po/hu.po

14 years agoSending translation for Czech
pmkovar [Wed, 30 Sep 2009 18:43:00 +0000 (18:43 +0000)]
Sending translation for Czech

14 years agoSending translation for Polish
raven [Wed, 30 Sep 2009 15:05:36 +0000 (15:05 +0000)]
Sending translation for Polish

14 years agoSending translation for Dutch
warrink [Wed, 30 Sep 2009 14:48:45 +0000 (14:48 +0000)]
Sending translation for Dutch

14 years agopacat: pass buffer_attr to recording streams too
Lennart Poettering [Sun, 21 Feb 2010 20:09:26 +0000 (21:09 +0100)]
pacat: pass buffer_attr to recording streams too

Pointed out by Colin Guthrie.

https://tango.0pointer.de/pipermail/pulseaudio-discuss/2010-February/006698.html

14 years agobluetooth: add HFP Gateway support
João Paulo Rechi Vita [Fri, 29 Jan 2010 13:01:31 +0000 (11:01 -0200)]
bluetooth: add HFP Gateway support

Create the 'Handsfree Gateway' profile for bluetooth cards and add
filters for 'org.bluez.HandsfreeGateway' to the discover module so
module-bluetooth-device is loaded with the correct profile when a
Handsfree Gateway connects to bluetoothd (in this case bluetoothd
is acting as the headset).

14 years agobluetooth: improve dbus logging
João Paulo Rechi Vita [Fri, 29 Jan 2010 12:59:33 +0000 (10:59 -0200)]
bluetooth: improve dbus logging

14 years agobuild-sys: fix check for pthread_setaffinity_np()
Lennart Poettering [Sun, 21 Feb 2010 19:11:23 +0000 (20:11 +0100)]
build-sys: fix check for pthread_setaffinity_np()

14 years agobuild-sys: Add missing profile and alsa-mixer/paths to src/Makefile.am
Daniel T Chen [Fri, 19 Feb 2010 05:23:17 +0000 (00:23 -0500)]
build-sys: Add missing profile and alsa-mixer/paths to src/Makefile.am

Commits e8cb96c and 0c836aa created mixer paths but did not update
src/Makefile.am.  Building a snapshot containing these two commits
therefore results in the user being unable to adjust the volume or
(un)mute through PA.  Fix this by adding the two new mixer paths
files to src/Makefile.am.

Likewise, commit 66e1a2d created a profile for the M-Audio FastTrack
Pro USB but did not update src/Makefile.am.  Fix this by adding the
profile to src/Makefile.am.

14 years agopacmd: don't enter busy loop when reading from stdin very early
Lennart Poettering [Thu, 18 Feb 2010 02:28:56 +0000 (03:28 +0100)]
pacmd: don't enter busy loop when reading from stdin very early

pointed out in:

https://tango.0pointer.de/pipermail/pulseaudio-discuss/2010-January/006365.html

14 years agodaemon: first take name on the bus, then return in starter process
Lennart Poettering [Thu, 14 Jan 2010 01:33:49 +0000 (02:33 +0100)]
daemon: first take name on the bus, then return in starter process

http://pulseaudio.org/ticket/748

14 years agoscache: when playing a sample from the cache make sure not queue them up when the...
Lennart Poettering [Sun, 21 Feb 2010 16:35:05 +0000 (17:35 +0100)]
scache: when playing a sample from the cache make sure not queue them up when the sink is suspended

libcanberra already sets the appropriate flags for uncached sample
streams, we now need to make sure to set them for cached samples too.

14 years agosample-cache: use the sample name as unmodified fallback in the properties when playi...
Lennart Poettering [Sun, 21 Feb 2010 15:23:25 +0000 (16:23 +0100)]
sample-cache: use the sample name as unmodified fallback in the properties when playing a sample from the cache

14 years agostream-restore: be a little bit more verbose why we don't reastore a sink
Lennart Poettering [Sun, 21 Feb 2010 15:22:17 +0000 (16:22 +0100)]
stream-restore: be a little bit more verbose why we don't reastore a sink

14 years agoproplist: explicitly mention a role 'test'
Lennart Poettering [Sun, 21 Feb 2010 15:21:43 +0000 (16:21 +0100)]
proplist: explicitly mention a role 'test'

14 years agovala: fix wrapping of port setting calls
Lennart Poettering [Sun, 21 Feb 2010 15:21:13 +0000 (16:21 +0100)]
vala: fix wrapping of port setting calls

14 years agochannelmap: Use "Subwoofer" as pretty name for LFE
Lennart Poettering [Sun, 21 Feb 2010 15:19:40 +0000 (16:19 +0100)]
channelmap: Use "Subwoofer" as pretty name for LFE

The pretty name is suspposed to be understandable by non-technical
folks, and they are generally more used to the term "Subwoofer" than
"Low Frequency Emitter", so let's change the name here.

14 years agovala: fix definition of the GLib mainloop adapter
Lennart Poettering [Fri, 19 Feb 2010 02:32:00 +0000 (03:32 +0100)]
vala: fix definition of the GLib mainloop adapter

14 years agovala: fix definition of INVALID_INDEX
Lennart Poettering [Fri, 19 Feb 2010 02:31:46 +0000 (03:31 +0100)]
vala: fix definition of INVALID_INDEX

14 years agoshm: don't complain about missing SHM segments
Lennart Poettering [Fri, 19 Feb 2010 02:29:36 +0000 (03:29 +0100)]
shm: don't complain about missing SHM segments

If two clients try to cleanup the SHM directory at the same time, they
might want to open and then delete the same segment at the same time, in
which case one client might win, the other one lose. In this case, don't
warn about ENOENT.

14 years agopacmd: store away fd type
Lennart Poettering [Thu, 18 Feb 2010 01:32:35 +0000 (02:32 +0100)]
pacmd: store away fd type

14 years agopacat: always fully fulfill write requests
Lennart Poettering [Thu, 18 Feb 2010 00:54:51 +0000 (01:54 +0100)]
pacat: always fully fulfill write requests

Make sure we always fulfill write requests from the server. If we don't
the server won't ask us again and playback will stay stuck.

https://tango.0pointer.de/pipermail/pulseaudio-discuss/2010-February/006611.html

14 years agofdsem: be more verbose when reading from eventfd fails.
Lennart Poettering [Tue, 16 Feb 2010 02:36:44 +0000 (03:36 +0100)]
fdsem: be more verbose when reading from eventfd fails.

Apperently reading from an eventfd can fail, which results in an assert
to be hit. I am not sure about the reason for the failure, but in
attempt to track down the issue the next time is hit this prints a more
useful log message.

https://bugzilla.redhat.com/attachment.cgi?id=386380

14 years agodbus: first restart timer, then dispatch it
Lennart Poettering [Tue, 16 Feb 2010 01:49:44 +0000 (02:49 +0100)]
dbus: first restart timer, then dispatch it

This makes sure that we don't access the timer after it might have been
destroyed already from the dbus timeout callback.

https://bugzilla.redhat.com/attachment.cgi?id=389952

14 years agopadsp: emulate /dev/audio, too
Lennart Poettering [Tue, 16 Feb 2010 01:03:45 +0000 (02:03 +0100)]
padsp: emulate /dev/audio, too

https://bugzilla.redhat.com/show_bug.cgi?id=561262

14 years agobuild-sys: add gobject to build dependencies
Lennart Poettering [Tue, 16 Feb 2010 00:43:00 +0000 (01:43 +0100)]
build-sys: add gobject to build dependencies

Since we call g_object_unref() we need to link against gobject in
compliance of the new Fedora implicit DSO linking policy.

14 years agoalsa: use default output port names
Lennart Poettering [Mon, 15 Feb 2010 23:59:24 +0000 (00:59 +0100)]
alsa: use default output port names

instead of coming up with pointless aliases, reuse the already established
names, for second headphones, and second speakers.

14 years agoalsa: cover "Internal Mic" elements
Lennart Poettering [Mon, 15 Feb 2010 23:58:49 +0000 (00:58 +0100)]
alsa: cover "Internal Mic" elements

https://bugzilla.redhat.com/show_bug.cgi?id=562216

14 years agoalsa: cover 'Shared Mic/Line in', 'Analog Source'
Lennart Poettering [Mon, 15 Feb 2010 22:39:12 +0000 (23:39 +0100)]
alsa: cover 'Shared Mic/Line in', 'Analog Source'

https://bugzilla.redhat.com/show_bug.cgi?id=558638

14 years agoalsa: cover "Desktop Speaker" mixer elements
Lennart Poettering [Mon, 15 Feb 2010 21:23:39 +0000 (22:23 +0100)]
alsa: cover "Desktop Speaker" mixer elements

As exposed by really old Microsoft USB sound systems

14 years agoRevert "pacat: Don't use any buffer attr if we don't set any latency/process time...
Lennart Poettering [Sun, 21 Feb 2010 16:40:44 +0000 (17:40 +0100)]
Revert "pacat: Don't use any buffer attr if we don't set any latency/process time params"

This reverts commit ff2091b2c47dfa7d9f1397627b72d9366b60f566.

14 years agopactl: implement pactl subscribe
Lennart Poettering [Sun, 21 Feb 2010 16:39:47 +0000 (17:39 +0100)]
pactl: implement pactl subscribe

This is a simple debugging tool which prints out subscription events

14 years agovirtual-sink,source: enable virtual-source and virtual-sink
Pierre-Louis Bossart [Thu, 11 Feb 2010 21:46:41 +0000 (15:46 -0600)]
virtual-sink,source: enable virtual-source and virtual-sink

14 years agovirtual-source: boilerplate virtual source for PCM processing on inputs
Pierre-Louis Bossart [Thu, 11 Feb 2010 21:45:35 +0000 (15:45 -0600)]
virtual-source: boilerplate virtual source for PCM processing on inputs

14 years agovirutal-sink: boilerplate virtual sink to add PCM processing
Pierre-Louis Bossart [Thu, 11 Feb 2010 21:44:11 +0000 (15:44 -0600)]
virutal-sink: boilerplate virtual sink to add PCM processing

14 years agopacat: Don't use any buffer attr if we don't set any latency/process time params
Colin Guthrie [Thu, 11 Feb 2010 23:33:19 +0000 (23:33 +0000)]
pacat: Don't use any buffer attr if we don't set any latency/process time params

14 years agonative: rework handling of seeks that depend on variables the client does not know...
Lennart Poettering [Mon, 18 Jan 2010 00:33:04 +0000 (01:33 +0100)]
native: rework handling of seeks that depend on variables the client does not know anything about

All seeks/flushes that depend on the playback buffer read pointer cannot
be accounted for properly in the client since it does not know the
actual read pointer. Due to that the clients do not account for it at
all. We need do the same on the server side. And we did, but a little
bit too extreme. While we properly have not applied the changes to the
"request" counter we still do have to apply it to the "missing" counter.
This patch fixes that.

14 years agoclient: implement $PULSE_LATENCY_MSEC
Lennart Poettering [Fri, 15 Jan 2010 00:25:42 +0000 (01:25 +0100)]
client: implement $PULSE_LATENCY_MSEC

This allows easy overriding of a clients latency setting for debugging
purposes.

http://pulseaudio.org/ticket/753

14 years agopacat: allow configuration of latency in msec
Lennart Poettering [Fri, 15 Jan 2010 00:25:21 +0000 (01:25 +0100)]
pacat: allow configuration of latency in msec

14 years agoudev: use ID_MODEL_ENC instead of ID_MODEL if it is set
Lennart Poettering [Thu, 14 Jan 2010 19:31:00 +0000 (20:31 +0100)]
udev: use ID_MODEL_ENC instead of ID_MODEL if it is set

That way we should be able to make use of the nicer USB strings the USB
hw provides.

Fixes the issues pointed out in:

https://tango.0pointer.de/pipermail/pulseaudio-discuss/2010-January/006248.html

14 years agoalsa: cover bass boost mixer element
Lennart Poettering [Thu, 14 Jan 2010 01:53:50 +0000 (02:53 +0100)]
alsa: cover bass boost mixer element

http://pulseaudio.org/ticket/740

14 years agoudev: rework modem detection a bit
Lennart Poettering [Thu, 14 Jan 2010 01:06:52 +0000 (02:06 +0100)]
udev: rework modem detection a bit

Check every single pcm device of a card whether it is a modem.

14 years agoudev: handle sound cards with both modem and audio properly
Daniel T. Chen [Wed, 13 Jan 2010 23:57:27 +0000 (00:57 +0100)]
udev: handle sound cards with both modem and audio properly

http://pulseaudio.org/ticket/681
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/394500

14 years agoalsa: Cover the 'Int Mic Boost' element.
Colin Guthrie [Wed, 13 Jan 2010 23:47:21 +0000 (23:47 +0000)]
alsa: Cover the 'Int Mic Boost' element.

This is not 100% ideal as we have not way to tie specific boosts to specific
inputs and this particular chipset (as noted in #772) appears to
support just that.

For the time being incorporate it into the normal boost logic.

See http://pulseaudio.org/ticket/772

14 years agoalsa: cover Input Source:Int Mic
Colin Guthrie [Wed, 13 Jan 2010 23:44:00 +0000 (23:44 +0000)]
alsa: cover Input Source:Int Mic

As seen on some HDA chips (e.g. Fujitsu Siemens S6410)
Refs http://pulseaudio.org/ticket/772

14 years agocpu: check for CMOV flag before using this intsruction in assembly
Lennart Poettering [Wed, 13 Jan 2010 19:31:17 +0000 (20:31 +0100)]
cpu: check for CMOV flag before using this intsruction in assembly

http://pulseaudio.org/ticket/776

14 years agoalsa: ignore volume changes from the hw if we are not on the active console
Lennart Poettering [Wed, 13 Jan 2010 19:30:36 +0000 (20:30 +0100)]
alsa: ignore volume changes from the hw if we are not on the active console

14 years agoudev: make sure we get events only for sound devices
Lennart Poettering [Wed, 13 Jan 2010 18:41:44 +0000 (19:41 +0100)]
udev: make sure we get events only for sound devices

14 years agolog: add an easy way to disable log rate limiting
Lennart Poettering [Wed, 13 Jan 2010 16:35:04 +0000 (17:35 +0100)]
log: add an easy way to disable log rate limiting

Should help with debuggin bugs like:

https://bugzilla.redhat.com/show_bug.cgi?id=554405

14 years agobluetooth: fix invalid memory access
Lennart Poettering [Wed, 13 Jan 2010 16:24:37 +0000 (17:24 +0100)]
bluetooth: fix invalid memory access

When an GetProperties() reply arrives after we already deleted the
device structure for it make sure we don't accidentaly touch the
invalidated object.

https://bugzilla.redhat.com/show_bug.cgi?id=543205

14 years agoonce: make once related variables volatile
Lennart Poettering [Tue, 12 Jan 2010 22:03:04 +0000 (23:03 +0100)]
once: make once related variables volatile

14 years agoudev: don't forget to unref devices we are not interested in
Lennart Poettering [Tue, 12 Jan 2010 22:01:24 +0000 (23:01 +0100)]
udev: don't forget to unref devices we are not interested in

https://bugzilla.redhat.com/show_bug.cgi?id=552932

14 years agoclient: verify connection state in pa_stream_connect_upload()
Lennart Poettering [Tue, 12 Jan 2010 02:01:27 +0000 (03:01 +0100)]
client: verify connection state in pa_stream_connect_upload()

Make suer we check the connection state before going on, so that we can
rely that s->context->pstream is properly initialized.

https://bugzilla.redhat.com/show_bug.cgi?id=539500

14 years agoclient: detect forking in sample cache API, too
Lennart Poettering [Tue, 12 Jan 2010 02:01:14 +0000 (03:01 +0100)]
client: detect forking in sample cache API, too

14 years agobluetooth: don't hit an assert if latency is queried for a stooped recording stream
Lennart Poettering [Fri, 8 Jan 2010 22:44:42 +0000 (23:44 +0100)]
bluetooth: don't hit an assert if latency is queried for a stooped recording stream

https://bugzilla.redhat.com/show_bug.cgi?id=537422

14 years agobluetooth: destruct stream only if it is not already destructed
Lennart Poettering [Fri, 8 Jan 2010 21:18:15 +0000 (22:18 +0100)]
bluetooth: destruct stream only if it is not already destructed

https://bugzilla.redhat.com/show_bug.cgi?id=551842

14 years agocore: make sure we always return a valid memblock in sink_input_pop() callbacks
Lennart Poettering [Fri, 8 Jan 2010 20:51:30 +0000 (21:51 +0100)]
core: make sure we always return a valid memblock in sink_input_pop() callbacks

https://bugzilla.redhat.com/show_bug.cgi?id=553607

14 years agonative: fix request counter miscalculations
Lennart Poettering [Fri, 8 Jan 2010 19:07:34 +0000 (20:07 +0100)]
native: fix request counter miscalculations

Do not subtract bytes the client sends us beyond what we requested from
our missing bytes counter.

This was mostly a thinko that caused servers asking for too little data
when the client initially sent more data than requested, because that
data sent too much was accounted for twice.

This commit fixes this miscalculation.

http://bugzilla.redhat.com/show_bug.cgi?id=534130

14 years agodbus: remove filter functions only if they were actually set before
Lennart Poettering [Fri, 8 Jan 2010 19:06:21 +0000 (20:06 +0100)]
dbus: remove filter functions only if they were actually set before

This fixes an assert when destructing modules that have not been fully
initialized.

https://bugzilla.redhat.com/show_bug.cgi?id=548525

14 years agobump soname
Lennart Poettering [Mon, 23 Nov 2009 04:07:00 +0000 (05:07 +0100)]
bump soname

14 years agobuild-sys: bump soname
Lennart Poettering [Wed, 11 Nov 2009 04:32:24 +0000 (05:32 +0100)]
build-sys: bump soname

14 years agocore: Fix macro typo - PA_SINK_IS_LINKED -> PA_SINK_INPUT_IS_LINKED
Colin Guthrie [Tue, 9 Feb 2010 21:37:32 +0000 (21:37 +0000)]
core: Fix macro typo - PA_SINK_IS_LINKED -> PA_SINK_INPUT_IS_LINKED

14 years agostream-restore: Clear the save_sink/save_source flags on apply_entry.
Colin Guthrie [Fri, 5 Feb 2010 00:15:38 +0000 (00:15 +0000)]
stream-restore: Clear the save_sink/save_source flags on apply_entry.

If the user specifically removes the device element from the stream
restore rule, we have to clear the save_sink/save_source flag of the
stream. This means that other stream routing systems
(e.g. module-device-manager) can take over routing for this
stream. In order to facilitate the reapplication of other routing
rules, we fire a stream change event. Arguably the stream itself
has not changed, but the rules governing its routing have, so
I feel this is justified.

14 years agoosx: don't build the once-test binary on OS X
Daniel Mack [Tue, 2 Feb 2010 10:30:09 +0000 (18:30 +0800)]
osx: don't build the once-test binary on OS X

OS X lacks the barrier pthread APIs

14 years agoclient.conf.in: Typo. s/a/are/
Paul Menzel [Sat, 30 Jan 2010 12:59:52 +0000 (13:59 +0100)]
client.conf.in: Typo. s/a/are/

This is the same typo as reported in [1] and fixed in [2] in `client.conf.in`.

I did `git grep "values a commented"` and did not get anymore hits.

[1] http://pulseaudio.org/ticket/783
[2] http://git.0pointer.de/?p=pulseaudio.git;a=commit;h=ea8927f1d47be101a1f64b2f87fd6e527ff76dbe

14 years agoman pages: correct formatting/markup of options
Paul Menzel [Sun, 31 Jan 2010 11:44:59 +0000 (12:44 +0100)]
man pages: correct formatting/markup of options

14 years agoshm: explicitly mark shm seg for MAP_NORESERVE to request overcommiting no matter...
Lennart Poettering [Tue, 2 Feb 2010 07:51:44 +0000 (08:51 +0100)]
shm: explicitly mark shm seg for MAP_NORESERVE to request overcommiting no matter what

14 years agoTypo. s/a/are/
Paul Menzel [Thu, 21 Jan 2010 12:11:56 +0000 (13:11 +0100)]
Typo. s/a/are/

Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
14 years agoclient: include dolby channel names in comments
Lennart Poettering [Thu, 14 Jan 2010 20:32:26 +0000 (21:32 +0100)]
client: include dolby channel names in comments

14 years agostart: we don't need to check for $PULSE_SERVER anymore
Lennart Poettering [Thu, 14 Jan 2010 19:33:40 +0000 (20:33 +0100)]
start: we don't need to check for $PULSE_SERVER anymore

pulseaudio --start does that internally anyway, so we can get rid of
this here.

14 years agonative: when run in system mode, do not look for fallback port
Lennart Poettering [Wed, 13 Jan 2010 23:15:51 +0000 (00:15 +0100)]
native: when run in system mode, do not look for fallback port

14 years agonative: fallback to another port if the default port is taken
Lennart Poettering [Wed, 13 Jan 2010 23:13:13 +0000 (00:13 +0100)]
native: fallback to another port if the default port is taken

Unless the port number is explicitly configured we will now fallback to
a kernel picked port if the one we'd like by default we cannot get.

http://pulseaudio.org/ticket/773

14 years agoclient: introduce auto-connect-display= following the scheme of auto-connect-localhost=
Lennart Poettering [Wed, 13 Jan 2010 21:15:52 +0000 (22:15 +0100)]
client: introduce auto-connect-display= following the scheme of auto-connect-localhost=

Just connecting to a PA server just because X11's $DISPLAY is set might
be a security hole.

14 years agoclient: introduce auto-connect-localhost= option in client.conf
Lennart Poettering [Wed, 13 Jan 2010 21:08:59 +0000 (22:08 +0100)]
client: introduce auto-connect-localhost= option in client.conf

Partly fixes:

http://pulseaudio.org/ticket/773

Also fixes a security hole since listening on the default port is not
access controlled right now.

14 years agoMerge remote branch 'tanuk/fixes'
Lennart Poettering [Wed, 13 Jan 2010 20:33:11 +0000 (21:33 +0100)]
Merge remote branch 'tanuk/fixes'

14 years agotests: add pa_once_xxx() test
Lennart Poettering [Wed, 13 Jan 2010 16:40:31 +0000 (17:40 +0100)]
tests: add pa_once_xxx() test

14 years agodaemon: Don't autospawn if a server address is explicitly configured.
Tanu Kaskinen [Sat, 9 Jan 2010 09:55:15 +0000 (11:55 +0200)]
daemon: Don't autospawn if a server address is explicitly configured.

14 years agosink-input: Replace a tab indentation with spaces.
Tanu Kaskinen [Wed, 6 Jan 2010 08:41:55 +0000 (10:41 +0200)]
sink-input: Replace a tab indentation with spaces.

14 years agoidxset: Fix _get_by_data() comment.
Tanu Kaskinen [Wed, 27 May 2009 13:57:06 +0000 (16:57 +0300)]
idxset: Fix _get_by_data() comment.

14 years agocore: volume ramping fix
huan zheng [Tue, 5 Jan 2010 23:21:07 +0000 (00:21 +0100)]
core: volume ramping fix

Hi,
I found that volume ramping is inside PA now.
there's a minor fix here, it is a bug i found after the patch is submitted:

line 1781 of sink-input.c :
if ((i->thread_info.ramp_info.envelope_dying - nbytes) <= 0) {
need to be changed to
if ((i->thread_info.ramp_info.envelope_dying - (ssize_t) nbytes) <= 0) {

otherwise this argument will never be negative since nbytes is of type
size_t which is unsigned.
Please change it when you have time, sorry if bring any inconvenience.  :)

14 years agoMerge remote branch 'zonque/topic/osx'
Lennart Poettering [Tue, 5 Jan 2010 21:52:57 +0000 (22:52 +0100)]
Merge remote branch 'zonque/topic/osx'

14 years agofix a number of warnings
Daniel Mack [Thu, 10 Dec 2009 07:43:58 +0000 (15:43 +0800)]
fix a number of warnings

most of them were due to missing #ifdefs or wrong printf format type for
[s]size_t.

14 years agoheaders: Some trivial fixes for some documentation typos
Mads Kiilerich [Fri, 11 Dec 2009 15:20:31 +0000 (16:20 +0100)]
headers: Some trivial fixes for some documentation typos

Note also the willneed/will_need inconsistency. I guess it could be nice to ASAP
choose one of them and introduce a backward compatibility hack for the other.

The issues was mostly found with:
for a in $(grep -r '^[ /]\*.*()' $(
find -name '*.[ch]') |
sed 's,^.* \([^ ]*\)().*$,\1,g' |
sort |
uniq |
grep ^pa_)
do
grep -rq "^.[^*].*\<$a(" $(find * -name '*.h') || echo $a
done

14 years agoSubject: rtpoll: better support for DEBUG_TIMING logs
Pierre-Louis Bossart [Wed, 23 Dec 2009 19:57:03 +0000 (13:57 -0600)]
Subject: rtpoll: better support for DEBUG_TIMING logs

On all the platforms I tested, PulseAudio is frequently awaken and
doesn't sleep for the duration specified for the poll timeout.
Sometimes wake-ups occur within milliseconds of the poll call for no
good reason; this seems to be related to ALSA issues (see my posts on
the ALSA mailing list on null poll events).
This patch enables a better log of requested sleep times v. actual
sleep times. Enable DEBUG_TIMING to see actual messages. Please let me
know if you see odd behaviors like the one below
- Pierre

E: rtpoll.c: rtpoll_run
E: rtpoll.c: poll timeout: 188 ms
E: rtpoll.c: Process time 0 ms; sleep time 48 ms
E: rtpoll.c: rtpoll_run
E: rtpoll.c: rtpoll finish
E: rtpoll.c: rtpoll_run
E: rtpoll.c: poll timeout: 139 ms
E: rtpoll.c: Process time 0 ms; sleep time 49 ms
E: rtpoll.c: rtpoll_run
E: rtpoll.c: rtpoll finish
E: rtpoll.c: rtpoll_run
E: rtpoll.c: poll timeout: 189 ms
E: rtpoll.c: Process time 0 ms; sleep time 0 ms
E: rtpoll.c: rtpoll_run
E: rtpoll.c: rtpoll finish
E: rtpoll.c: rtpoll_run
E: rtpoll.c: poll timeout: 189 ms
E: rtpoll.c: Process time 0 ms; sleep time 49 ms

14 years agoFix typo in log message: s/may no be/may not be/
chocolateboy [Sat, 26 Dec 2009 01:46:32 +0000 (01:46 +0000)]
Fix typo in log message: s/may no be/may not be/

Hi, Lennart.

Spotted another typo. Patch attached.

Best wishes,
chocolateboy.

14 years agoalsa: add profile set for M-Audio FastTrack Pro USB
David Kågedal [Tue, 5 Jan 2010 19:14:11 +0000 (20:14 +0100)]
alsa: add profile set for M-Audio FastTrack Pro USB

14 years agoudev: Use SOUND_CLASS instead of SOUND_FORM_FACTOR when checking for modem
Daniel T Chen [Tue, 5 Jan 2010 02:53:36 +0000 (21:53 -0500)]
udev: Use SOUND_CLASS instead of SOUND_FORM_FACTOR when checking for modem

The fact whether an ALSA card is a modem is stored in the SOUND_CLASS,
not the SOUND_FORM_FACTOR property. So read it from there.

Patch from Whoopie.

14 years agothreaded-mainloop: Properly initialise m->n_waiting_for_accept to prevent deadlock
Daniel T Chen [Tue, 5 Jan 2010 02:44:37 +0000 (21:44 -0500)]
threaded-mainloop: Properly initialise m->n_waiting_for_accept to prevent deadlock

Compiler optimisations have been seen to initialise
m->n_waiting_for_accept to a positive non-zero value, so the while() in
pa_threaded_mainloop_signal() never proceeds. Fix this by properly
initializing m->n_waiting_for_accept in pa_threaded_mainloop_new().

Patch from Iain Bucław.

https://bugs.launchpad.net/bugs/502992

14 years agoMore src/pulsecore/cpu-arm.c FTBFS fixes
Daniel T Chen [Thu, 17 Dec 2009 04:55:05 +0000 (23:55 -0500)]
More src/pulsecore/cpu-arm.c FTBFS fixes

Fix missing argument to pa_read(), and be consistent with declaration of
state variable in pa_cpu_init_arm().

Signed-off-by: Daniel T Chen <crimsun@ubuntu.com>
14 years agoFix the following warnings (which now cause buildd failures in Ubuntu 10.04):
Daniel T Chen [Thu, 17 Dec 2009 03:53:18 +0000 (22:53 -0500)]
Fix the following warnings (which now cause buildd failures in Ubuntu 10.04):

pulsecore/cpu-arm.c: In function 'get_cpuinfo':
pulsecore/cpu-arm.c:70: warning: implicit declaration of function 'pa_read' [-Wimplicit-function-declaration]
pulsecore/cpu-arm.c:72: warning: implicit declaration of function 'pa_close' [-Wimplicit-function-declaration]
pulsecore/cpu-arm.c: In function 'pa_cpu_init_arm':
pulsecore/cpu-arm.c:110: warning: implicit declaration of function 'pa_split_spaces' [-Wimplicit-function-declaration]
pulsecore/cpu-arm.c:110: warning: assignment makes pointer from integer without a cast
Function `pa_split_spaces' implicitly converted to pointer at pulsecore/cpu-arm.c:110

Signed-off-by: Daniel T Chen <crimsun@ubuntu.com>
14 years agofix a number of warnings
Daniel Mack [Thu, 10 Dec 2009 07:42:40 +0000 (15:42 +0800)]
fix a number of warnings

most of them were due to missing #ifdefs or wrong printf format type for
[s]size_t.