Pierre Ossman
3fa19ab457
Fix warnings.
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@959 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-05-24 13:23:15 +00:00
Pierre Ossman
4e3dc7ce68
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
2006-05-22 15:20:46 +00:00
Pierre Ossman
0796ead0db
Move timeval calculation functions into their own file.
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@926 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-05-18 06:45:43 +00:00
Lennart Poettering
c47e937011
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
2006-05-17 20:09:57 +00:00
Pierre Ossman
7ca25e58e9
Move utf8 to the public part (libpolyp).
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@909 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-05-17 17:30:49 +00:00
Pierre Ossman
d9cc2cfcb9
Move xmalloc to the public side (libpolyp).
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@908 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-05-17 16:34:18 +00:00
Lennart Poettering
56b685ab46
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
2006-05-16 01:40:01 +00:00
Pierre Ossman
f468308e41
Include utf8.h for the validation function.
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@867 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-05-15 06:36:07 +00:00
Lennart Poettering
45bbb34999
add utf8 validity checking to esound protocol
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@865 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-05-14 16:18:00 +00:00
Lennart Poettering
be05b18c6f
* 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
2006-05-14 00:41:18 +00:00
Lennart Poettering
682dfd7adb
fix esound sample cache names
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@856 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-05-13 21:40:38 +00:00
Lennart Poettering
11782f0b74
fix hangup detection for recording streams
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@849 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-05-11 22:37:42 +00:00
Lennart Poettering
335e23473f
* when playing back a sample from the sample cache, just take a pa_volume_t and not a pa_cvolume_t as argument for the volume. Usually it is not known to the player of theses samples how many channels it has, hence it doesn't make any sense to allow him to pass a by-channel volume structure here.
...
* fix volume calculation when playing samples from the sample cache
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@784 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-04-23 19:49:01 +00:00
Pierre Ossman
add110bd10
Some memcpy arithmetic that wasn't removed when doing the redesign to update
...
the data pointer instead.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@654 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-04-07 06:29:59 +00:00
Lennart Poettering
ac3d11f833
remove some GCC warnings introduced by improperly casting to (char*) instead of (const char*)
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@642 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-04-06 20:17:27 +00:00
Pierre Ossman
4e522940ff
Alignment safe protocol handling in esound module.
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@622 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-03-04 13:55:40 +00:00
Pierre Ossman
1bb14c3a1d
64-bit fixes.
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@611 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-02-27 09:09:15 +00:00
Lennart Poettering
4358977415
* Add new "auth-group=" parameter to protocol-native-unix
...
* Rename "public=" argument of protocol-{esound,native} to "auth-anonymous"
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@601 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-02-24 17:14:23 +00:00
Lennart Poettering
c2304d6872
add a few more validity checks to protocol-esound
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@589 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-02-24 00:49:21 +00:00
Lennart Poettering
4a64b0d116
change pa_log() and friends to not require a trailing \n on all logged strings
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@574 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-02-23 02:27:19 +00:00
Lennart Poettering
13b4213274
remove left-over log line in protocol-esound.c
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@554 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-02-21 23:34:22 +00:00
Pierre Ossman
5d253cd30c
Fix some warnings by making sure we have the right signedness on things.
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@525 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-02-20 16:21:19 +00:00
Lennart Poettering
304449002c
1) Add flexible seeking support (including absolute) for memory block queues and playback streams
...
2) Add support to synchronize multiple playback streams
3) add two tests for 1) and 2)
4) s/PA_ERROR/PA_ERR/
5) s/PA_ERROR_OK/PA_OK/
6) update simple API to deal properly with new peek/drop recording API
7) add beginnings of proper validity checking on API calls in client libs (needs to be extended)
8) report playback buffer overflows/underflows to the client
9) move client side recording mcalign stuff into the memblockq
10) create typedefs for a bunch of API callback prototypes
11) simplify handling of HUP poll() events
Yes, i know, it's usually better to commit a lot of small patches instead of a
single big one. In this case however, this would have contradicted the other
rule: never commit broken or incomplete stuff.
*** This stuff needs a lot of additional testing! ***
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@511 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-02-20 04:05:16 +00:00
Pierre Ossman
5eda18bf60
Cleaned up the includes after the restructuring. Indicate which headers are
...
public and which are internal through <> vs "".
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@500 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-02-17 12:10:58 +00:00
Lennart Poettering
5ccf4145bc
* rename polypcore/subscribe.[ch] to polypcore/core-subscribe.[ch] to avoid confusion with polyp/subscribe.[ch]
...
* same for scache.[ch]
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@496 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-02-16 23:13:27 +00:00
Pierre Ossman
e205b25d65
Reorganised the source tree. We now have src/ with a couple of subdirs:
...
* daemon/ - Contains the files specific to the polypaudio daemon.
* modules/ - All loadable modules.
* polyp/ - Files that are part of the public, application interface or
are only used in libpolyp.
* polypcore/ - All other shared files.
* tests/ - Test programs.
* utils/ - Utility programs.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@487 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-02-16 19:19:58 +00:00