profile/ivi/pulseaudio.git
18 years ago* rework latency interpolation to make it smoother
Lennart Poettering [Mon, 19 Jun 2006 12:37:43 +0000 (12:37 +0000)]
* rework latency interpolation to make it smoother
* increase latency update interval to 100ms

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

18 years agominor cleanups
Lennart Poettering [Mon, 19 Jun 2006 12:20:10 +0000 (12:20 +0000)]
minor cleanups

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

18 years agoadd new test "interpol-test"
Lennart Poettering [Mon, 19 Jun 2006 11:27:00 +0000 (11:27 +0000)]
add new test "interpol-test"

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

18 years ago* add new argument 'exit_on_eof' to module-cli and make use of it if "-C" is passed...
Lennart Poettering [Sun, 18 Jun 2006 11:10:45 +0000 (11:10 +0000)]
* add new argument 'exit_on_eof' to module-cli and make use of it if "-C" is passed to the daemon

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

18 years ago* implement volume adjusting and mixing for S16RE
Lennart Poettering [Sat, 17 Jun 2006 23:37:07 +0000 (23:37 +0000)]
* implement volume adjusting and mixing for S16RE
* some optimizations

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

18 years ago* make hw param settings easier to debug by splitting up long if
Lennart Poettering [Sat, 17 Jun 2006 23:36:03 +0000 (23:36 +0000)]
* make hw param settings easier to debug by splitting up long if
* actually set the sample rate
* disable resampling done by ALSA

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

18 years ago/dev/dsp should default to U8, not mulaw.
Pierre Ossman [Fri, 16 Jun 2006 21:11:45 +0000 (21:11 +0000)]
/dev/dsp should default to U8, not mulaw.

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

18 years agoCreating a stream might take some time, so check that it's in the right state
Pierre Ossman [Fri, 16 Jun 2006 21:08:35 +0000 (21:08 +0000)]
Creating a stream might take some time, so check that it's in the right state
before transferring data.

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

18 years agoRecord support.
Pierre Ossman [Fri, 16 Jun 2006 21:07:32 +0000 (21:07 +0000)]
Record support.

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

18 years agoif S16NE is not supported, fall back to S16RE. If FLOAT32NE is not supported, fall...
Lennart Poettering [Fri, 16 Jun 2006 19:33:05 +0000 (19:33 +0000)]
if S16NE is not supported, fall back to S16RE. If FLOAT32NE is not supported, fall back to FLOAT32NE. If still nothing is supported, try everything else in order

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

18 years agoupdate todo
Lennart Poettering [Thu, 15 Jun 2006 17:34:27 +0000 (17:34 +0000)]
update todo

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

18 years agoMake debug output in padsp a bit less verbose. Specifying -d twice will give
Pierre Ossman [Thu, 15 Jun 2006 14:47:14 +0000 (14:47 +0000)]
Make debug output in padsp a bit less verbose. Specifying -d twice will give
original output.

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

18 years agoMake a copy of the va_list as vsnprintf() is free to change it.
Pierre Ossman [Tue, 13 Jun 2006 15:54:11 +0000 (15:54 +0000)]
Make a copy of the va_list as vsnprintf() is free to change it.

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

18 years agoCatch the access() system call as some applications do this to test if they
Pierre Ossman [Tue, 13 Jun 2006 13:21:14 +0000 (13:21 +0000)]
Catch the access() system call as some applications do this to test if they
can open /dev/dsp.

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

18 years agoMake sure our inet_ntop() implementation gets linked into the new users.
Pierre Ossman [Tue, 13 Jun 2006 10:53:49 +0000 (10:53 +0000)]
Make sure our inet_ntop() implementation gets linked into the new users.

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

18 years agoTweak the printing of client connections a bit so that it's more apparent
Pierre Ossman [Tue, 13 Jun 2006 09:33:55 +0000 (09:33 +0000)]
Tweak the printing of client connections a bit so that it's more apparent
what and who it is that's connecting.

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

18 years agoHandle pretty printing of IPv6 socket names.
Pierre Ossman [Tue, 13 Jun 2006 09:33:04 +0000 (09:33 +0000)]
Handle pretty printing of IPv6 socket names.

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

18 years agoUse AM_ICONV to determine what needs to be done for iconv support. (closes #19)
Pierre Ossman [Mon, 12 Jun 2006 14:18:19 +0000 (14:18 +0000)]
Use AM_ICONV to determine what needs to be done for iconv support. (closes #19)

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

18 years agoFix AC_CHECK_DEFINE so that we can look in different files for the same
Pierre Ossman [Mon, 12 Jun 2006 13:56:30 +0000 (13:56 +0000)]
Fix AC_CHECK_DEFINE so that we can look in different files for the same
define.

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

18 years agoAlso look in winsock2.h for INADDR_NONE. (solves #18)
Pierre Ossman [Mon, 12 Jun 2006 12:52:37 +0000 (12:52 +0000)]
Also look in winsock2.h for INADDR_NONE. (solves #18)

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

18 years agoProperly escape the m4 macros and make the code a bit more readable.
Pierre Ossman [Mon, 12 Jun 2006 12:19:24 +0000 (12:19 +0000)]
Properly escape the m4 macros and make the code a bit more readable.

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

18 years agoAdd all the preopen libs to the polypaudio binary's dependency list as they
Pierre Ossman [Sun, 11 Jun 2006 01:34:12 +0000 (01:34 +0000)]
Add all the preopen libs to the polypaudio binary's dependency list as they
aren't automatically detected. (Closes #17)

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

18 years agorework ioline EOF handling to actually work properly
Lennart Poettering [Sat, 3 Jun 2006 01:15:21 +0000 (01:15 +0000)]
rework ioline EOF handling to actually work properly

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

18 years agofix pa_xstrndup() implementation to not access potentially uninitialized memory
Lennart Poettering [Sat, 3 Jun 2006 00:59:24 +0000 (00:59 +0000)]
fix pa_xstrndup() implementation to not access potentially uninitialized memory

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

18 years agoactually build cpulimit support if SIGXCPU is available
Lennart Poettering [Fri, 2 Jun 2006 22:56:20 +0000 (22:56 +0000)]
actually build cpulimit support if SIGXCPU is available

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

18 years agofix ugly access-after-free bug when doing asyncronous NS lookups
Lennart Poettering [Fri, 2 Jun 2006 21:06:38 +0000 (21:06 +0000)]
fix ugly access-after-free bug when doing asyncronous NS lookups

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

18 years agoupdate docs for 0.9.1
Lennart Poettering [Fri, 2 Jun 2006 19:49:05 +0000 (19:49 +0000)]
update docs for 0.9.1

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

18 years agobump version and soname
Lennart Poettering [Fri, 2 Jun 2006 19:28:47 +0000 (19:28 +0000)]
bump version and soname

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

18 years agoAdd new configure options to disable/enable specific modules at configure time. Origi...
Lennart Poettering [Fri, 2 Jun 2006 15:30:04 +0000 (15:30 +0000)]
Add new configure options to disable/enable specific modules at configure time. Original patch by ed@catmur.co.uk. (Closes #16)

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

18 years agoupdate todo
Pierre Ossman [Thu, 1 Jun 2006 13:49:17 +0000 (13:49 +0000)]
update todo

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

18 years agoTry the ltdl mangled name ourselves so that .la files for modules are optional.
Pierre Ossman [Thu, 1 Jun 2006 13:49:10 +0000 (13:49 +0000)]
Try the ltdl mangled name ourselves so that .la files for modules are optional.

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

18 years agoremove superfluous prefixes from service names
Lennart Poettering [Wed, 31 May 2006 19:17:32 +0000 (19:17 +0000)]
remove superfluous prefixes from service names

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

18 years agoupdate TODO
Lennart Poettering [Wed, 31 May 2006 15:07:37 +0000 (15:07 +0000)]
update TODO

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

18 years agodecrease maximum allowed sample frequency for ALSA devices to 5%, since 48000 would...
Lennart Poettering [Wed, 31 May 2006 00:05:38 +0000 (00:05 +0000)]
decrease maximum allowed sample frequency for ALSA devices to 5%, since 48000 would otherwise match with 44100

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

18 years agodowngrade a log message
Lennart Poettering [Tue, 30 May 2006 22:57:41 +0000 (22:57 +0000)]
downgrade a log message

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

18 years ago* alsa-sink: if "PCM" is not found as mixer track name, fallback to "Master"
Lennart Poettering [Tue, 30 May 2006 22:48:17 +0000 (22:48 +0000)]
* alsa-sink: if "PCM" is not found as mixer track name, fallback to "Master"
* alsa-source: if "Capture" is not found as mixer track name, fallback to "Mic"

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

18 years ago* if an ALSA device doesn't support the channel count requested, use what ALSA sugges...
Lennart Poettering [Tue, 30 May 2006 22:05:07 +0000 (22:05 +0000)]
* if an ALSA device doesn't support the channel count requested, use what ALSA suggests instead
* if an ALSA device doesn't support the sampling freq requested, use what ALSA suggests and resample if this deviates more than 10% from what we requested
* fix segfault freeing an unitialized mixer_fdl field

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

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

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

18 years agoload alsa modules with device string hw:0 instead of hw:0,0
Lennart Poettering [Tue, 30 May 2006 12:23:37 +0000 (12:23 +0000)]
load alsa modules with device string hw:0 instead of hw:0,0

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

18 years agofix amd64 portability issues
Lennart Poettering [Tue, 30 May 2006 00:25:51 +0000 (00:25 +0000)]
fix amd64 portability issues

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

18 years agomerge patch from Igor Zubkov, fixing linking of the HOWL modules
Lennart Poettering [Mon, 29 May 2006 14:06:08 +0000 (14:06 +0000)]
merge patch from Igor Zubkov, fixing linking of the HOWL modules

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

18 years agoupdate svn:ignore to reflect the esdcompat name change
Lennart Poettering [Mon, 29 May 2006 13:01:08 +0000 (13:01 +0000)]
update svn:ignore to reflect the esdcompat name change

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

18 years agodrop the .sh suffix from esdcompat
Lennart Poettering [Mon, 29 May 2006 12:59:10 +0000 (12:59 +0000)]
drop the .sh suffix from esdcompat

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

18 years agoupdate README for 0.9.0
Lennart Poettering [Fri, 26 May 2006 18:00:02 +0000 (18:00 +0000)]
update README for 0.9.0

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

18 years agodisable padsp for the polypaudio daemon itself by defining the __padsp_disabled__...
Lennart Poettering [Fri, 26 May 2006 17:59:39 +0000 (17:59 +0000)]
disable padsp for the polypaudio daemon itself by defining the __padsp_disabled__ symbol

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

18 years agoupdate todo
Pierre Ossman [Fri, 26 May 2006 12:24:37 +0000 (12:24 +0000)]
update todo

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

18 years agoFix the fix_metrics() function so that we don't get a tiny buffer by default.
Pierre Ossman [Fri, 26 May 2006 12:18:07 +0000 (12:18 +0000)]
Fix the fix_metrics() function so that we don't get a tiny buffer by default.

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

18 years agoFix typos.
Pierre Ossman [Fri, 26 May 2006 09:21:03 +0000 (09:21 +0000)]
Fix typos.

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

18 years agoReturned buffer attr is const.
Pierre Ossman [Fri, 26 May 2006 07:24:47 +0000 (07:24 +0000)]
Returned buffer attr is const.

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

18 years agoExplicitly check version number when determining which fields are in a stream
Pierre Ossman [Fri, 26 May 2006 07:24:25 +0000 (07:24 +0000)]
Explicitly check version number when determining which fields are in a stream
create response.

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

18 years agoupdate todo
Lennart Poettering [Thu, 25 May 2006 23:40:25 +0000 (23:40 +0000)]
update todo

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

18 years ago* add new API function pa_stream_get_buffer_attr().
Lennart Poettering [Thu, 25 May 2006 23:20:28 +0000 (23:20 +0000)]
* add new API function pa_stream_get_buffer_attr().
* modify pacat.c to make use of that new API
* extend protocol to allow transfer of the necessary information
* update protocol version accordingly

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

18 years agoWrong prefix used in the padsp script.
Pierre Ossman [Thu, 25 May 2006 17:27:06 +0000 (17:27 +0000)]
Wrong prefix used in the padsp script.

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

18 years agoWe only need the so for libpolypdsp.
Pierre Ossman [Thu, 25 May 2006 17:26:02 +0000 (17:26 +0000)]
We only need the so for libpolypdsp.

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

18 years agoreally fix a superfluous warning when building padsp.c
Lennart Poettering [Thu, 25 May 2006 17:18:42 +0000 (17:18 +0000)]
really fix a superfluous warning when building padsp.c

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

18 years ago* split pa_cstrerror() into its own file polypcore/core-error.[ch]
Lennart Poettering [Thu, 25 May 2006 17:16:55 +0000 (17:16 +0000)]
* split pa_cstrerror() into its own file polypcore/core-error.[ch]
* fix building of padsp
* remove a warning when compiling padsp.c

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

18 years agomove modules to ${libdir}/polypaudio-${PA_MAJORMINOR}/modules/
Lennart Poettering [Thu, 25 May 2006 16:05:11 +0000 (16:05 +0000)]
move modules to ${libdir}/polypaudio-${PA_MAJORMINOR}/modules/

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

18 years agoFix padsp script so that it accepts parameters, setting relevant environment
Pierre Ossman [Thu, 25 May 2006 15:44:24 +0000 (15:44 +0000)]
Fix padsp script so that it accepts parameters, setting relevant environment
variables as needed.

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

18 years agoUse only the basename of libpolypdsp.so so that it will work on multi-arch
Pierre Ossman [Thu, 25 May 2006 13:56:14 +0000 (13:56 +0000)]
Use only the basename of libpolypdsp.so so that it will work on multi-arch
systems.

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

18 years agoMove libpolypdsp in the makefile to avoid the libtool bug where it must come
Pierre Ossman [Thu, 25 May 2006 13:31:28 +0000 (13:31 +0000)]
Move libpolypdsp in the makefile to avoid the libtool bug where it must come
after any things it depends on.

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

18 years agoadd item about moving pa_cstrerror() to TODO
Lennart Poettering [Thu, 25 May 2006 13:29:36 +0000 (13:29 +0000)]
add item about moving pa_cstrerror() to TODO

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

18 years agoupdate todo
Lennart Poettering [Thu, 25 May 2006 01:26:10 +0000 (01:26 +0000)]
update todo

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

18 years agoread stream and client name from $PADSP_STREAM_NAME resp. $PADSP_CLIENT_NAME, if...
Lennart Poettering [Thu, 25 May 2006 01:19:56 +0000 (01:19 +0000)]
read stream and client name from $PADSP_STREAM_NAME resp. $PADSP_CLIENT_NAME, if available

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

18 years agoadd support to disable emulation of /dev/dsp,/dev/mixer,/dev/sndstat selectively...
Lennart Poettering [Thu, 25 May 2006 01:14:06 +0000 (01:14 +0000)]
add support to disable emulation of /dev/dsp,/dev/mixer,/dev/sndstat selectively by either passing an environment variable or by defining a symbol __padsp_disable__ in the process

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

18 years agofix evil, evil typo that cause all gtk2 based apps to crash
Lennart Poettering [Thu, 25 May 2006 00:40:04 +0000 (00:40 +0000)]
fix evil, evil typo that cause all gtk2 based apps to crash

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

18 years ago* issue volume updates syncrhonously
Lennart Poettering [Thu, 25 May 2006 00:25:03 +0000 (00:25 +0000)]
* issue volume updates syncrhonously
* correct channel order of OSS volumes (swap left,right)

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

18 years agoupdate TODO
Lennart Poettering [Thu, 25 May 2006 00:12:06 +0000 (00:12 +0000)]
update TODO

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

18 years agopadsp needs dlsym & co so make sure we get that lib included.
Pierre Ossman [Wed, 24 May 2006 15:38:11 +0000 (15:38 +0000)]
padsp needs dlsym & co so make sure we get that lib included.

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

18 years agoFix warnings.
Pierre Ossman [Wed, 24 May 2006 13:23:15 +0000 (13:23 +0000)]
Fix warnings.

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

18 years agoRemove the exceedingly anal warnings. It's impossible to write a non-trivial
Pierre Ossman [Wed, 24 May 2006 13:22:16 +0000 (13:22 +0000)]
Remove the exceedingly anal warnings. It's impossible to write a non-trivial
C program and not trigger these.

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

18 years agoFix stray \
Pierre Ossman [Wed, 24 May 2006 08:14:19 +0000 (08:14 +0000)]
Fix stray \

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

18 years agoimplement a /dev/mixer interface
Lennart Poettering [Wed, 24 May 2006 02:13:29 +0000 (02:13 +0000)]
implement a /dev/mixer interface

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

18 years agofix playback of small sound files
Lennart Poettering [Wed, 24 May 2006 00:42:30 +0000 (00:42 +0000)]
fix playback of small sound files

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

18 years agoimplement emulation of /dev/sndstat
Lennart Poettering [Tue, 23 May 2006 23:57:50 +0000 (23:57 +0000)]
implement emulation of /dev/sndstat

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

18 years ago- use pthread_atfork() to disable open sound streams in the child after a fork.
Lennart Poettering [Tue, 23 May 2006 23:06:28 +0000 (23:06 +0000)]
- use pthread_atfork() to disable open sound streams in the child after a fork.
  Obviusly sound won't work in child process but at least we don't leak fds
  from the parent. Now any operation on the device fd in the child will result
  in an EBADF error, which seems somewhat clean to me.

- flush our unix socket properly on RESET ioctl

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

18 years agopass the binary name as client name to polypaudio
Lennart Poettering [Tue, 23 May 2006 16:37:33 +0000 (16:37 +0000)]
pass the binary name as client name to polypaudio

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

18 years agoCast size_t to long to be more compatible with 64-bit systems.
Pierre Ossman [Tue, 23 May 2006 15:24:29 +0000 (15:24 +0000)]
Cast size_t to long to be more compatible with 64-bit systems.

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

18 years agoadd new padsp utility: a $LD_PRELOAD wrapper for using the OSS API with polypaudio
Lennart Poettering [Tue, 23 May 2006 14:42:23 +0000 (14:42 +0000)]
add new padsp utility: a $LD_PRELOAD wrapper for using the OSS API with polypaudio

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

18 years agochange return type of pa_cstrerror() to "const char*"
Lennart Poettering [Tue, 23 May 2006 14:39:15 +0000 (14:39 +0000)]
change return type of pa_cstrerror() to "const char*"

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

18 years agoFix some warnings.
Pierre Ossman [Tue, 23 May 2006 07:33:33 +0000 (07:33 +0000)]
Fix some warnings.

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

18 years agoFix TLS on Win32 to something a bit more safe and portable (compiler-wise).
Pierre Ossman [Mon, 22 May 2006 16:47:26 +0000 (16:47 +0000)]
Fix TLS on Win32 to something a bit more safe and portable (compiler-wise).

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

18 years agoadd missing #include
Lennart Poettering [Mon, 22 May 2006 15:56:28 +0000 (15:56 +0000)]
add missing #include

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

18 years agoWrap strerror() in a function that makes it thread safe and converts the
Pierre Ossman [Mon, 22 May 2006 15:20:46 +0000 (15:20 +0000)]
Wrap strerror() in a function that makes it thread safe and converts the
output to UTF-8.

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

18 years agoupdate todo
Pierre Ossman [Mon, 22 May 2006 15:19:50 +0000 (15:19 +0000)]
update todo

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

18 years agoadd missing #include
Lennart Poettering [Sun, 21 May 2006 14:06:51 +0000 (14:06 +0000)]
add missing #include

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

18 years agoadd new function pa_usec_to_bytes() as inverse of pa_bytes_to_usec()
Lennart Poettering [Sun, 21 May 2006 14:06:33 +0000 (14:06 +0000)]
add new function pa_usec_to_bytes() as inverse of pa_bytes_to_usec()

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

18 years agodoc update
Lennart Poettering [Sat, 20 May 2006 19:27:47 +0000 (19:27 +0000)]
doc update

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

18 years agofix long-standing buf that could cause polypaudio to eat 100% CPU: fix handling of...
Lennart Poettering [Sat, 20 May 2006 15:00:16 +0000 (15:00 +0000)]
fix long-standing buf that could cause polypaudio to eat 100% CPU: fix handling of event bits for pa_iochannel

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

18 years agorename pa_simple_get_playback_latency() to pa_simple_get_latency() and allow its...
Lennart Poettering [Sat, 20 May 2006 14:59:02 +0000 (14:59 +0000)]
rename pa_simple_get_playback_latency() to pa_simple_get_latency() and allow its usage on capture streams

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

18 years agogenerate PA_MAJORMINOR properly - only from major and minor, not from micro
Lennart Poettering [Fri, 19 May 2006 17:40:44 +0000 (17:40 +0000)]
generate PA_MAJORMINOR properly - only from major and minor, not from micro

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

18 years agoFix some missing headers.
Pierre Ossman [Fri, 19 May 2006 11:32:32 +0000 (11:32 +0000)]
Fix some missing headers.

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

18 years agoFix which headers get installed for libpolyp.
Pierre Ossman [Fri, 19 May 2006 07:38:35 +0000 (07:38 +0000)]
Fix which headers get installed for libpolyp.

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

18 years agoSort source files.
Pierre Ossman [Fri, 19 May 2006 07:29:34 +0000 (07:29 +0000)]
Sort source files.

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

18 years agoupdate todo
Pierre Ossman [Thu, 18 May 2006 10:36:50 +0000 (10:36 +0000)]
update todo

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

18 years agoConvert log text to current locale before passing it on to stderr or syslog.
Pierre Ossman [Thu, 18 May 2006 10:36:36 +0000 (10:36 +0000)]
Convert log text to current locale before passing it on to stderr or syslog.

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

18 years agoMake paplay convert names to UTF-8 before sending to the server.
Pierre Ossman [Thu, 18 May 2006 08:21:41 +0000 (08:21 +0000)]
Make paplay convert names to UTF-8 before sending to the server.

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

18 years agoAnd functions for convertion to and from current locale and UTF-8.
Pierre Ossman [Thu, 18 May 2006 08:19:07 +0000 (08:19 +0000)]
And functions for convertion to and from current locale and UTF-8.

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

18 years agoMissing include of util.h.
Pierre Ossman [Thu, 18 May 2006 07:07:27 +0000 (07:07 +0000)]
Missing include of util.h.

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

18 years agoDon't include util.h from core-util.h as it is not needed by many users.
Pierre Ossman [Thu, 18 May 2006 07:04:41 +0000 (07:04 +0000)]
Don't include util.h from core-util.h as it is not needed by many users.

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

18 years agoPATH_MAX needs limits.h.
Pierre Ossman [Thu, 18 May 2006 06:53:54 +0000 (06:53 +0000)]
PATH_MAX needs limits.h.

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