Lennart Poettering
31575f7766
alsa: rework mixer logic
...
Completely rework mixer logic. This now allows controlling a full set of
elements from a single sink's volume slider/mute button.
This also introduces sink and source "ports" that can be used to choose
different input or output ports with the UI. (i.e. "mic"/"line-in" or
"speaker"/"headphones".
The mixer paths and device maps are now configered in external
configuration files and can be tweaked as necessary.
2009-06-17 03:45:14 +02:00
Lennart Poettering
f13bbd576f
prop: introduce new PA_PROP_DEVICE_INTENDED_ROLES property
2009-06-08 16:58:45 +02:00
Lennart Poettering
1c4393acf0
modules: add {sink|source|card}_properties argument to all modules
2009-05-28 02:39:22 +02:00
Jyri Sarha
44e566ade8
bluetooth-device: Add safe guard against BT streaming irregularities.
...
Some bad quality BT-headsets block bluez socket sometimes for hundreds
of milliseconds, especially when changing mode. When the module tries
catch up the lost time it may SBC encode up to half a second of audio
without yielding. On slow machine this may cause maximum RT time slice
to be exceeded. Cleaned out the minor fix that slipped into first version
of the patch.
2009-05-08 22:49:42 +02:00
Lennart Poettering
3766850c8b
core: introduce pa_{sink,source}_set_fixed_latency()
...
This allows us to forward the fixed latency directly from the sink to
the monitor source withut having to wait for pa_sink_put().
2009-05-08 02:04:48 +02:00
Marc-André Lureau
099b3284ec
bluetoth-device: be less strict on CONNECTED state to switch profile
2009-04-17 22:41:36 +02:00
Lennart Poettering
ee6657aa9a
bluetooth: when starting up HSP stream, send 2 packets first, only afterwards enter one-read-one-write logic
2009-04-10 01:31:30 +02:00
Lennart Poettering
d77b28cb4b
bluetooth: rework timing logic, properly implement latency callbacks
2009-04-10 01:30:50 +02:00
Lennart Poettering
e9a4dec81e
bluetooth: be a bit more verbose if we exit due to bad poll() revents flag
2009-04-10 01:29:46 +02:00
Lennart Poettering
48cff5b55d
bluetooth: rename sco to hsp also for the user
2009-04-10 01:28:21 +02:00
Lennart Poettering
6c04a1c903
bluetooth: make sure to set max_request
2009-04-08 04:15:42 +02:00
Lennart Poettering
d035f4a3f3
Modify smoothing code to make cubic interpolation optional and allow 'quick fixups' on resuming
...
The primary reason for this change is to allow time graphs that do not
go through the origin and hence smoothing starting from the origin is
not desired. This change will allow passing time data into the smoother
while paused and then abruptly use that data without smoothing using the
'quick fixup' flag when resuming.
Primary use case is allowing recording time graphs where the data
recorded originates from a time before the stream was created. The
resulting graft will be shifted and should not be smoothened to go
through the origin.
2009-04-05 02:26:02 +02:00
Lennart Poettering
857a1f4909
fix compiler warning
2009-03-30 20:57:23 +02:00
Lennart Poettering
90fbc036f4
make sure we never access an invalid pa_bluetooth_device object
2009-03-30 20:57:12 +02:00
Lennart Poettering
1390564227
Merge commit 'elmarco/bluetooth-fixes'
2009-03-30 20:34:49 +02:00
Marc-André Lureau
eb93e2537a
dbus: split dbus-util into dbus-shared
...
modules: fix dbus-util include
pulse: get dbus at context connection
2009-03-30 20:56:55 +03:00
Marc-André Lureau
87fcb3d592
bluetooth: use new audio State properties
2009-03-27 22:59:57 +02:00
Marc-André Lureau
9e8c2d393a
bluetooth: don't access outside array range
2009-03-27 22:59:53 +02:00
Marc-André Lureau
61cd6d4c19
bluetooth: fail when switching on non-connected profile
2009-03-27 20:43:42 +02:00
Luiz Augusto von Dentz
13f1c4413b
Do not reconfigure capabilities.
2009-03-26 15:40:04 -03:00
Luiz Augusto von Dentz
168c741b64
Query and make use of the current configuration.
2009-03-26 15:40:04 -03:00
Luiz Augusto von Dentz
071b3e7fc5
Update ipc to match new message headers introduced on BlueZ 4.34.
2009-03-26 15:40:04 -03:00
Marc-André Lureau
a7246bd635
bluetooth: fix #NOKIA, correctly unlink sink/src
2009-03-24 21:44:51 +01:00
Lennart Poettering
c14da67050
readd volume control logic
2009-03-21 02:54:18 +01:00
Lennart Poettering
8d5b375f67
at a couple of #ifdef NOKIAs for now
2009-03-21 01:31:38 +01:00
Lennart Poettering
3aa39726db
rework device discovery to share a single device list among all modules
2009-03-21 01:19:49 +01:00
Lennart Poettering
77a1db16b9
fix a misplaced assert
2009-03-20 18:34:16 +01:00
Lennart Poettering
888e44f3b0
rework bluetooth IO loops
2009-03-20 18:04:23 +01:00
Lennart Poettering
33a8f53ddf
simply bluetooth nrec handling a bit
2009-03-20 13:54:45 +01:00
Lennart Poettering
dd40006718
document things that need to be fixed with FIXME
2009-03-19 18:05:26 +01:00
Lennart Poettering
4a983124e1
Merge commit 'elmarco/bluetooth-fixes'
2009-03-19 17:46:13 +01:00
Lennart Poettering
291d21c4ba
fix prototypes of sbc functions a bit
2009-03-19 17:44:42 +01:00
Lennart Poettering
794775bb51
document todo items discussed at bt meeting
2009-03-19 17:20:56 +01:00
Lennart Poettering
303cd907b9
get rid of setsockopt() calls since they have never been implemented upstream
2009-03-19 17:18:08 +01:00
Marc-André Lureau
af9f92bfaa
bluetooth: update SCO over PCM with latest changes
2009-03-19 17:33:34 +02:00
Marc-André Lureau
9e93b9ce0b
bluetooth: stream also when source is suspended
2009-03-05 18:19:39 +02:00
Marc-André Lureau
018cadd337
bluetooth: restart timer when write begin
2009-03-05 18:19:13 +02:00
Marc-André Lureau
362d196093
bluetooth: accept temporarily unavailable error
2009-03-05 17:04:39 +02:00
Marc-André Lureau
12ea5707b5
bluetooth: reset read/write index when starting to stream
2009-03-05 15:47:13 +02:00
Marc-André Lureau
7a8be7f91e
bluetooth: don't init profile when off
2009-03-04 17:16:10 +02:00
Marc-André Lureau
683548e8bc
bluetooth: service_fd could be 0
2009-03-04 17:07:45 +02:00
Marc-André Lureau
fa736887f4
bluetooth: hsp case, check l for appropriate error message
2009-03-04 17:07:45 +02:00
Colin Guthrie
86dee05aec
Use LGPL 2.1 on all files previously using LGPL 2
2009-03-03 20:23:02 +00:00
Lennart Poettering
cc8d51ad62
rename PA_PROP_DEVICE_CONNECTOR to PA_PROP_DEVICE_BUS
2009-03-01 20:32:32 +01:00
Lennart Poettering
2d9ae496c9
rework suspending/resuming
2009-02-22 02:00:25 +01:00
Marc-André Lureau
9f89907bfa
bluetooth: fix suspend on a2dp (to do on HSP non SCO over PCM)
...
- s/setup_stream_fd/start_stream_fd
- introduce stop_stream_fd to suspend properly the stream_fd (does
not seem necessary when shuting down)
- move {start,stop}_stream_fd to IO thread, it is also a good idea
because it takes about 1s to setup.
2009-02-20 03:32:25 +01:00
Lennart Poettering
7bc1847596
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
2009-02-20 03:21:46 +01:00
Lennart Poettering
fdca6edf20
make profile names translatable
2009-02-20 01:18:37 +01:00
Marc-André Lureau
38ded3bb31
bluetooth: print SBC encoder implementation info
...
The encoder initialization is done lazily, so we can only get the
information once encoding start. This is abit annoying..
2009-02-18 15:20:48 +02:00
Marc-André Lureau
b4c391ee5e
bluetooth: don't crash on pa_thread_mq_done() if pa_init() fail
2009-02-18 15:20:48 +02:00