Colin Guthrie
e28903e9e0
Clean up volume/mute settings a bit.
...
As the APEX device only has one channel of volume (e.g. it's always matched) we emulate any variation in channel volumes in software.
Remove the unnecessary callback defininitions.
2009-02-03 23:46:13 +00:00
Marc-André Lureau
539abc365f
bluetooth: typo
2009-02-03 14:19:16 +02:00
Lennart Poettering
08800c35b0
make a couple of functions return proper error codes
2009-02-03 03:14:20 +01:00
Lennart Poettering
59f3001ca5
pull in new SBC/BT files
2009-02-03 01:33:48 +01:00
Lennart Poettering
390133f2dc
big module-bluetooth-device.c rework
2009-02-02 01:58:48 +01:00
Lennart Poettering
62f1f3e563
make rtp.h ANSI C compliant
2009-02-02 01:54:40 +01:00
Lennart Poettering
121a8b9190
handle EAGAIN properly
2009-02-02 01:53:11 +01:00
Lennart Poettering
a41d72bb2e
update sbc stuff
2009-02-02 01:44:37 +01:00
Lennart Poettering
d6fdd71c02
add new functions pa_bluetooth_cleanup_name() and pa_bluetooth_get_form_factor()
2009-02-02 00:30:10 +01:00
Lennart Poettering
55e6331bed
store the module index shifted by 1 to map PA_INVALID_INDEX to NULL
2009-02-02 00:25:02 +01:00
Lennart Poettering
6b803217ce
Merge branch 'master' into lennartsbtfixes
2009-01-30 04:28:05 +01:00
Lennart Poettering
e6f4586f7b
include ALSA driver in properties for cards/sink
2009-01-30 02:24:58 +01:00
Lennart Poettering
4bd654542e
add new function pa_alsa_get_driver_name()
2009-01-30 02:24:40 +01:00
Lennart Poettering
4a75002ebe
add missing files
2009-01-29 20:30:42 +01:00
Lennart Poettering
a71fa021a3
temporary commit of lennarts new bt changes
2009-01-29 16:27:27 +01:00
Lennart Poettering
47a9b96b64
add some helpers for dealing with DBusPendingCall based on Mrc-Andre's work in module-bluetooth-discover
2009-01-29 16:26:34 +01:00
Lennart Poettering
4a06af6081
make use of new functions pa_dbus_add_matches/pa_dbus_remove_matches
2009-01-29 03:31:42 +01:00
Lennart Poettering
509535d240
add new functions pa_dbus_add_matches()/pa_dbus_remove_matches()
2009-01-29 03:30:50 +01:00
Lennart Poettering
daf0612e37
make things compile again
2009-01-28 04:49:07 +01:00
Lennart Poettering
b56e0389d1
Merge commit ' 12db687acf'
2009-01-28 04:22:51 +01:00
Lennart Poettering
a5401a50a6
store the default sink/source in proper pa_sink*/pa_source* pointers instead of a string
2009-01-28 01:46:27 +01:00
Lennart Poettering
fc3ff11418
fix two typos
2009-01-28 01:39:19 +01:00
Lennart Poettering
98821c783d
print the right software volume
2009-01-28 01:31:54 +01:00
Marc-André Lureau
12db687acf
bluetooth: cold hsp/a2dp device detection
2009-01-28 01:29:19 +02:00
Marc-André Lureau
a6a1b42c87
bluetooth: hsp volume control
2009-01-28 01:29:19 +02:00
Lennart Poettering
611154caca
Merge commit 'coling/master'
2009-01-28 00:25:50 +01:00
Lennart Poettering
3affa7e02d
make m-v-r a stub that simply load m-s-r
2009-01-28 00:22:28 +01:00
Lennart Poettering
63157a6662
add missing usage strings
2009-01-28 00:19:47 +01:00
Colin Guthrie
6e31178fd9
Fix the message processing for PA_SINK_MESSAGE_GET_LATENCY by returning rather than breaking and falling through.
2009-01-27 23:02:41 +00:00
Lennart Poettering
514661e36c
don't make m-e-s hit an assert when the latency is queried
2009-01-27 23:58:34 +01:00
Lennart Poettering
0f664b7365
instead of making the volume relative our own, let' pa_sink_input_new() do it for us
2009-01-27 23:55:41 +01:00
Lennart Poettering
e439c18785
make m-p-e-s use pa_cvolume_set_balance()
2009-01-27 23:55:37 +01:00
Lennart Poettering
d1b754d998
only store volume/device information that has been flagged for saving, and store both relative and absolute volumes
2009-01-27 23:40:03 +01:00
Lennart Poettering
64b0543588
when changing volume, store whether it is worth remembering or no
2009-01-27 23:40:03 +01:00
Lennart Poettering
0ca16caff7
add new paramter ignore_dB= to alsa modules
2009-01-27 17:55:50 +01:00
Lennart Poettering
d5f46e824e
move flat volume logic into the core. while doing so add n_volume_steps field to sinks/sources
2009-01-27 04:39:07 +01:00
Lennart Poettering
eca32235fb
get rid of module-flat-volumes since we are moving this into the core
2009-01-27 04:29:25 +01:00
Lennart Poettering
07db64b9d3
remove redundant cast
2009-01-27 00:53:31 +01:00
Lennart Poettering
a365c8212d
include a few HAL properties in our card/sink/source properties for ALSA devices
2009-01-24 01:25:11 +01:00
Lennart Poettering
54dad91f07
use pa_log_ratelimit() at a few places
2009-01-24 00:12:12 +01:00
Lennart Poettering
db27c6347e
make module-alsa-card move streams between the old and new sink/source, allowing 'hot' switching between profiles
2009-01-23 22:40:32 +01:00
Lennart Poettering
29cb778dcc
move sink input/source output move functions into two parts so that we can start the move, delete the original sink, create a new sink, finish the move; similar for source outputs
2009-01-23 22:38:30 +01:00
Lennart Poettering
967c17a190
teach module-rescue-streams and module-always-sink to not do anything if we are shutting down anyway
2009-01-23 22:30:02 +01:00
Diego E. 'Flameeyes' Pettenò
3e5d9fd37a
Use #ifdef to avoid warning about undefined macro.
2009-01-22 23:38:58 +01:00
Jared D. McNeill
7c7133e09d
NetBSD sometimes doesn't know SNDCTL_DSP_GETODELAY
...
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2009-01-22 02:24:04 +01:00
Jared D. McNeill
61075a78f7
NetBSD doesn't know ENOLINK
...
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2009-01-22 01:57:52 +01:00
Jared D. McNeill
75eeea65bd
NetBSD needs to include sys/uio.h for some socket functions
...
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2009-01-22 01:37:38 +01:00
Lennart Poettering
bb23932e9a
When resuming an OSS device ask for the very same fragment settings as we did the first time
...
In OSS it is only possible to request fragment sizes that are powers of
2. However actually selected fragment sizes may be arbitrary values.
This means that it is not always possible to request the same fragment
size after a suspend that was used before the suspend because we simply
cannot express it in the request. To work around that we should issue
the same request as we did the first time.
2009-01-22 01:15:49 +01:00
Lennart Poettering
3be4c31ee0
rework module-hal-detect and make it use module-alsa-card instead of module-alsa-sink/-source
2009-01-22 00:26:34 +01:00
Lennart Poettering
b2ef19acc5
include PA_SINK_INVALID_STATE in all switch/case statements to make gcc shut up
2009-01-22 00:26:34 +01:00