]> code.delx.au - pulseaudio/log
pulseaudio
18 years ago* modify pa_channel_map_init_auto() to take an extra argument specifying the standard...
Lennart Poettering [Tue, 16 May 2006 23:47:38 +0000 (23:47 +0000)]
* modify pa_channel_map_init_auto() to take an extra argument specifying the standard to use (ALSA, AIFF, ...)
* add some more validity checks to pa_source_new(),pa_sink_new(),pa_sink_input_new(),pa_source_output_new()

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@888 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agochange version number from "0.9" to "0.9.0" to make version comparisons easier
Lennart Poettering [Tue, 16 May 2006 19:15:06 +0000 (19:15 +0000)]
change version number from "0.9" to "0.9.0" to make version comparisons easier

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@887 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agobump version number to 0.9
Lennart Poettering [Tue, 16 May 2006 18:28:03 +0000 (18:28 +0000)]
bump version number to 0.9

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@886 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years ago* add new configure option --with-module-dir=
Lennart Poettering [Tue, 16 May 2006 17:54:33 +0000 (17:54 +0000)]
* add new configure option --with-module-dir=
* drop version suffix from soname of libpolyp and friends
* add version suffix by default to $(modlibexecdir)

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@885 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoupdate todo
Lennart Poettering [Tue, 16 May 2006 15:30:14 +0000 (15:30 +0000)]
update todo

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@884 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years ago* remove .a files from the modules directory after installation
Lennart Poettering [Tue, 16 May 2006 15:29:58 +0000 (15:29 +0000)]
* remove .a files from the modules directory after installation
* rename $(modlibdir) to $(modlibexecdir) in accordance with secion 11.2 of the automake docs ("The two parts of install")

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@883 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agotell svn to ignore the utf8-test binary
Lennart Poettering [Tue, 16 May 2006 01:43:36 +0000 (01:43 +0000)]
tell svn to ignore the utf8-test binary

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@882 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoinstead of kicking clients with invalid UTF8 stream names, filter invalid characters...
Lennart Poettering [Tue, 16 May 2006 01:40:01 +0000 (01:40 +0000)]
instead of kicking clients with invalid UTF8 stream names, filter invalid characters and use that instead

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@881 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoadd new test programme utf8-test.c
Lennart Poettering [Tue, 16 May 2006 00:46:03 +0000 (00:46 +0000)]
add new test programme utf8-test.c

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@880 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoadd svn:keywords property
Lennart Poettering [Tue, 16 May 2006 00:45:40 +0000 (00:45 +0000)]
add svn:keywords property

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@879 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoadd double include protection
Lennart Poettering [Tue, 16 May 2006 00:45:21 +0000 (00:45 +0000)]
add double include protection

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@878 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years ago* remove "const" from return type of pa_utf8_filter() since it desn't make any sense
Lennart Poettering [Tue, 16 May 2006 00:44:47 +0000 (00:44 +0000)]
* remove "const" from return type of pa_utf8_filter() since it desn't make any sense
* fix pa_utf8_filter() to not skip the next character too if it found an invalid one

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@877 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agouse the new latency update callback to be notified when latency data becomes
Lennart Poettering [Tue, 16 May 2006 00:06:02 +0000 (00:06 +0000)]
use the new latency update callback to be notified when latency data becomes
available again after PA_ERR_NODATA is returned by pa_stream_get_latency()

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@876 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agodowngrade a log message
Lennart Poettering [Tue, 16 May 2006 00:04:47 +0000 (00:04 +0000)]
downgrade a log message

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@875 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years ago* fix segfault in pa_utf8_validate()
Lennart Poettering [Tue, 16 May 2006 00:04:14 +0000 (00:04 +0000)]
* fix segfault in pa_utf8_validate()
* remove some compiler warnings
* use our own pa_xmalloc() implementation instead of libc's malloc()

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@874 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoadd notification callback which is called when new latency data becomes available
Lennart Poettering [Mon, 15 May 2006 20:17:11 +0000 (20:17 +0000)]
add notification callback which is called when new latency data becomes available

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@873 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoAdd function to filter a string of any invalid UTF-8 sequences. User must
Pierre Ossman [Mon, 15 May 2006 13:04:13 +0000 (13:04 +0000)]
Add function to filter a string of any invalid UTF-8 sequences. User must
free() the result.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@872 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoundo r868
Lennart Poettering [Mon, 15 May 2006 12:45:55 +0000 (12:45 +0000)]
undo r868

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@871 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoClean up the UTF-8 validation code.
Pierre Ossman [Mon, 15 May 2006 12:44:44 +0000 (12:44 +0000)]
Clean up the UTF-8 validation code.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@870 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoremove regex.h from include, since it is actually not used
Lennart Poettering [Mon, 15 May 2006 12:33:43 +0000 (12:33 +0000)]
remove regex.h from include, since it is actually not used

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@869 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agomodule-volume-restore uses regexp() so make sure it's only built on systems
Pierre Ossman [Mon, 15 May 2006 06:41:27 +0000 (06:41 +0000)]
module-volume-restore uses regexp() so make sure it's only built on systems
that have it.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@868 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoInclude utf8.h for the validation function.
Pierre Ossman [Mon, 15 May 2006 06:36:07 +0000 (06:36 +0000)]
Include utf8.h for the validation function.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@867 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoupdate TODO
Lennart Poettering [Sun, 14 May 2006 16:19:39 +0000 (16:19 +0000)]
update TODO

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@866 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoadd utf8 validity checking to esound protocol
Lennart Poettering [Sun, 14 May 2006 16:18:00 +0000 (16:18 +0000)]
add utf8 validity checking to esound protocol

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@865 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoremove superfluous log line
Lennart Poettering [Sun, 14 May 2006 16:17:38 +0000 (16:17 +0000)]
remove superfluous log line

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@864 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agotake the filename specified on the command line as default stream name
Lennart Poettering [Sun, 14 May 2006 16:17:17 +0000 (16:17 +0000)]
take the filename specified on the command line as default stream name

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@863 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agocheck for valid utf8 strings
Lennart Poettering [Sun, 14 May 2006 16:02:40 +0000 (16:02 +0000)]
check for valid utf8 strings

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@862 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoadd utf8 validity checking API
Lennart Poettering [Sun, 14 May 2006 16:02:09 +0000 (16:02 +0000)]
add utf8 validity checking API

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@861 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoupdate todo
Lennart Poettering [Sun, 14 May 2006 14:07:48 +0000 (14:07 +0000)]
update todo

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@860 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoadd new module module-volume-restore which saves and restores volume of playback...
Lennart Poettering [Sun, 14 May 2006 00:41:56 +0000 (00:41 +0000)]
add new module module-volume-restore which saves and restores volume of playback streams

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@859 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years ago* add new parameter to pa_open_config_file() to specify open mode
Lennart Poettering [Sun, 14 May 2006 00:41:18 +0000 (00:41 +0000)]
* add new parameter to pa_open_config_file() to specify open mode
* modify pa_sink_input_new() to take initial volume settings as argument
* call pa_sink_input_set_volume() when changing stream volume in protocol-esound.c to make sure that subscribe events are issued properly

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@858 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agomodify argument order of pa_client_new() to actually match how it is usually called
Lennart Poettering [Sun, 14 May 2006 00:36:06 +0000 (00:36 +0000)]
modify argument order of pa_client_new() to actually match how it is usually called

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@857 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agofix esound sample cache names
Lennart Poettering [Sat, 13 May 2006 21:40:38 +0000 (21:40 +0000)]
fix esound sample cache names

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@856 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years ago* set default fragment metrics depending on the sample specs of the device in OSS...
Lennart Poettering [Sat, 13 May 2006 21:20:34 +0000 (21:20 +0000)]
* set default fragment metrics depending on the sample specs of the device in OSS and ALSA
* fix fragment size calculation in module-alsa-sink

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@855 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agofirst set buffer size, and afterwards period size
Lennart Poettering [Sat, 13 May 2006 21:19:02 +0000 (21:19 +0000)]
first set buffer size, and afterwards period size

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@854 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agodon't hit an assert when trying to resample data for 6channel audio
Lennart Poettering [Sat, 13 May 2006 21:18:32 +0000 (21:18 +0000)]
don't hit an assert when trying to resample data for 6channel audio

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@853 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agofix fragment size calculation for module-alsa-source
Lennart Poettering [Sat, 13 May 2006 20:47:55 +0000 (20:47 +0000)]
fix fragment size calculation for module-alsa-source

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@852 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agouse default alsa channel map for alsa devices
Lennart Poettering [Sat, 13 May 2006 20:29:32 +0000 (20:29 +0000)]
use default alsa channel map for alsa devices

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@851 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoremove superfluous log message
Lennart Poettering [Sat, 13 May 2006 19:55:28 +0000 (19:55 +0000)]
remove superfluous log message

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@850 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agofix hangup detection for recording streams
Lennart Poettering [Thu, 11 May 2006 22:37:42 +0000 (22:37 +0000)]
fix hangup detection for recording streams

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@849 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agofix iochannel for hangup signals
Lennart Poettering [Thu, 11 May 2006 21:38:16 +0000 (21:38 +0000)]
fix iochannel for hangup signals

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@848 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoWindows support for the threaded API.
Pierre Ossman [Thu, 11 May 2006 14:57:24 +0000 (14:57 +0000)]
Windows support for the threaded API.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@847 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoupdate doxygen docs
Lennart Poettering [Thu, 11 May 2006 13:17:27 +0000 (13:17 +0000)]
update doxygen docs

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@846 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agodon't signal the accept_cond automatically when waiting for a signal event
Lennart Poettering [Thu, 11 May 2006 13:17:19 +0000 (13:17 +0000)]
don't signal the accept_cond automatically when waiting for a signal event

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@845 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agosplit of signal releasing into its own function and name it pa_threaded_mainloop_accept()
Lennart Poettering [Thu, 11 May 2006 13:01:24 +0000 (13:01 +0000)]
split of signal releasing into its own function and name it pa_threaded_mainloop_accept()

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@844 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoadd thread-mainloop.h to doxygen docs
Lennart Poettering [Thu, 11 May 2006 12:59:58 +0000 (12:59 +0000)]
add thread-mainloop.h to doxygen docs

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@843 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoRemove some debug code that wasn't supposed to be committed.
Pierre Ossman [Thu, 11 May 2006 11:30:55 +0000 (11:30 +0000)]
Remove some debug code that wasn't supposed to be committed.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@842 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agopa_write() should use a const pointer.
Pierre Ossman [Thu, 11 May 2006 11:30:35 +0000 (11:30 +0000)]
pa_write() should use a const pointer.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@841 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoHandle pipes on platforms where they are non-existant of broken.
Pierre Ossman [Thu, 11 May 2006 11:08:58 +0000 (11:08 +0000)]
Handle pipes on platforms where they are non-existant of broken.
We do this by creating a TCP socket pair instead of a normal pipe. Since
Windows isn't UNIX-y enough to support read()/write() on sockets, we also
need a wrapper to handle read() vs recv() and write() vs send().

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@840 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoInclude log header to get rid of warnings.
Pierre Ossman [Thu, 11 May 2006 11:04:57 +0000 (11:04 +0000)]
Include log header to get rid of warnings.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@839 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoANSI codes aren't supported on Windows terminals.
Pierre Ossman [Thu, 11 May 2006 11:03:17 +0000 (11:03 +0000)]
ANSI codes aren't supported on Windows terminals.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@838 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoDo WSAStartup() in the DLL entry routine instead of at context creation.
Pierre Ossman [Thu, 11 May 2006 11:02:25 +0000 (11:02 +0000)]
Do WSAStartup() in the DLL entry routine instead of at context creation.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@837 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agofix handling of timing status requests
Lennart Poettering [Tue, 9 May 2006 15:16:12 +0000 (15:16 +0000)]
fix handling of timing status requests

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@836 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoupdate todo
Lennart Poettering [Tue, 9 May 2006 15:15:41 +0000 (15:15 +0000)]
update todo

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@835 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoAdd stubs for the threaded main loop so that we can compile it on
Pierre Ossman [Tue, 9 May 2006 08:39:26 +0000 (08:39 +0000)]
Add stubs for the threaded main loop so that we can compile it on
non-supported platforms (still can't run it though).

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@834 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoUse pa_msleep() to get platform independence.
Pierre Ossman [Tue, 9 May 2006 08:38:37 +0000 (08:38 +0000)]
Use pa_msleep() to get platform independence.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@833 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agorework the simple API to make use of the new threaded mainloop implementation
Lennart Poettering [Sat, 6 May 2006 20:58:28 +0000 (20:58 +0000)]
rework the simple API to make use of the new threaded mainloop implementation

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@832 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years ago* optionally, make pa_threaded_mainloop_signal() wait until the main thread took...
Lennart Poettering [Sat, 6 May 2006 20:58:02 +0000 (20:58 +0000)]
* optionally, make pa_threaded_mainloop_signal() wait until the main thread took over control
* more header file comments

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@831 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoadd support for reading audio data from a file instead of plain STDIN in pacat-simple.c
Lennart Poettering [Sat, 6 May 2006 20:56:43 +0000 (20:56 +0000)]
add support for reading audio data from a file instead of plain STDIN in pacat-simple.c

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@830 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoremove bogus check that disallowed latency interpolation and stuff for record streams
Lennart Poettering [Sat, 6 May 2006 20:55:53 +0000 (20:55 +0000)]
remove bogus check that disallowed latency interpolation and stuff for record streams

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@829 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoallow signalling from event loop thread
Lennart Poettering [Sat, 6 May 2006 16:38:09 +0000 (16:38 +0000)]
allow signalling from event loop thread

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@828 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoupdate todo
Pierre Ossman [Wed, 3 May 2006 08:56:03 +0000 (08:56 +0000)]
update todo

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@827 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoFix control flow in pa_oss_open(). Also fall back to half duplex when device doesn't
Pierre Ossman [Tue, 2 May 2006 11:27:24 +0000 (11:27 +0000)]
Fix control flow in pa_oss_open(). Also fall back to half duplex when device doesn't
support full.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@826 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoWe need to read the cookie in binary mode for things to work correctly.
Pierre Ossman [Tue, 2 May 2006 09:50:37 +0000 (09:50 +0000)]
We need to read the cookie in binary mode for things to work correctly.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@825 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoWindows doesn't have POSIX thread. ifdef out things for now.
Pierre Ossman [Tue, 2 May 2006 08:41:41 +0000 (08:41 +0000)]
Windows doesn't have POSIX thread. ifdef out things for now.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@824 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoadd new threaded main loop implementation (with test/example)
Lennart Poettering [Sun, 30 Apr 2006 23:34:17 +0000 (23:34 +0000)]
add new threaded main loop implementation (with test/example)

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@823 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years ago* make sure the wakeup fd is polled on wven when no other fd is registered for polling
Lennart Poettering [Sun, 30 Apr 2006 23:33:04 +0000 (23:33 +0000)]
* make sure the wakeup fd is polled on wven when no other fd is registered for polling
* initialize mainloop return value to -1
* some optimizations

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@822 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agofix date
Lennart Poettering [Fri, 28 Apr 2006 11:33:22 +0000 (11:33 +0000)]
fix date

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@820 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoWhen a control is removed, all bits are set so we need to test for that first.
Pierre Ossman [Fri, 28 Apr 2006 07:29:32 +0000 (07:29 +0000)]
When a control is removed, all bits are set so we need to test for that first.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@819 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoZero the fd list since we do a memcmp on it later.
Pierre Ossman [Fri, 28 Apr 2006 07:28:48 +0000 (07:28 +0000)]
Zero the fd list since we do a memcmp on it later.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@818 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoouch!
Lennart Poettering [Thu, 27 Apr 2006 22:59:54 +0000 (22:59 +0000)]
ouch!

fix brown paperbag bug which was triggered when runnign "pavumeter" and
specifying a sink on the command line.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@817 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoClarify how the automatic channel map is generated.
Pierre Ossman [Thu, 27 Apr 2006 05:43:27 +0000 (05:43 +0000)]
Clarify how the automatic channel map is generated.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@816 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoChannel map argument support for solaris.
Pierre Ossman [Thu, 27 Apr 2006 05:41:18 +0000 (05:41 +0000)]
Channel map argument support for solaris.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@815 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoChannel map argument support for waveout.
Pierre Ossman [Thu, 27 Apr 2006 05:39:11 +0000 (05:39 +0000)]
Channel map argument support for waveout.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@814 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoupdate todo
Pierre Ossman [Thu, 27 Apr 2006 05:26:29 +0000 (05:26 +0000)]
update todo

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@813 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agodoc update for 0.8.1
Lennart Poettering [Wed, 26 Apr 2006 21:31:51 +0000 (21:31 +0000)]
doc update for 0.8.1

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@812 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agobump version number
Lennart Poettering [Wed, 26 Apr 2006 19:24:32 +0000 (19:24 +0000)]
bump version number

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@811 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agofail if the channel map doesn't match the sample specs
Lennart Poettering [Wed, 26 Apr 2006 16:50:36 +0000 (16:50 +0000)]
fail if the channel map doesn't match the sample specs

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@810 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoallow the user to specify an alternative channel map in paplay too
Lennart Poettering [Wed, 26 Apr 2006 16:28:29 +0000 (16:28 +0000)]
allow the user to specify an alternative channel map in paplay too

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@809 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agofix volume range printed on --help
Lennart Poettering [Wed, 26 Apr 2006 16:27:59 +0000 (16:27 +0000)]
fix volume range printed on --help

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@808 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoif a sample is not yet loaded, don't print rubbish about its channel map
Lennart Poettering [Wed, 26 Apr 2006 16:27:33 +0000 (16:27 +0000)]
if a sample is not yet loaded, don't print rubbish about its channel map

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@807 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoit was a bad idea to require that a channel map doesn't contain the same position...
Lennart Poettering [Wed, 26 Apr 2006 16:27:01 +0000 (16:27 +0000)]
it was a bad idea to require that a channel map doesn't contain the same position twice

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@806 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoallow specifying the channel map to use on the command line
Lennart Poettering [Wed, 26 Apr 2006 16:07:33 +0000 (16:07 +0000)]
allow specifying the channel map to use on the command line

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@805 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years ago* make a validity check of parsed channel maps before rteurning theme
Lennart Poettering [Wed, 26 Apr 2006 16:07:05 +0000 (16:07 +0000)]
* make a validity check of parsed channel maps before rteurning theme
* don't overwrite the return buffer unless the parsed channel map is known to be valid

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@804 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agosupport new channel_map argument in sink/source modules
Lennart Poettering [Wed, 26 Apr 2006 15:40:14 +0000 (15:40 +0000)]
support new channel_map argument in sink/source modules

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@803 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoadd support for parsing channel maps as module arguments
Lennart Poettering [Wed, 26 Apr 2006 15:37:44 +0000 (15:37 +0000)]
add support for parsing channel maps as module arguments

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@802 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agodon't allow channel positions to be specified twice in the same channelmap
Lennart Poettering [Wed, 26 Apr 2006 15:37:13 +0000 (15:37 +0000)]
don't allow channel positions to be specified twice in the same channelmap

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@801 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoadd new test 'channelmap-test'
Lennart Poettering [Wed, 26 Apr 2006 14:34:45 +0000 (14:34 +0000)]
add new test 'channelmap-test'

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@800 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years ago* add new function pa_channel_map_parse()
Lennart Poettering [Wed, 26 Apr 2006 14:33:45 +0000 (14:33 +0000)]
* add new function pa_channel_map_parse()
* increase PA_CHANNEL_MAP_SNPRINT_MAX
* add "top" channel positions

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@799 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoupdate todo
Pierre Ossman [Wed, 26 Apr 2006 09:38:33 +0000 (09:38 +0000)]
update todo

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@798 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoupdate todo
Pierre Ossman [Tue, 25 Apr 2006 07:55:14 +0000 (07:55 +0000)]
update todo

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@797 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoFall back to software volume if hardware mixer cannot control all channels.
Pierre Ossman [Tue, 25 Apr 2006 07:54:49 +0000 (07:54 +0000)]
Fall back to software volume if hardware mixer cannot control all channels.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@796 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoglibc <= 2.2 has a broken unistd.h, lacking setresuid().
Pierre Ossman [Tue, 25 Apr 2006 07:13:44 +0000 (07:13 +0000)]
glibc <= 2.2 has a broken unistd.h, lacking setresuid().

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@795 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years ago* rework reference counting in the client libraries: now refcounting goes
Lennart Poettering [Mon, 24 Apr 2006 19:29:15 +0000 (19:29 +0000)]
* rework reference counting in the client libraries: now refcounting goes
  strictly "one-way" - the "bigger" object refcounts the "smaller" one, never the
  other way round.

* when registering for a reply packet in pdispatch, specify a function that is
  called when the pdispatch object is destroyed but the reply hasn't yet been
  recieved.

* move prototype of pa_free_cb from stream.h to def.h

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@794 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agochown() and chmod() aren't available on Windows.
Pierre Ossman [Mon, 24 Apr 2006 15:07:09 +0000 (15:07 +0000)]
chown() and chmod() aren't available on Windows.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@793 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoUndo invalid automake version requirement.
Pierre Ossman [Mon, 24 Apr 2006 13:59:00 +0000 (13:59 +0000)]
Undo invalid automake version requirement.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@792 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agofix a segfault when uploading samples with esound
Lennart Poettering [Sun, 23 Apr 2006 21:25:27 +0000 (21:25 +0000)]
fix a segfault when uploading samples with esound

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@791 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years ago* add validity checking for sample_spec, channel_map and cvolume structures
Lennart Poettering [Sun, 23 Apr 2006 21:01:44 +0000 (21:01 +0000)]
* add validity checking for sample_spec, channel_map and cvolume structures
* return PA_ERR_TOOLARGE when the user tries to upload a over-sized sample
* notify the user if uploading a simple faield due to some reason

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@790 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agosmall optimization
Lennart Poettering [Sun, 23 Apr 2006 20:59:43 +0000 (20:59 +0000)]
small optimization

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@789 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agofix sample uploading
Lennart Poettering [Sun, 23 Apr 2006 20:59:31 +0000 (20:59 +0000)]
fix sample uploading

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@788 fefdeb5f-60dc-0310-8127-8f9354f1896f