Commit graph

948 commits

Author SHA1 Message Date
Lennart Poettering
5cb29f3a60 add a simple abstraction for SIMD operations 2009-01-23 19:45:11 +01:00
Lennart Poettering
2a238b2d7f don't overflow when we do digital amplification of 16 bit samples 2009-01-23 19:40:01 +01:00
Diego E. 'Flameeyes' Pettenò
3e5d9fd37a Use #ifdef to avoid warning about undefined macro. 2009-01-22 23:38:58 +01:00
Lennart Poettering
4dc1916467 add API pa_ncpus() 2009-01-22 02:17:19 +01:00
Jared D. McNeill
c0e4e5a868 NetBSD doesn't know getgrnam_r()/getpwnam_r()
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2009-01-22 02:17:10 +01:00
Jared D. McNeill
ca6b79141b It is more portable to assume that SO_RCVBUF/SO_SNDBUF takes and int instead of a size_t
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2009-01-22 01:55:21 +01:00
Jared D. McNeill
8d89ccdcf2 NetBSD specific atomic operation implementation
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2009-01-22 01:52:35 +01:00
Lennart Poettering
7c11554daa make gcc shut up 2009-01-22 00:26:34 +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
0f7954a9f5 don't include full path in driver name. 2009-01-22 00:15:19 +01:00
Lennart Poettering
996bba7522 implement PA_COMMAND_SET_CARD_PROFILE 2009-01-21 03:04:04 +01:00
Lennart Poettering
9661cd0444 make pa_card_new_data::active_profile a string 2009-01-21 02:46:36 +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
7368a6e6be add priority logic to find best default profile 2009-01-20 20:35:18 +01:00
Lennart Poettering
e0f8c13012 remove unused variable 2009-01-20 20:33:47 +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
b23efc0a4d add missing eof checks 2009-01-20 02:15:43 +01:00
Lennart Poettering
d5e895d5cb document that I am a retard 2009-01-20 00:49:45 +01:00
Marc-André Lureau
310f433848 pulse: share private enum values with client side 2009-01-20 00:16:18 +02:00
Marc-André Lureau
a3762a2f98 cli: fix broken array access with signed state enums
I wish I could have merge sink_to_string and source_to_string, but the
enum values are equal, and we cannot assume they will always be.
2009-01-20 00:16:18 +02:00
Marc-André Lureau
6374f8e427 sink: trigger subscribe event on sink state change 2009-01-20 00:16:18 +02:00
Marc-André Lureau
9c4f8e627a pulse: introspect sink state 2009-01-20 00:16:18 +02:00
Lennart Poettering
ed65081dd8 show dB and balance for cached samples 2009-01-19 23:07:13 +01:00
Lennart Poettering
033791ca9f fix up balance format string a bit 2009-01-19 23:06:37 +01:00
Lennart Poettering
b43a45d184 allow setting properties for modules, too 2009-01-19 22:02:28 +01:00
Lennart Poettering
fe703013ad show balance value in CLI listings 2009-01-19 21:59:57 +01:00
Lennart Poettering
606cf8a2ec get rid of pa_module_get_info because it is not used 2009-01-17 02:17:32 +01:00
Lennart Poettering
76ca5b8578 beautify cli output a bit 2009-01-17 02:09:02 +01:00
Lennart Poettering
f8ba3a9b07 dump profiles when listing cards 2009-01-17 02:03:59 +01:00
Lennart Poettering
c06e43d7ff actually create pa_card object in module-alsa-card 2009-01-17 02:03:35 +01:00
Lennart Poettering
4a66837b83 add pa_strbuf_isempty 2009-01-17 01:57:17 +01:00
Lennart Poettering
5793f93350 make use of PR_SET_TIMERSLACK 2009-01-16 19:57:58 +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
33c22b0102 rename card config to card profile 2009-01-15 23:44:46 +01:00
Lennart Poettering
bae221cca9 rework module usage counter stuff to be pull based 2009-01-15 20:49:12 +01:00
Lennart Poettering
47a2b17d01 make proplist inheritance scheme automatic and implicit 2009-01-15 20:27:07 +01:00
Lennart Poettering
e68e4a57bf make things compile again 2009-01-15 20:26:41 +01:00
Lennart Poettering
29c7a28817 kill autoload stuff as planned 2009-01-15 20:07:13 +01:00
Lennart Poettering
a861ffacc4 Merge commit 'e0f8ffe41f' 2009-01-15 19:19:45 +01:00
Lennart Poettering
615e05584e add functionality to dump list of cards 2009-01-15 18:52:11 +01:00
Lennart Poettering
344c934edb maintain a list of sink inputs/source outputs as part of the pa_client object 2009-01-15 18:38:20 +01:00
Lennart Poettering
b6deb0cc4c add new pa_card object as a way to logically combine multiple sinks and sources 2009-01-15 18:29:16 +01:00