Lennart Poettering
323f0ad403
build-sys: fix check for pthread_setaffinity_np()
2010-02-21 20:11:23 +01:00
Daniel T Chen
2b2149dc9d
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.
2010-02-21 18:16:03 +01:00
Lennart Poettering
609a005b77
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
2010-02-21 18:13:26 +01:00
Lennart Poettering
83eb8afc5f
daemon: first take name on the bus, then return in starter process
...
http://pulseaudio.org/ticket/748
2010-02-21 17:53:24 +01:00
Lennart Poettering
ea29b11097
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.
2010-02-21 17:48:55 +01:00
Lennart Poettering
3f1c90b9d7
sample-cache: use the sample name as unmodified fallback in the properties when playing a sample from the cache
2010-02-21 17:48:50 +01:00
Lennart Poettering
857ff2c160
stream-restore: be a little bit more verbose why we don't reastore a sink
2010-02-21 17:48:46 +01:00
Lennart Poettering
7098d60b30
proplist: explicitly mention a role 'test'
2010-02-21 17:48:42 +01:00
Lennart Poettering
534def2d2b
vala: fix wrapping of port setting calls
2010-02-21 17:48:39 +01:00
Lennart Poettering
27427c114c
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.
2010-02-21 17:48:36 +01:00
Lennart Poettering
c25665ed10
vala: fix definition of the GLib mainloop adapter
2010-02-21 17:48:24 +01:00
Lennart Poettering
57e0e2cdab
vala: fix definition of INVALID_INDEX
2010-02-21 17:48:20 +01:00
Lennart Poettering
c2079d792c
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.
2010-02-21 17:48:17 +01:00
Lennart Poettering
f9f2d6f3e0
pacmd: store away fd type
2010-02-21 17:47:48 +01:00
Lennart Poettering
d57ba82414
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
2010-02-21 17:47:44 +01:00
Lennart Poettering
b9bcc7c733
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
2010-02-21 17:47:40 +01:00
Lennart Poettering
ac76dbde63
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
2010-02-21 17:47:36 +01:00
Lennart Poettering
69ddfaf6ed
padsp: emulate /dev/audio, too
...
https://bugzilla.redhat.com/show_bug.cgi?id=561262
2010-02-21 17:47:31 +01:00
Lennart Poettering
80093c94be
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.
2010-02-21 17:47:27 +01:00
Lennart Poettering
abfd2aa0e7
alsa: use default output port names
...
instead of coming up with pointless aliases, reuse the already established
names, for second headphones, and second speakers.
2010-02-21 17:47:23 +01:00
Lennart Poettering
dfa00bf8f8
alsa: cover "Internal Mic" elements
...
https://bugzilla.redhat.com/show_bug.cgi?id=562216
2010-02-21 17:47:13 +01:00
Lennart Poettering
67e3925795
alsa: cover 'Shared Mic/Line in', 'Analog Source'
...
https://bugzilla.redhat.com/show_bug.cgi?id=558638
2010-02-21 17:47:09 +01:00
Lennart Poettering
14e4369bee
alsa: cover "Desktop Speaker" mixer elements
...
As exposed by really old Microsoft USB sound systems
2010-02-21 17:47:01 +01:00
Lennart Poettering
f6f957b53c
Revert "pacat: Don't use any buffer attr if we don't set any latency/process time params"
...
This reverts commit ff2091b2c4 .
2010-02-21 17:40:44 +01:00
Lennart Poettering
2c631dfe9a
pactl: implement pactl subscribe
...
This is a simple debugging tool which prints out subscription events
2010-02-21 17:39:47 +01:00
Pierre-Louis Bossart
3e6293f422
virtual-sink,source: enable virtual-source and virtual-sink
2010-02-17 04:17:31 +01:00
Pierre-Louis Bossart
bffd21f566
virtual-source: boilerplate virtual source for PCM processing on inputs
2010-02-17 04:17:23 +01:00
Pierre-Louis Bossart
9ffb4f3815
virutal-sink: boilerplate virtual sink to add PCM processing
2010-02-17 04:17:14 +01:00
Colin Guthrie
ff2091b2c4
pacat: Don't use any buffer attr if we don't set any latency/process time params
2010-02-11 23:33:19 +00:00
Lennart Poettering
66cfa72eb4
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.
2010-02-09 22:45:59 +00:00
Lennart Poettering
d090995262
client: implement $PULSE_LATENCY_MSEC
...
This allows easy overriding of a clients latency setting for debugging
purposes.
http://pulseaudio.org/ticket/753
2010-02-09 22:44:49 +00:00
Lennart Poettering
fb55798a3e
pacat: allow configuration of latency in msec
2010-02-09 22:44:30 +00:00
Lennart Poettering
544fa0b7db
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
2010-02-09 22:44:00 +00:00
Lennart Poettering
4315f277bc
alsa: cover bass boost mixer element
...
http://pulseaudio.org/ticket/740
2010-02-09 22:43:14 +00:00
Lennart Poettering
63ebd05464
udev: rework modem detection a bit
...
Check every single pcm device of a card whether it is a modem.
2010-02-09 22:34:10 +00:00
Daniel T. Chen
c2ab61c54d
udev: handle sound cards with both modem and audio properly
...
http://pulseaudio.org/ticket/681
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/394500
2010-02-09 22:33:28 +00:00
Colin Guthrie
7b89c8531c
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
2010-02-09 22:33:18 +00:00
Colin Guthrie
7f6531d3ce
alsa: cover Input Source:Int Mic
...
As seen on some HDA chips (e.g. Fujitsu Siemens S6410)
Refs http://pulseaudio.org/ticket/772
2010-02-09 22:32:53 +00:00
Lennart Poettering
54025c96a7
cpu: check for CMOV flag before using this intsruction in assembly
...
http://pulseaudio.org/ticket/776
2010-02-09 22:32:39 +00:00
Lennart Poettering
c88e4680f0
alsa: ignore volume changes from the hw if we are not on the active console
2010-02-09 22:32:28 +00:00
Lennart Poettering
ce7bd05ca5
udev: make sure we get events only for sound devices
2010-02-09 22:32:14 +00:00
Lennart Poettering
f732c23d95
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
2010-02-09 22:31:55 +00:00
Lennart Poettering
41ce7cbde9
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
2010-02-09 22:31:40 +00:00
Lennart Poettering
7f7455b1be
once: make once related variables volatile
2010-02-09 22:31:30 +00:00
Lennart Poettering
66ddeede9e
udev: don't forget to unref devices we are not interested in
...
https://bugzilla.redhat.com/show_bug.cgi?id=552932
2010-02-09 22:31:18 +00:00
Lennart Poettering
9ac12b7048
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
2010-02-09 22:31:01 +00:00
Lennart Poettering
7ab9bea29d
client: detect forking in sample cache API, too
2010-02-09 22:30:20 +00:00
Lennart Poettering
e8a2d12724
bluetooth: don't hit an assert if latency is queried for a stooped recording stream
...
https://bugzilla.redhat.com/show_bug.cgi?id=537422
2010-02-09 22:30:08 +00:00
Lennart Poettering
21250ff1a7
bluetooth: destruct stream only if it is not already destructed
...
https://bugzilla.redhat.com/show_bug.cgi?id=551842
2010-02-09 22:29:56 +00:00
Lennart Poettering
345547853b
core: make sure we always return a valid memblock in sink_input_pop() callbacks
...
https://bugzilla.redhat.com/show_bug.cgi?id=553607
2010-02-09 22:29:38 +00:00