Lennart Poettering
3e115a96b0
alsa: cover Mic Jack Mode element
...
As used by some HDA chips:
https://bugzilla.redhat.com/attachment.cgi?id=366816
2009-10-31 02:52:35 +01:00
Lennart Poettering
2dc37e1214
bluetooth: do not hand out access to devices that are not fully configured yet
2009-10-31 02:05:54 +01:00
Lennart Poettering
168be3830a
use pa_fopen_cloexec() where applicable
2009-10-30 04:54:19 +01:00
Lennart Poettering
65e7bc18a9
use cloexec wrappers wherever applicable
2009-10-30 03:32:38 +01:00
Jason Newton
d83dd5ba13
module-equalizer-sink:
...
add premultipliar to sse2 dsp_logic implementation
2009-10-29 19:10:16 -07:00
Jason Newton
ebaca56a75
module-equalizer-sink: try to limit buffering to mempool's max_block_size and disable debug output
2009-10-29 18:49:10 -07:00
Jason Newton
5c82dd67d0
drop redundant alloc call
2009-10-29 18:49:10 -07:00
Jason Newton
e9ccc61a2f
module-equalizer-sink: drop source executable permissions configure.ac: add enable/disable + summary line for fftw
2009-10-20 04:09:34 +02:00
Jason Newton
16e77f3ab2
module-equalizer-sink:
...
*fixed SSE2 optimized dsp logic (default if available)
*cleaned up whitespace formatting (again)
2009-10-20 04:09:34 +02:00
Jason Newton
ff903ef542
module-equalizer-sink: fixed equalizer state save/restore
2009-10-20 04:09:32 +02:00
Colin Guthrie
bec67cd75f
device-manager: Fix compiler warning.
...
Do not use a variable called 'index' as it clashes with string.h
2009-10-19 21:50:03 +01:00
Tanu Kaskinen
e064d27004
Merge branch 'master' of git://0pointer.de/pulseaudio
2009-10-13 18:42:47 +03:00
Colin Guthrie
0ff2a6b434
device-manager: Rather than flagging the device as available, just include the sink/source index with PA_INVALID_INDEX meaning unavailable
2009-10-10 15:45:49 +01:00
Tanu Kaskinen
ce033e7f3a
dbusiface-client: Fix the destructor (stop leaking stuff).
2009-10-09 19:44:37 +03:00
Lennart Poettering
d0b478e9a6
Merge remote branch 'coling/history'
2009-10-07 03:46:06 +02:00
Lennart Poettering
9f226d25d6
Merge remote branch 'phish3/master'
2009-10-07 03:43:24 +02:00
Lennart Poettering
692ce73899
Merge remote branch 'tanuk/dbus-work'
2009-10-07 03:39:30 +02:00
Lennart Poettering
b3592a160f
position-event-sounds: never position test sounds in space
2009-10-06 23:34:22 +02:00
Lennart Poettering
c96d2d1117
alsa: disable period event only with tsched=1
2009-10-06 00:17:54 +02:00
Tor-Björn Claesson
7b682c9690
loopback: Setting latency of module-loopback
...
I checked the source code, and latency_msec is missing from the list
of valid module arguments. Attaching a patch to add it.
2009-10-05 23:24:20 +02:00
Lennart Poettering
40c1ca76c4
bluetooth: don't set auto_connect flag when discovering bt devices
2009-10-04 13:00:51 +02:00
Colin Guthrie
9d7a27ec88
device-manager: Play nice with module-stream-restore.
...
If m-s-r sets the device we let it do so. Otherwise we handle the routing. We run before
module-intended-roles as the priority list will likely be configured appropriately
to do the same job, albeit with manual setup.
2009-10-02 22:44:56 +01:00
Colin Guthrie
cc31d7c35a
device-manager: Make use of PA_IDXSET_FOREACH when applying entries.
2009-10-02 21:04:03 +01:00
Colin Guthrie
fdbb550063
device-manager: Keep track as to whether or not the user specifically renamed the device.
...
If the user has not (via our protocol extension) renamed a device, but it happens to now have
a different name (e.g. module-combine automatically updating the description for us or udev-db
getting better etc.) then make sure we update our cache with this updated version.
If the user has set a name, enforce it's use, even if the description is updated by some other
means (e.g. the user manually editing the proplist or another module doing it for them).
2009-10-02 21:01:19 +01:00
Colin Guthrie
6468dcf9d1
device-manager: No need to check the version after calling read_entry()
2009-10-02 19:12:10 +01:00
Tanu Kaskinen
019331d25b
Merge branch 'master' into dbus-work
...
Conflicts:
src/daemon/daemon-conf.c
2009-10-02 17:24:44 +03:00
Jason Newton
e895200169
module-equalizer-sink: disable active profile name restoration as something in pack/unpack is funky and I don't have time for a
...
proper fix
2009-10-02 02:14:56 -07:00
Jason Newton
97056d2a0e
module-equalizer-sink: *added client initiated sync support for filter state *added note of possible unstable behavior with next-power-of-2 sample rate calculation
2009-10-02 02:14:56 -07:00
Jason Newton
a434f4c6af
module-equalizer-sink: resyncing with head and fix invalid writes
...
* pa_log->debug for default equalizer notification
* partially fixed infinite rewind bug
* set max_request to window_size first iteration
* swap order inside ROUND_UP calls
* resync pa_sink_input_new changes
* change pa_sample_clamp parameters to be correct to fix invalid writes
* reenable proper reset logic + proper request size
2009-10-02 02:14:20 -07:00
Colin Guthrie
20eedb2416
device-manager: Misc fixes to co-exist with other stream management/routing modules.
...
* Do not read or set the save_sink/save_source flags. This seems to be for module-stream-restore only...
* Even if a sink is already set by an earlier module, still move it to the sink we dictate.
2009-10-01 22:12:16 +01:00
Colin Guthrie
3a20cf0b9f
device-manager: Misc fixes.
...
* Fix a s/sink/source/ copy paste issue when dumping the database.
* Only show priority list when routing is enabled (as the list is not updated if not)
* Fix a memory access issue when finding the highest priority sinks/sources
* key name->device name efficiency fix.
* Silence noisy debug on reorder - it seems to work :)
* Reroute after reordering.
* Initialise preferred lists to PA_INVALID_INDEX
2009-10-01 21:30:24 +01:00
Colin Guthrie
b8a6436d4b
device-manager: Fix the writing of the database when priority doesn't change.
2009-10-01 20:13:38 +01:00
Colin Guthrie
7633bb8a29
device-manager: Add extra debug messages
2009-10-01 09:08:33 +01:00
Colin Guthrie
f9b2d6500b
device-manager: Change the prefer/defer options to a single 'reorder' command.
...
We put in the devices from the wire into a hashmap and then add all like type device in the database
and then order them based on priority (with the ones specified on the wire always being in that order at
the top of the list.
2009-10-01 09:08:32 +01:00
Colin Guthrie
8977abdc84
device-manager: Don't notify clients on every subscription (it happens all the time).
...
Also compare the entries fully before saving.
2009-10-01 09:08:32 +01:00
Colin Guthrie
bbf67019df
device-manager: Save icon and report current availability over protocol.
...
This also ensures we let clients know whenver a sink changes in some capacity.
Also correct some debug code.
2009-10-01 09:08:32 +01:00
Colin Guthrie
8b2cc4def3
device-manager: Expose the priority lists in the protocol extension.
...
Also leave space for 'icon' and 'available' details too, althought currently this info is dummy.
2009-10-01 09:08:32 +01:00
Colin Guthrie
4dedba73a6
device-manager: Add a function to dump the database which we do whenever we save it (and on startup)
2009-10-01 09:08:32 +01:00
Colin Guthrie
1d43230006
device-manager: Reroute streams when they change allowing the media.role to be updated mid-stream.
...
We do not handle the _EVENT_NEW subscription here as the PA_CORE_HOOK_SINK_INPUT_NEW/PA_CORE_HOOK_SOURCE_OUTPUT_NEW
hook should handle the initial routing.
2009-10-01 09:08:32 +01:00
Colin Guthrie
d3460e3498
device-manager: Refactor the routing method to allow the routing of a single stream
2009-10-01 09:08:32 +01:00
Colin Guthrie
8d0787c1d5
device-manager: More sensible names for internal functions
2009-10-01 09:08:32 +01:00
Colin Guthrie
25f75342d4
device-manager: Reroute the streams on startup and update our cache on enable.
2009-10-01 09:08:31 +01:00
Colin Guthrie
0016b5e265
device-manager: Keep a cache of the highest priority devices for each role.
...
Rather than querying our database on every new stream, we keep a cache and only update it when a sink/source is added/removed.
2009-10-01 09:08:31 +01:00
Colin Guthrie
ce0b2bdc07
device-manager: Fix the database write mode
2009-10-01 09:08:31 +01:00
Colin Guthrie
9e447978eb
device-manager: Some efficiency and safety tweaks
2009-10-01 09:08:31 +01:00
Colin Guthrie
e47f385b09
device-manager: Allow the routing component to be turned on via a module argument as well as via protocol extn.
2009-10-01 09:08:31 +01:00
Colin Guthrie
4fb9dafaf8
device-manager: Remove unused variables
2009-10-01 09:08:31 +01:00
Colin Guthrie
1d04c353ea
device-manager: Set the most appropriate sink/source when new streams are created
2009-10-01 09:08:30 +01:00
Colin Guthrie
74c1c27eaa
device-manager: Add routing functions that are triggered when sinks/soruces are added/removed.
2009-10-01 09:08:30 +01:00
Colin Guthrie
678d8e963d
device-manager: Add a function to get a list of the highest priority device indexes for each role.
2009-10-01 09:08:30 +01:00