platform/upstream/pulseaudio.git
15 years agoNetBSD doesn't know getgrnam_r()/getpwnam_r()
Jared D. McNeill [Thu, 22 Jan 2009 01:15:50 +0000 (02:15 +0100)]
NetBSD doesn't know getgrnam_r()/getpwnam_r()

Signed-off-by: Lennart Poettering <lennart@poettering.net>
15 years agoNetBSD doesn't know ENOLINK
Jared D. McNeill [Thu, 22 Jan 2009 00:57:52 +0000 (01:57 +0100)]
NetBSD doesn't know ENOLINK

Signed-off-by: Lennart Poettering <lennart@poettering.net>
15 years agoIt is more portable to assume that SO_RCVBUF/SO_SNDBUF takes and int instead of a...
Jared D. McNeill [Thu, 22 Jan 2009 00:55:21 +0000 (01:55 +0100)]
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>
15 years agoNetBSD specific atomic operation implementation
Jared D. McNeill [Thu, 22 Jan 2009 00:52:35 +0000 (01:52 +0100)]
NetBSD specific atomic operation implementation

Signed-off-by: Lennart Poettering <lennart@poettering.net>
15 years agoNetBSD doesn't know RLIMIT_AS
Jared D. McNeill [Thu, 22 Jan 2009 00:39:54 +0000 (01:39 +0100)]
NetBSD doesn't know RLIMIT_AS

Signed-off-by: Lennart Poettering <lennart@poettering.net>
15 years agoNetBSD needs to include sys/uio.h for some socket functions
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>
15 years agoWhen resuming an OSS device ask for the very same fragment settings as we did the...
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.

15 years agorework module-hal-detect and make it use module-alsa-card instead of module-alsa...
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

15 years agoinclude PA_SINK_INVALID_STATE in all switch/case statements to make gcc shut up
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

15 years agofix minor memleak in prober
Lennart Poettering [Wed, 21 Jan 2009 23:24:28 +0000 (00:24 +0100)]
fix minor memleak in prober

15 years agorework logic how alsa sinks/sources/cards are named
Lennart Poettering [Wed, 21 Jan 2009 23:24:13 +0000 (00:24 +0100)]
rework logic how alsa sinks/sources/cards are named

15 years agomake gcc shut up
Lennart Poettering [Wed, 21 Jan 2009 23:22:46 +0000 (00:22 +0100)]
make gcc shut up

15 years agofix segfault when in record-only mode
Lennart Poettering [Wed, 21 Jan 2009 23:22:29 +0000 (00:22 +0100)]
fix segfault when in record-only mode

15 years agoonly reread volume if we actually have a good mixer. Closes #466
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

15 years agomake gcc shut up a bit more
Lennart Poettering [Wed, 21 Jan 2009 23:19:04 +0000 (00:19 +0100)]
make gcc shut up a bit more

15 years agofix copy'n'paste error
Lennart Poettering [Wed, 21 Jan 2009 23:17:55 +0000 (00:17 +0100)]
fix copy'n'paste error

15 years agoadd new function pa_strna
Lennart Poettering [Wed, 21 Jan 2009 23:17:31 +0000 (00:17 +0100)]
add new function pa_strna

15 years agoadd new function pa_card_suspend()
Lennart Poettering [Wed, 21 Jan 2009 23:17:11 +0000 (00:17 +0100)]
add new function pa_card_suspend()

15 years agomark a few more ALSA dB values as 'valid' for valgrind
Lennart Poettering [Wed, 21 Jan 2009 23:16:28 +0000 (00:16 +0100)]
mark a few more ALSA dB values as 'valid' for valgrind

15 years agodon't include full path in driver name.
Lennart Poettering [Wed, 21 Jan 2009 23:15:19 +0000 (00:15 +0100)]
don't include full path in driver name.

15 years agorequire autoconf 2.63
Lennart Poettering [Wed, 21 Jan 2009 23:11:58 +0000 (00:11 +0100)]
require autoconf 2.63

15 years agoimplement pactl set-card-profile
Lennart Poettering [Wed, 21 Jan 2009 02:04:19 +0000 (03:04 +0100)]
implement pactl set-card-profile

15 years agoimplement PA_COMMAND_SET_CARD_PROFILE
Lennart Poettering [Wed, 21 Jan 2009 02:04:04 +0000 (03:04 +0100)]
implement PA_COMMAND_SET_CARD_PROFILE

15 years agoenable module-card-restore by default
Lennart Poettering [Wed, 21 Jan 2009 01:50:29 +0000 (02:50 +0100)]
enable module-card-restore by default

15 years agoadd a card profile restore module
Lennart Poettering [Wed, 21 Jan 2009 01:49:42 +0000 (02:49 +0100)]
add a card profile restore module

15 years agominor cleanups
Lennart Poettering [Wed, 21 Jan 2009 01:47:49 +0000 (02:47 +0100)]
minor cleanups

15 years agodon't restore mute/volume when already set
Lennart Poettering [Wed, 21 Jan 2009 01:47:26 +0000 (02:47 +0100)]
don't restore mute/volume when already set

15 years agomake pa_card_new_data::active_profile a string
Lennart Poettering [Wed, 21 Jan 2009 01:46:36 +0000 (02:46 +0100)]
make pa_card_new_data::active_profile a string

15 years agomake implementation of module-alsa-card complete
Lennart Poettering [Wed, 21 Jan 2009 01:02:30 +0000 (02:02 +0100)]
make implementation of module-alsa-card complete

15 years agofill in dev_id properly
Lennart Poettering [Wed, 21 Jan 2009 01:01:44 +0000 (02:01 +0100)]
fill in dev_id properly

15 years agoremove leftover define
Lennart Poettering [Wed, 21 Jan 2009 00:59:59 +0000 (01:59 +0100)]
remove leftover define

15 years agowhen changing profiles do the actual assignment in the generic implementation
Lennart Poettering [Wed, 21 Jan 2009 00:59:15 +0000 (01:59 +0100)]
when changing profiles do the actual assignment in the generic implementation

15 years agoremove bogus pa_core_check_idle() call
Lennart Poettering [Wed, 21 Jan 2009 00:55:26 +0000 (01:55 +0100)]
remove bogus pa_core_check_idle() call

15 years agoadd set-card-profile CLI command
Lennart Poettering [Wed, 21 Jan 2009 00:54:14 +0000 (01:54 +0100)]
add set-card-profile CLI command

15 years agoallow cards be referenced by their index
Lennart Poettering [Wed, 21 Jan 2009 00:53:09 +0000 (01:53 +0100)]
allow cards be referenced by their index

15 years agofix copy/paste error
Lennart Poettering [Wed, 21 Jan 2009 00:52:10 +0000 (01:52 +0100)]
fix copy/paste error

15 years agoadd an API to create arbitrary alsa sinks/sources dynamically without having to load...
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

15 years agoadd new call pa_alsa_open_by_device_id_profile()
Lennart Poettering [Tue, 20 Jan 2009 20:36:57 +0000 (21:36 +0100)]
add new call pa_alsa_open_by_device_id_profile()

15 years agoexport pa_channel_map_superset()
Lennart Poettering [Tue, 20 Jan 2009 20:00:35 +0000 (21:00 +0100)]
export pa_channel_map_superset()

15 years agoadd priority logic to find best default profile
Lennart Poettering [Tue, 20 Jan 2009 19:35:18 +0000 (20:35 +0100)]
add priority logic to find best default profile

15 years agoalways add 'disabled' profile
Lennart Poettering [Tue, 20 Jan 2009 19:34:46 +0000 (20:34 +0100)]
always add 'disabled' profile

15 years agoremove unused variable
Lennart Poettering [Tue, 20 Jan 2009 19:33:47 +0000 (20:33 +0100)]
remove unused variable

15 years agoshow active profile
Lennart Poettering [Tue, 20 Jan 2009 19:33:28 +0000 (20:33 +0100)]
show active profile

15 years agoadd client API for querying card information
Lennart Poettering [Tue, 20 Jan 2009 02:25:29 +0000 (03:25 +0100)]
add client API for querying card information

15 years agodump active profile
Lennart Poettering [Tue, 20 Jan 2009 02:24:59 +0000 (03:24 +0100)]
dump active profile

15 years agofix destruction when no profiles are defined
Lennart Poettering [Tue, 20 Jan 2009 02:24:40 +0000 (03:24 +0100)]
fix destruction when no profiles are defined

15 years agodon't divide by zero if no left resp. no right channels 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

15 years agofix profile names to include input/output specifier
Lennart Poettering [Tue, 20 Jan 2009 02:23:32 +0000 (03:23 +0100)]
fix profile names to include input/output specifier

15 years agoadd missing eof checks
Lennart Poettering [Tue, 20 Jan 2009 01:15:43 +0000 (02:15 +0100)]
add missing eof checks

15 years agoMerge commit 'flameeyes/buildfixes-2'
Lennart Poettering [Mon, 19 Jan 2009 23:55:36 +0000 (00:55 +0100)]
Merge commit 'flameeyes/buildfixes-2'

15 years agoInclude the alsa/ subdirectory for modules in the search path.
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.

15 years agoAllow to opt-out from building tests.
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.

15 years agodocument that I am a retard
Lennart Poettering [Mon, 19 Jan 2009 23:49:45 +0000 (00:49 +0100)]
document that I am a retard

15 years agoremove misplaced whitespace
Lennart Poettering [Mon, 19 Jan 2009 23:14:50 +0000 (00:14 +0100)]
remove misplaced whitespace

15 years agoinclude sink/source state in pactl output
Lennart Poettering [Mon, 19 Jan 2009 22:55:22 +0000 (23:55 +0100)]
include sink/source state in pactl output

15 years agoDocument explicitly that the internal sink/source states are not considered part...
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

15 years agopulse: share private enum values with client side
Marc-André Lureau [Fri, 16 Jan 2009 13:53:27 +0000 (15:53 +0200)]
pulse: share private enum values with client side

15 years agocli: fix broken array access with signed state enums
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.

15 years agosink: trigger subscribe event on sink state change
Marc-André Lureau [Thu, 15 Jan 2009 15:28:33 +0000 (17:28 +0200)]
sink: trigger subscribe event on sink state change

15 years agopulse: introspect sink state
Marc-André Lureau [Thu, 15 Jan 2009 15:16:31 +0000 (17:16 +0200)]
pulse: introspect sink state

15 years agoMerge commit 'vudentz/master'
Lennart Poettering [Mon, 19 Jan 2009 22:12:23 +0000 (23:12 +0100)]
Merge commit 'vudentz/master'

15 years agoMerge commit '7104d54bbce8f9bd2553e16f45f3a0f69ac75b8b'
Lennart Poettering [Mon, 19 Jan 2009 22:09:58 +0000 (23:09 +0100)]
Merge commit '7104d54bbce8f9bd2553e16f45f3a0f69ac75b8b'

15 years agoBeef pactl output up a bit
Lennart Poettering [Mon, 19 Jan 2009 22:07:34 +0000 (23:07 +0100)]
Beef pactl output up a bit

15 years agoshow dB and balance for cached samples
Lennart Poettering [Mon, 19 Jan 2009 22:07:13 +0000 (23:07 +0100)]
show dB and balance for cached samples

15 years agofix up balance format string a bit
Lennart Poettering [Mon, 19 Jan 2009 22:06:37 +0000 (23:06 +0100)]
fix up balance format string a bit

15 years agofix doxygen version references
Lennart Poettering [Mon, 19 Jan 2009 22:03:22 +0000 (23:03 +0100)]
fix doxygen version references

15 years agofix bad free()
Lennart Poettering [Mon, 19 Jan 2009 21:02:40 +0000 (22:02 +0100)]
fix bad free()

15 years agoallow setting properties for modules, too
Lennart Poettering [Mon, 19 Jan 2009 21:02:28 +0000 (22:02 +0100)]
allow setting properties for modules, too

15 years agoshow balance value in CLI listings
Lennart Poettering [Mon, 19 Jan 2009 20:59:57 +0000 (21:59 +0100)]
show balance value in CLI listings

15 years agoadd api for manipulating volume balances
Lennart Poettering [Mon, 19 Jan 2009 20:45:58 +0000 (21:45 +0100)]
add api for manipulating volume balances

15 years agoAdd proper -I directives for out-of-tree builds.
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.

15 years agoCreate only the directory the current target should be created into.
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.

15 years agoFix hsp rate and channels.
Luiz Augusto von Dentz [Mon, 19 Jan 2009 13:19:53 +0000 (10:19 -0300)]
Fix hsp rate and channels.

15 years agoget rid of pa_module_get_info because it is not used
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

15 years agobeautify cli output a bit
Lennart Poettering [Sat, 17 Jan 2009 01:09:02 +0000 (02:09 +0100)]
beautify cli output a bit

15 years agodump profiles when listing cards
Lennart Poettering [Sat, 17 Jan 2009 01:03:59 +0000 (02:03 +0100)]
dump profiles when listing cards

15 years agoactually create pa_card object in module-alsa-card
Lennart Poettering [Sat, 17 Jan 2009 01:03:35 +0000 (02:03 +0100)]
actually create pa_card object in module-alsa-card

15 years agoDon't enumerate invalid profile
Lennart Poettering [Sat, 17 Jan 2009 01:01:37 +0000 (02:01 +0100)]
Don't enumerate invalid profile

15 years agoSplit up pa_alsa_init_proplist into two seperate functions for the card and snd_pcm_t...
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

15 years agoadd pa_proplist_to_string_sep()
Lennart Poettering [Sat, 17 Jan 2009 00:59:37 +0000 (01:59 +0100)]
add pa_proplist_to_string_sep()

15 years agoadd pa_strbuf_isempty
Lennart Poettering [Sat, 17 Jan 2009 00:57:17 +0000 (01:57 +0100)]
add pa_strbuf_isempty

15 years agoadd card profile prober
Lennart Poettering [Fri, 16 Jan 2009 22:33:15 +0000 (23:33 +0100)]
add card profile prober

15 years agoremvoe a bit of duplicate code
Lennart Poettering [Fri, 16 Jan 2009 21:01:45 +0000 (22:01 +0100)]
remvoe a bit of duplicate code

15 years agomake use of PR_SET_TIMERSLACK
Lennart Poettering [Fri, 16 Jan 2009 18:57:58 +0000 (19:57 +0100)]
make use of PR_SET_TIMERSLACK

15 years agoAdd support for 24bit samples encoded in the LSB of 32 bit words
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

15 years agoadd support for 24bit packed samples
Lennart Poettering [Fri, 16 Jan 2009 02:15:39 +0000 (03:15 +0100)]
add support for 24bit packed samples

15 years agofix version info in protocol history
Lennart Poettering [Fri, 16 Jan 2009 02:13:42 +0000 (03:13 +0100)]
fix version info in protocol history

15 years agoAdd SPDIF/HDMI ALSA devices and device descriptions to device search table
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

15 years agorename card config to card profile
Lennart Poettering [Thu, 15 Jan 2009 22:44:46 +0000 (23:44 +0100)]
rename card config to card profile

15 years agoinclude libcli.la in libprotocol-cli's dependencies
Lennart Poettering [Thu, 15 Jan 2009 20:29:18 +0000 (21:29 +0100)]
include libcli.la in libprotocol-cli's dependencies

15 years agoadd stub makefiles for oss and alsa subdirs
Lennart Poettering [Thu, 15 Jan 2009 20:03:32 +0000 (21:03 +0100)]
add stub makefiles for oss and alsa subdirs

15 years agomove alsa and oss modules into their own subdirectories
Lennart Poettering [Thu, 15 Jan 2009 20:02:01 +0000 (21:02 +0100)]
move alsa and oss modules into their own subdirectories

15 years agorework module usage counter stuff to be pull based
Lennart Poettering [Thu, 15 Jan 2009 19:49:12 +0000 (20:49 +0100)]
rework module usage counter stuff to be pull based

15 years agodon't show autoload flag anymore since it is obsolete
Lennart Poettering [Thu, 15 Jan 2009 19:48:29 +0000 (20:48 +0100)]
don't show autoload flag anymore since it is obsolete

15 years agomake proplist inheritance scheme automatic and implicit
Lennart Poettering [Thu, 15 Jan 2009 19:27:07 +0000 (20:27 +0100)]
make proplist inheritance scheme automatic and implicit

15 years agomake things compile again
Lennart Poettering [Thu, 15 Jan 2009 19:26:41 +0000 (20:26 +0100)]
make things compile again

15 years agowe don't support glib1.2 anymore
Lennart Poettering [Thu, 15 Jan 2009 19:14:58 +0000 (20:14 +0100)]
we don't support glib1.2 anymore

15 years agokill autoload stuff as planned
Lennart Poettering [Thu, 15 Jan 2009 19:07:13 +0000 (20:07 +0100)]
kill autoload stuff as planned

15 years agoflat-volume: use pa_sink_get_volume(s, TRUE) to work with slaved sink
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

15 years agoMerge commit 'e0f8ffe41f99789fafac575e944acf02e940bbf7'
Lennart Poettering [Thu, 15 Jan 2009 18:19:45 +0000 (19:19 +0100)]
Merge commit 'e0f8ffe41f99789fafac575e944acf02e940bbf7'