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
7c11554daa
make gcc shut up
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
a5c9546fc7
fix copy'n'paste error
2009-01-22 00:17:55 +01:00
Lennart Poettering
251f720b05
add new function pa_strna
2009-01-22 00:17:31 +01:00
Lennart Poettering
36362f624f
add new function pa_card_suspend()
2009-01-22 00:17:11 +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
0f7954a9f5
don't include full path in driver name.
2009-01-22 00:15:19 +01:00
Lennart Poettering
bf7217b6a5
require autoconf 2.63
2009-01-22 00:11:58 +01:00
Lennart Poettering
601293d346
implement pactl set-card-profile
2009-01-21 03:04:19 +01:00
Lennart Poettering
996bba7522
implement PA_COMMAND_SET_CARD_PROFILE
2009-01-21 03:04:04 +01:00
Lennart Poettering
1375a9a0c2
enable module-card-restore by default
2009-01-21 02:50:29 +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
9661cd0444
make pa_card_new_data::active_profile a string
2009-01-21 02:46:36 +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
cba4c6b9eb
when changing profiles do the actual assignment in the generic implementation
2009-01-21 01:59:15 +01:00
Lennart Poettering
1d0bd6e5b7
remove bogus pa_core_check_idle() call
2009-01-21 01:55:26 +01:00
Lennart Poettering
dc2a4bd887
add set-card-profile CLI command
2009-01-21 01:54:14 +01:00
Lennart Poettering
9a0dbda654
allow cards be referenced by their index
2009-01-21 01:53:09 +01:00
Lennart Poettering
b6b0e07c31
fix copy/paste error
2009-01-21 01:52:10 +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
e0f8c13012
remove unused variable
2009-01-20 20:33:47 +01:00
Lennart Poettering
86f3fb8b12
show active profile
2009-01-20 20:33:28 +01:00
Lennart Poettering
a65c2c7336
add client API for querying card information
2009-01-20 03:25:29 +01:00
Lennart Poettering
85bc5eb39a
dump active profile
2009-01-20 03:24:59 +01:00
Lennart Poettering
7aa7a7b6ac
fix destruction when no profiles are defined
2009-01-20 03:24:40 +01:00
Lennart Poettering
936862362c
don't divide by zero if no left resp. no right channels are defined
2009-01-20 03:24:11 +01:00
Lennart Poettering
67fcc76093
fix profile names to include input/output specifier
2009-01-20 03:23:32 +01:00
Lennart Poettering
b23efc0a4d
add missing eof checks
2009-01-20 02:15:43 +01:00
Lennart Poettering
47a2f9e3da
Merge commit 'flameeyes/buildfixes-2'
2009-01-20 00:55:36 +01:00
Diego E. 'Flameeyes' Pettenò
bc41fdb20d
Include the alsa/ subdirectory for modules in the search path.
...
Without this, out of tree builds fails.
2009-01-20 00:55:42 +01:00
Diego E. 'Flameeyes' Pettenò
bd70e80531
Allow to opt-out from building tests.
...
Since the tests are only useful either if you're hacking at pulseaudio as
a developer, or when running "make check", allow users to opt-out from
their build.
This for instance allows for Gentoo users not to build the tests when
installing the ebuild with tests disabled, and also allow for skipping over
eventually broken tests when trying to get the basic build going on a port.
2009-01-20 00:55:39 +01:00
Lennart Poettering
d5e895d5cb
document that I am a retard
2009-01-20 00:49:45 +01:00
Lennart Poettering
8839d86672
remove misplaced whitespace
2009-01-20 00:14:50 +01:00
Lennart Poettering
8c4e2be05b
include sink/source state in pactl output
2009-01-19 23:55:22 +01:00
Lennart Poettering
8886e66ff6
Document explicitly that the internal sink/source states are not considered part of the ABI/API
2009-01-19 23:54:44 +01:00