profile/ivi/pulseaudio.git
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

18 years agoupdate todo
Pierre Ossman [Thu, 18 May 2006 06:46:27 +0000 (06:46 +0000)]
update todo

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

18 years agoMove timeval calculation functions into their own file.
Pierre Ossman [Thu, 18 May 2006 06:45:43 +0000 (06:45 +0000)]
Move timeval calculation functions into their own file.

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

18 years agoupdate README for 0.9.0
Lennart Poettering [Wed, 17 May 2006 21:39:35 +0000 (21:39 +0000)]
update README for 0.9.0

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

18 years agomodify lirc module to use pa_sink_mute() for muting and unmuting
Lennart Poettering [Wed, 17 May 2006 21:07:46 +0000 (21:07 +0000)]
modify lirc module to use pa_sink_mute() for muting and unmuting

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

18 years agofix include line for "core-util.h"
Lennart Poettering [Wed, 17 May 2006 20:44:55 +0000 (20:44 +0000)]
fix include line for "core-util.h"

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

18 years agoadd C++ macros to utf8.h
Lennart Poettering [Wed, 17 May 2006 20:44:19 +0000 (20:44 +0000)]
add C++ macros to utf8.h

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

18 years agoadd C++ macros to xmalloc.h
Lennart Poettering [Wed, 17 May 2006 20:43:49 +0000 (20:43 +0000)]
add C++ macros to xmalloc.h

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

18 years ago* add doxygen docs to header file
Lennart Poettering [Wed, 17 May 2006 20:43:19 +0000 (20:43 +0000)]
* add doxygen docs to header file
* add C++ macros to header file

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

18 years agoadd util.h to doxygen
Lennart Poettering [Wed, 17 May 2006 20:42:27 +0000 (20:42 +0000)]
add util.h to doxygen

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

18 years agoinclude util.h in polypaudio.h
Lennart Poettering [Wed, 17 May 2006 20:42:11 +0000 (20:42 +0000)]
include util.h in polypaudio.h

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

18 years agosplit polypcore/util.[ch] into polypcore/core-util.[ch] and polyp/util.[ch]
Lennart Poettering [Wed, 17 May 2006 20:09:57 +0000 (20:09 +0000)]
split polypcore/util.[ch] into polypcore/core-util.[ch] and polyp/util.[ch]

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

18 years agoreplace memory allocation function calls with pa_xXXXX()
Lennart Poettering [Wed, 17 May 2006 19:26:54 +0000 (19:26 +0000)]
replace memory allocation function calls with pa_xXXXX()

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

18 years agoinclude more files in polypaudio.h
Lennart Poettering [Wed, 17 May 2006 19:26:14 +0000 (19:26 +0000)]
include more files in polypaudio.h

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

18 years agoadd doxygen docs for utf8.h
Lennart Poettering [Wed, 17 May 2006 19:07:53 +0000 (19:07 +0000)]
add doxygen docs for utf8.h

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

18 years ago* make pa_xfree() a real function
Lennart Poettering [Wed, 17 May 2006 19:07:30 +0000 (19:07 +0000)]
* make pa_xfree() a real function
* update doxygen docs for xmalloc.h

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

18 years agoadd utf8.h and xmalloc.h to doxygen docs
Lennart Poettering [Wed, 17 May 2006 19:06:42 +0000 (19:06 +0000)]
add utf8.h and xmalloc.h to doxygen docs

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

18 years agoadd new channel map argument to pa_simple_new()
Lennart Poettering [Wed, 17 May 2006 18:52:34 +0000 (18:52 +0000)]
add new channel map argument to pa_simple_new()

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

18 years agofix svn tag
Lennart Poettering [Wed, 17 May 2006 18:51:37 +0000 (18:51 +0000)]
fix svn tag

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

18 years agoMove utf8 to the public part (libpolyp).
Pierre Ossman [Wed, 17 May 2006 17:30:49 +0000 (17:30 +0000)]
Move utf8 to the public part (libpolyp).

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

18 years agoMove xmalloc to the public side (libpolyp).
Pierre Ossman [Wed, 17 May 2006 16:34:18 +0000 (16:34 +0000)]
Move xmalloc to the public side (libpolyp).

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

18 years agomore sensible default.pa file
Lennart Poettering [Wed, 17 May 2006 15:38:58 +0000 (15:38 +0000)]
more sensible default.pa file

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

18 years agoadd proper locking when accessing the file match.table
Lennart Poettering [Wed, 17 May 2006 15:21:34 +0000 (15:21 +0000)]
add proper locking when accessing the file match.table

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

18 years agoadd proper locking when accessing the file volume.table
Lennart Poettering [Wed, 17 May 2006 15:21:08 +0000 (15:21 +0000)]
add proper locking when accessing the file volume.table

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

18 years agoadd documentation for module-volume-restore
Lennart Poettering [Wed, 17 May 2006 15:19:30 +0000 (15:19 +0000)]
add documentation for module-volume-restore

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

18 years agoupdate todo
Lennart Poettering [Wed, 17 May 2006 15:19:15 +0000 (15:19 +0000)]
update todo

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

18 years agoupdate todo
Lennart Poettering [Wed, 17 May 2006 14:58:50 +0000 (14:58 +0000)]
update todo

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

18 years ago* support native ULAW/ALAW file streams
Lennart Poettering [Wed, 17 May 2006 14:55:54 +0000 (14:55 +0000)]
* support native ULAW/ALAW file streams
* fix shutdown of file streams

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

18 years agosupport loading ULAW/ALAW files into ULAW/ALAW memchunks
Lennart Poettering [Wed, 17 May 2006 14:55:17 +0000 (14:55 +0000)]
support loading ULAW/ALAW files into ULAW/ALAW memchunks

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

18 years ago* use S16NE for SF_FORMAT_PCM_S8 formats, too
Lennart Poettering [Wed, 17 May 2006 14:54:41 +0000 (14:54 +0000)]
* use S16NE for SF_FORMAT_PCM_S8 formats, too

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

18 years agowhen playing an ULAW or ALAW audio file, do not convert to S16NE unconditionally...
Lennart Poettering [Wed, 17 May 2006 14:06:12 +0000 (14:06 +0000)]
when playing an ULAW or ALAW audio file, do not convert to S16NE unconditionally, instead use sf_read_raw() to read raw audio data

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

18 years agoincrease PA_CHANNELS_MAX to 32
Lennart Poettering [Wed, 17 May 2006 13:15:12 +0000 (13:15 +0000)]
increase PA_CHANNELS_MAX to 32

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

18 years agouse PA_CHANNEL_MAP_OSS in module-oss, module-oss-mmap
Lennart Poettering [Wed, 17 May 2006 13:09:46 +0000 (13:09 +0000)]
use PA_CHANNEL_MAP_OSS in module-oss, module-oss-mmap

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

18 years agoadd new channel mapping standard PA_CHANNEL_MAP_OSS
Lennart Poettering [Wed, 17 May 2006 13:06:04 +0000 (13:06 +0000)]
add new channel mapping standard PA_CHANNEL_MAP_OSS

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

18 years agoupdate todo
Pierre Ossman [Wed, 17 May 2006 11:23:07 +0000 (11:23 +0000)]
update todo

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

18 years agoUpdate documentation to contain the UTF-8 requirement.
Pierre Ossman [Wed, 17 May 2006 11:10:59 +0000 (11:10 +0000)]
Update documentation to contain the UTF-8 requirement.

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

18 years agoDocumentation for the threaded main loop API.
Pierre Ossman [Wed, 17 May 2006 11:07:16 +0000 (11:07 +0000)]
Documentation for the threaded main loop API.

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

18 years agoSet default channel map system for waveout module.
Pierre Ossman [Wed, 17 May 2006 06:58:58 +0000 (06:58 +0000)]
Set default channel map system for waveout module.

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

18 years agoAdd Microsoft's WAVEFORMWATEEXTENSIBLE channel mapping.
Pierre Ossman [Wed, 17 May 2006 06:58:43 +0000 (06:58 +0000)]
Add Microsoft's WAVEFORMWATEEXTENSIBLE channel mapping.

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

18 years agoUse default channel map for Solaris module. There doesn't seem to be a standard
Pierre Ossman [Wed, 17 May 2006 06:31:18 +0000 (06:31 +0000)]
Use default channel map for Solaris module. There doesn't seem to be a standard
for > 2 channels, so we'll have to rely on the user.

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

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