Jared D. McNeill [Thu, 22 Jan 2009 00:37:19 +0000 (01:37 +0100)]
NetBSD needs to include sys/uio.h for some socket functions
Signed-off-by: Lennart Poettering <lennart@poettering.net>
Lennart Poettering [Thu, 22 Jan 2009 00:15:49 +0000 (01:15 +0100)]
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.
Lennart Poettering [Wed, 21 Jan 2009 23:26:16 +0000 (00:26 +0100)]
rework module-hal-detect and make it use module-alsa-card instead of module-alsa-sink/-source
Lennart Poettering [Wed, 21 Jan 2009 23:25:36 +0000 (00:25 +0100)]
include PA_SINK_INVALID_STATE in all switch/case statements to make gcc shut up
Lennart Poettering [Wed, 21 Jan 2009 23:24:28 +0000 (00:24 +0100)]
fix minor memleak in prober
Lennart Poettering [Wed, 21 Jan 2009 23:24:13 +0000 (00:24 +0100)]
rework logic how alsa sinks/sources/cards are named
Lennart Poettering [Wed, 21 Jan 2009 23:22:46 +0000 (00:22 +0100)]
make gcc shut up
Lennart Poettering [Wed, 21 Jan 2009 23:22:29 +0000 (00:22 +0100)]
fix segfault when in record-only mode
Lennart Poettering [Wed, 21 Jan 2009 23:20:15 +0000 (00:20 +0100)]
only reread volume if we actually have a good mixer. Closes #466
Lennart Poettering [Wed, 21 Jan 2009 23:19:04 +0000 (00:19 +0100)]
make gcc shut up a bit more
Lennart Poettering [Wed, 21 Jan 2009 23:17:55 +0000 (00:17 +0100)]
fix copy'n'paste error
Lennart Poettering [Wed, 21 Jan 2009 23:17:31 +0000 (00:17 +0100)]
add new function pa_strna
Lennart Poettering [Wed, 21 Jan 2009 23:17:11 +0000 (00:17 +0100)]
add new function pa_card_suspend()
Lennart Poettering [Wed, 21 Jan 2009 23:16:28 +0000 (00:16 +0100)]
mark a few more ALSA dB values as 'valid' for valgrind
Lennart Poettering [Wed, 21 Jan 2009 23:15:19 +0000 (00:15 +0100)]
don't include full path in driver name.
Lennart Poettering [Wed, 21 Jan 2009 23:11:58 +0000 (00:11 +0100)]
require autoconf 2.63
Lennart Poettering [Wed, 21 Jan 2009 02:04:19 +0000 (03:04 +0100)]
implement pactl set-card-profile
Lennart Poettering [Wed, 21 Jan 2009 02:04:04 +0000 (03:04 +0100)]
implement PA_COMMAND_SET_CARD_PROFILE
Lennart Poettering [Wed, 21 Jan 2009 01:50:29 +0000 (02:50 +0100)]
enable module-card-restore by default
Lennart Poettering [Wed, 21 Jan 2009 01:49:42 +0000 (02:49 +0100)]
add a card profile restore module
Lennart Poettering [Wed, 21 Jan 2009 01:47:49 +0000 (02:47 +0100)]
minor cleanups
Lennart Poettering [Wed, 21 Jan 2009 01:47:26 +0000 (02:47 +0100)]
don't restore mute/volume when already set
Lennart Poettering [Wed, 21 Jan 2009 01:46:36 +0000 (02:46 +0100)]
make pa_card_new_data::active_profile a string
Lennart Poettering [Wed, 21 Jan 2009 01:02:30 +0000 (02:02 +0100)]
make implementation of module-alsa-card complete
Lennart Poettering [Wed, 21 Jan 2009 01:01:44 +0000 (02:01 +0100)]
fill in dev_id properly
Lennart Poettering [Wed, 21 Jan 2009 00:59:59 +0000 (01:59 +0100)]
remove leftover define
Lennart Poettering [Wed, 21 Jan 2009 00:59:15 +0000 (01:59 +0100)]
when changing profiles do the actual assignment in the generic implementation
Lennart Poettering [Wed, 21 Jan 2009 00:55:26 +0000 (01:55 +0100)]
remove bogus pa_core_check_idle() call
Lennart Poettering [Wed, 21 Jan 2009 00:54:14 +0000 (01:54 +0100)]
add set-card-profile CLI command
Lennart Poettering [Wed, 21 Jan 2009 00:53:09 +0000 (01:53 +0100)]
allow cards be referenced by their index
Lennart Poettering [Wed, 21 Jan 2009 00:52:10 +0000 (01:52 +0100)]
fix copy/paste error
Lennart Poettering [Tue, 20 Jan 2009 23:23:18 +0000 (00:23 +0100)]
add an API to create arbitrary alsa sinks/sources dynamically without having to load/unload modules
Lennart Poettering [Tue, 20 Jan 2009 20:36:57 +0000 (21:36 +0100)]
add new call pa_alsa_open_by_device_id_profile()
Lennart Poettering [Tue, 20 Jan 2009 20:00:35 +0000 (21:00 +0100)]
export pa_channel_map_superset()
Lennart Poettering [Tue, 20 Jan 2009 19:35:18 +0000 (20:35 +0100)]
add priority logic to find best default profile
Lennart Poettering [Tue, 20 Jan 2009 19:34:46 +0000 (20:34 +0100)]
always add 'disabled' profile
Lennart Poettering [Tue, 20 Jan 2009 19:33:47 +0000 (20:33 +0100)]
remove unused variable
Lennart Poettering [Tue, 20 Jan 2009 19:33:28 +0000 (20:33 +0100)]
show active profile
Lennart Poettering [Tue, 20 Jan 2009 02:25:29 +0000 (03:25 +0100)]
add client API for querying card information
Lennart Poettering [Tue, 20 Jan 2009 02:24:59 +0000 (03:24 +0100)]
dump active profile
Lennart Poettering [Tue, 20 Jan 2009 02:24:40 +0000 (03:24 +0100)]
fix destruction when no profiles are defined
Lennart Poettering [Tue, 20 Jan 2009 02:24:11 +0000 (03:24 +0100)]
don't divide by zero if no left resp. no right channels are defined
Lennart Poettering [Tue, 20 Jan 2009 02:23:32 +0000 (03:23 +0100)]
fix profile names to include input/output specifier
Lennart Poettering [Tue, 20 Jan 2009 01:15:43 +0000 (02:15 +0100)]
add missing eof checks
Lennart Poettering [Mon, 19 Jan 2009 23:55:36 +0000 (00:55 +0100)]
Merge commit 'flameeyes/buildfixes-2'
Diego E. 'Flameeyes' Pettenò [Mon, 19 Jan 2009 23:55:42 +0000 (00:55 +0100)]
Include the alsa/ subdirectory for modules in the search path.
Without this, out of tree builds fails.
Diego E. 'Flameeyes' Pettenò [Mon, 19 Jan 2009 23:55:39 +0000 (00:55 +0100)]
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.
Lennart Poettering [Mon, 19 Jan 2009 23:49:45 +0000 (00:49 +0100)]
document that I am a retard
Lennart Poettering [Mon, 19 Jan 2009 23:14:50 +0000 (00:14 +0100)]
remove misplaced whitespace
Lennart Poettering [Mon, 19 Jan 2009 22:55:22 +0000 (23:55 +0100)]
include sink/source state in pactl output
Lennart Poettering [Mon, 19 Jan 2009 22:54:44 +0000 (23:54 +0100)]
Document explicitly that the internal sink/source states are not considered part of the ABI/API
Marc-André Lureau [Fri, 16 Jan 2009 13:53:27 +0000 (15:53 +0200)]
pulse: share private enum values with client side
Marc-André Lureau [Thu, 15 Jan 2009 18:58:04 +0000 (20:58 +0200)]
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.
Marc-André Lureau [Thu, 15 Jan 2009 15:28:33 +0000 (17:28 +0200)]
sink: trigger subscribe event on sink state change
Marc-André Lureau [Thu, 15 Jan 2009 15:16:31 +0000 (17:16 +0200)]
pulse: introspect sink state
Lennart Poettering [Mon, 19 Jan 2009 22:12:23 +0000 (23:12 +0100)]
Merge commit 'vudentz/master'
Lennart Poettering [Mon, 19 Jan 2009 22:09:58 +0000 (23:09 +0100)]
Lennart Poettering [Mon, 19 Jan 2009 22:07:34 +0000 (23:07 +0100)]
Beef pactl output up a bit
Lennart Poettering [Mon, 19 Jan 2009 22:07:13 +0000 (23:07 +0100)]
show dB and balance for cached samples
Lennart Poettering [Mon, 19 Jan 2009 22:06:37 +0000 (23:06 +0100)]
fix up balance format string a bit
Lennart Poettering [Mon, 19 Jan 2009 22:03:22 +0000 (23:03 +0100)]
fix doxygen version references
Lennart Poettering [Mon, 19 Jan 2009 21:02:40 +0000 (22:02 +0100)]
fix bad free()
Lennart Poettering [Mon, 19 Jan 2009 21:02:28 +0000 (22:02 +0100)]
allow setting properties for modules, too
Lennart Poettering [Mon, 19 Jan 2009 20:59:57 +0000 (21:59 +0100)]
show balance value in CLI listings
Lennart Poettering [Mon, 19 Jan 2009 20:45:58 +0000 (21:45 +0100)]
add api for manipulating volume balances
Diego E. 'Flameeyes' Pettenò [Mon, 19 Jan 2009 16:30:41 +0000 (17:30 +0100)]
Add proper -I directives for out-of-tree builds.
When building out of tree, the generated files are put in builddir rather
than srcdir, so handle that properly.
Diego E. 'Flameeyes' Pettenò [Mon, 19 Jan 2009 16:20:18 +0000 (17:20 +0100)]
Create only the directory the current target should be created into.
With this change, instead of running multiple `mkdir -p` commands in all
the rules for all the generated definition files, only the call for the
current generated file is executed.
Not only it should shorten build time (especially for parallel make) but it
also fixes out-of-tree builds when new directories are added.
The $(dir $@) construct is GNU make-specific, but the rest of the
buildsystem is already GNU make-dependent so there should be no problem.
Luiz Augusto von Dentz [Mon, 19 Jan 2009 13:19:53 +0000 (10:19 -0300)]
Fix hsp rate and channels.
Lennart Poettering [Sat, 17 Jan 2009 01:17:32 +0000 (02:17 +0100)]
get rid of pa_module_get_info because it is not used
Lennart Poettering [Sat, 17 Jan 2009 01:09:02 +0000 (02:09 +0100)]
beautify cli output a bit
Lennart Poettering [Sat, 17 Jan 2009 01:03:59 +0000 (02:03 +0100)]
dump profiles when listing cards
Lennart Poettering [Sat, 17 Jan 2009 01:03:35 +0000 (02:03 +0100)]
actually create pa_card object in module-alsa-card
Lennart Poettering [Sat, 17 Jan 2009 01:01:37 +0000 (02:01 +0100)]
Don't enumerate invalid profile
Lennart Poettering [Sat, 17 Jan 2009 01:00:57 +0000 (02:00 +0100)]
Split up pa_alsa_init_proplist into two seperate functions for the card and snd_pcm_t specific parts
Lennart Poettering [Sat, 17 Jan 2009 00:59:37 +0000 (01:59 +0100)]
add pa_proplist_to_string_sep()
Lennart Poettering [Sat, 17 Jan 2009 00:57:17 +0000 (01:57 +0100)]
add pa_strbuf_isempty
Lennart Poettering [Fri, 16 Jan 2009 22:33:15 +0000 (23:33 +0100)]
add card profile prober
Lennart Poettering [Fri, 16 Jan 2009 21:01:45 +0000 (22:01 +0100)]
remvoe a bit of duplicate code
Lennart Poettering [Fri, 16 Jan 2009 18:57:58 +0000 (19:57 +0100)]
make use of PR_SET_TIMERSLACK
Lennart Poettering [Fri, 16 Jan 2009 17:39:36 +0000 (18:39 +0100)]
Add support for 24bit samples encoded in the LSB of 32 bit words
Lennart Poettering [Fri, 16 Jan 2009 02:15:39 +0000 (03:15 +0100)]
add support for 24bit packed samples
Lennart Poettering [Fri, 16 Jan 2009 02:13:42 +0000 (03:13 +0100)]
fix version info in protocol history
Lennart Poettering [Thu, 15 Jan 2009 22:46:42 +0000 (23:46 +0100)]
Add SPDIF/HDMI ALSA devices and device descriptions to device search table
Lennart Poettering [Thu, 15 Jan 2009 22:44:46 +0000 (23:44 +0100)]
rename card config to card profile
Lennart Poettering [Thu, 15 Jan 2009 20:29:18 +0000 (21:29 +0100)]
include libcli.la in libprotocol-cli's dependencies
Lennart Poettering [Thu, 15 Jan 2009 20:03:32 +0000 (21:03 +0100)]
add stub makefiles for oss and alsa subdirs
Lennart Poettering [Thu, 15 Jan 2009 20:02:01 +0000 (21:02 +0100)]
move alsa and oss modules into their own subdirectories
Lennart Poettering [Thu, 15 Jan 2009 19:49:12 +0000 (20:49 +0100)]
rework module usage counter stuff to be pull based
Lennart Poettering [Thu, 15 Jan 2009 19:48:29 +0000 (20:48 +0100)]
don't show autoload flag anymore since it is obsolete
Lennart Poettering [Thu, 15 Jan 2009 19:27:07 +0000 (20:27 +0100)]
make proplist inheritance scheme automatic and implicit
Lennart Poettering [Thu, 15 Jan 2009 19:26:41 +0000 (20:26 +0100)]
make things compile again
Lennart Poettering [Thu, 15 Jan 2009 19:14:58 +0000 (20:14 +0100)]
we don't support glib1.2 anymore
Lennart Poettering [Thu, 15 Jan 2009 19:07:13 +0000 (20:07 +0100)]
kill autoload stuff as planned
Marc-André Lureau [Mon, 10 Nov 2008 13:43:05 +0000 (15:43 +0200)]
flat-volume: use pa_sink_get_volume(s, TRUE) to work with slaved sink
Lennart Poettering [Thu, 15 Jan 2009 18:19:45 +0000 (19:19 +0100)]
Lennart Poettering [Thu, 15 Jan 2009 18:16:55 +0000 (19:16 +0100)]
redirect folks to the ALSA developers not me when their sound drivers are broken
Lennart Poettering [Thu, 15 Jan 2009 17:52:11 +0000 (18:52 +0100)]
add functionality to dump list of cards
Lennart Poettering [Thu, 15 Jan 2009 17:38:20 +0000 (18:38 +0100)]
maintain a list of sink inputs/source outputs as part of the pa_client object
Lennart Poettering [Thu, 15 Jan 2009 17:29:16 +0000 (18:29 +0100)]
add new pa_card object as a way to logically combine multiple sinks and sources
Lennart Poettering [Thu, 15 Jan 2009 17:27:43 +0000 (18:27 +0100)]
fix bad memory access