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
Lennart Poettering
4b2a682741
fix minor memleak in prober
2009-01-22 00:26:34 +01:00
Lennart Poettering
b606c0940a
rework logic how alsa sinks/sources/cards are named
2009-01-22 00:26:34 +01:00
Lennart Poettering
1c84251ec5
fix segfault when in record-only mode
2009-01-22 00:26:34 +01:00
Lennart Poettering
8519f54a0e
only reread volume if we actually have a good mixer. Closes #466
2009-01-22 00:26:29 +01:00
Lennart Poettering
40f2e21aa7
make gcc shut up a bit more
2009-01-22 00:19:04 +01:00
Lennart Poettering
bdfec1feba
mark a few more ALSA dB values as 'valid' for valgrind
2009-01-22 00:16:28 +01:00
Lennart Poettering
13315a7e4c
add a card profile restore module
2009-01-21 02:49:42 +01:00
Lennart Poettering
c512ebf4ab
minor cleanups
2009-01-21 02:47:49 +01:00
Lennart Poettering
10e5c70286
don't restore mute/volume when already set
2009-01-21 02:47:26 +01:00
Lennart Poettering
e8f93b125e
make implementation of module-alsa-card complete
2009-01-21 02:02:30 +01:00
Lennart Poettering
7ca0e00a2c
fill in dev_id properly
2009-01-21 02:01:44 +01:00
Lennart Poettering
28f05e0435
remove leftover define
2009-01-21 01:59:59 +01:00
Lennart Poettering
16d200e369
add an API to create arbitrary alsa sinks/sources dynamically without having to load/unload modules
2009-01-21 00:23:18 +01:00
Lennart Poettering
b88b89a676
add new call pa_alsa_open_by_device_id_profile()
2009-01-20 21:37:30 +01:00
Lennart Poettering
04e9214065
export pa_channel_map_superset()
2009-01-20 21:37:23 +01:00
Lennart Poettering
7368a6e6be
add priority logic to find best default profile
2009-01-20 20:35:18 +01:00
Lennart Poettering
b3a043fd31
always add 'disabled' profile
2009-01-20 20:34:46 +01:00
Lennart Poettering
67fcc76093
fix profile names to include input/output specifier
2009-01-20 03:23:32 +01:00
Lennart Poettering
f83111dd17
Merge commit 'vudentz/master'
2009-01-19 23:12:23 +01:00
Lennart Poettering
b987e5eeb8
fix bad free()
2009-01-19 22:02:40 +01:00
Luiz Augusto von Dentz
4460a5d5d5
Fix hsp rate and channels.
2009-01-19 10:19:53 -03:00
Lennart Poettering
c06e43d7ff
actually create pa_card object in module-alsa-card
2009-01-17 02:03:35 +01:00
Lennart Poettering
c560aea4c9
Don't enumerate invalid profile
2009-01-17 02:01:37 +01:00
Lennart Poettering
f03a7e43db
Split up pa_alsa_init_proplist into two seperate functions for the card and snd_pcm_t specific parts
2009-01-17 02:00:57 +01:00
Lennart Poettering
b4d80462bf
add card profile prober
2009-01-16 23:33:15 +01:00
Lennart Poettering
b2b2eb1ee7
remvoe a bit of duplicate code
2009-01-16 22:01:45 +01:00
Lennart Poettering
4a13763797
Add support for 24bit samples encoded in the LSB of 32 bit words
2009-01-16 18:39:36 +01:00
Lennart Poettering
6dc76d1158
add support for 24bit packed samples
2009-01-16 03:15:39 +01:00
Lennart Poettering
4d4956ea2f
Add SPDIF/HDMI ALSA devices and device descriptions to device search table
2009-01-15 23:46:42 +01:00
Lennart Poettering
421011930a
add stub makefiles for oss and alsa subdirs
2009-01-15 21:03:32 +01:00
Lennart Poettering
c7fff97782
move alsa and oss modules into their own subdirectories
2009-01-15 21:02:01 +01:00
Lennart Poettering
bae221cca9
rework module usage counter stuff to be pull based
2009-01-15 20:49:12 +01:00
Lennart Poettering
29c7a28817
kill autoload stuff as planned
2009-01-15 20:07:13 +01:00
Marc-André Lureau
43762ed620
flat-volume: use pa_sink_get_volume(s, TRUE) to work with slaved sink
2009-01-15 19:20:33 +01:00
Lennart Poettering
a861ffacc4
Merge commit ' e0f8ffe41f'
2009-01-15 19:19:45 +01:00
Lennart Poettering
d2757c9842
redirect folks to the ALSA developers not me when their sound drivers are broken
2009-01-15 19:16:55 +01:00
Lennart Poettering
a3695dd9eb
port missing modules to new pa_client_new() API
2009-01-15 18:21:57 +01:00
Lennart Poettering
75119e91cd
add new dont_rewind_render flag to allow quick starts of newly created streams
2009-01-15 00:40:06 +01:00
Marc-André Lureau
e0f8ffe41f
match: add "key" argument to match different properties
2009-01-14 21:38:15 +02:00
Marc-André Lureau
e97ed21892
match: can now change properties also
2009-01-14 21:38:15 +02:00
Lennart Poettering
587a08bae4
Fix a typo I know owe Marc-Andre a beer for.
2009-01-14 00:54:38 +01:00