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

18 years agoenforce maximum sample size in sample cache
Lennart Poettering [Sun, 23 Apr 2006 20:59:09 +0000 (20:59 +0000)]
enforce maximum sample size in sample cache

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

18 years ago* fix ref counting of pa_stream: strictly refcount from context to stream and never...
Lennart Poettering [Sun, 23 Apr 2006 20:58:08 +0000 (20:58 +0000)]
* fix ref counting of pa_stream: strictly refcount from context to stream and never vice versa to make sure that we never loose memory
* don't hit an assert() in case of a  timeout events

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

18 years agointroduce a new error PA_ERR_TOOLARGE
Lennart Poettering [Sun, 23 Apr 2006 20:56:41 +0000 (20:56 +0000)]
introduce a new error PA_ERR_TOOLARGE

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

18 years ago* when playing back a sample from the sample cache, just take a pa_volume_t and not...
Lennart Poettering [Sun, 23 Apr 2006 19:49:01 +0000 (19:49 +0000)]
* 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

18 years agofix multiplication of software pa_cvolumes
Lennart Poettering [Sun, 23 Apr 2006 19:46:16 +0000 (19:46 +0000)]
fix multiplication of software pa_cvolumes

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

18 years agoallow recieving of invalid channel maps, volumes and sample specs. This makes handlin...
Lennart Poettering [Sun, 23 Apr 2006 19:42:58 +0000 (19:42 +0000)]
allow recieving of invalid channel maps, volumes and sample specs. This makes handling of uninitialized data better, e.g. when sending info about lazy-load sample chache entries, where the channel mapping and sample spec is still unknown.

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

18 years ago* Merge build system patch from Igor Zubkov
Lennart Poettering [Sun, 23 Apr 2006 14:29:32 +0000 (14:29 +0000)]
* Merge build system patch from Igor Zubkov
* Build libparseaddr.so before libsocket-client.so

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

18 years agoremove superfluous "set -ex" line
Lennart Poettering [Sat, 22 Apr 2006 21:53:35 +0000 (21:53 +0000)]
remove superfluous "set -ex" line

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

18 years agorequire automake 1.9 in configure.ac
Lennart Poettering [Sat, 22 Apr 2006 21:53:18 +0000 (21:53 +0000)]
require automake 1.9 in configure.ac

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

18 years agomodify x11 modules to not cache the Display variable since pa_x11wrap_get_display...
Lennart Poettering [Sat, 22 Apr 2006 21:51:30 +0000 (21:51 +0000)]
modify x11 modules to not cache the Display variable since pa_x11wrap_get_display() is now used as notification that the x11 output buffer needs flushing

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

18 years agowhen loading sound files, initialize channel map data properly
Lennart Poettering [Sat, 22 Apr 2006 21:50:15 +0000 (21:50 +0000)]
when loading sound files, initialize channel map data properly

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

18 years agofix x11 handling
Lennart Poettering [Sat, 22 Apr 2006 21:49:30 +0000 (21:49 +0000)]
fix x11 handling

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

18 years agofix sample cache
Lennart Poettering [Sat, 22 Apr 2006 21:04:35 +0000 (21:04 +0000)]
fix sample cache

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

18 years ago* for unix sockets: remove the right parent directory on shutdown
Lennart Poettering [Sat, 22 Apr 2006 20:06:48 +0000 (20:06 +0000)]
* for unix sockets: remove the right parent directory on shutdown
* other cleanups

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

18 years agoadd new function pa_parent_dir()
Lennart Poettering [Sat, 22 Apr 2006 20:05:01 +0000 (20:05 +0000)]
add new function pa_parent_dir()

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

18 years agofirst unlink the socket, the close it
Lennart Poettering [Sat, 22 Apr 2006 20:04:25 +0000 (20:04 +0000)]
first unlink the socket, the close it

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

18 years agotry to remove the directory where the PID file resides in after removing the PID...
Lennart Poettering [Sat, 22 Apr 2006 20:04:06 +0000 (20:04 +0000)]
try to remove the directory where the PID file resides in after removing the PID file

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

18 years agochown() and chmod() /tmp/.esd/ before checking if everything is ok with it
Lennart Poettering [Sat, 22 Apr 2006 14:31:47 +0000 (14:31 +0000)]
chown() and chmod() /tmp/.esd/ before checking if everything is ok with it

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

18 years agoreplace copy by symlink when installing homepage
Lennart Poettering [Thu, 20 Apr 2006 12:53:49 +0000 (12:53 +0000)]
replace copy by symlink when installing homepage

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

18 years agominor improvements to the LICENSE text
Lennart Poettering [Thu, 20 Apr 2006 12:45:52 +0000 (12:45 +0000)]
minor improvements to the LICENSE text

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

18 years agoship GPL and LGPL files with the tarball
Lennart Poettering [Thu, 20 Apr 2006 12:40:54 +0000 (12:40 +0000)]
ship GPL and LGPL files with the tarball

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

18 years agoadd new explaining LICENSE file
Lennart Poettering [Thu, 20 Apr 2006 12:40:10 +0000 (12:40 +0000)]
add new explaining LICENSE file

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

18 years ago* rename "LICENSE" to "LGPL"
Lennart Poettering [Thu, 20 Apr 2006 12:33:00 +0000 (12:33 +0000)]
* rename "LICENSE" to "LGPL"
* add GPL text
* update LGPL text in regards to FSF addresses

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

18 years agoupdate todo
Pierre Ossman [Thu, 20 Apr 2006 07:44:47 +0000 (07:44 +0000)]
update todo

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

18 years agoTweaks for the solaris module. The sound system requires complete frames
Pierre Ossman [Wed, 19 Apr 2006 15:37:52 +0000 (15:37 +0000)]
Tweaks for the solaris module. The sound system requires complete frames
to be written. Also, the sample counter can magically go backwards sometimes,
causing havoc with our buffer handling.

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

18 years agoSun's documentation about SIGPOLL on EOF:s is wrong, so use a timer based
Pierre Ossman [Wed, 19 Apr 2006 14:30:42 +0000 (14:30 +0000)]
Sun's documentation about SIGPOLL on EOF:s is wrong, so use a timer based
solution instead.

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

18 years agoMinor fixes for the way Windows handles sockets.
Pierre Ossman [Wed, 19 Apr 2006 11:56:26 +0000 (11:56 +0000)]
Minor fixes for the way Windows handles sockets.

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

18 years agoWaveOut needs to have rather large chunks. This is about as low as we can
Pierre Ossman [Wed, 19 Apr 2006 11:55:46 +0000 (11:55 +0000)]
WaveOut needs to have rather large chunks. This is about as low as we can
go without getting underflows.

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

18 years agoWin32 needs to have the socket subsystem initialised.
Pierre Ossman [Wed, 19 Apr 2006 11:54:43 +0000 (11:54 +0000)]
Win32 needs to have the socket subsystem initialised.

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

18 years agoHaving constant deferred events isn't allowed and causes problems. Use timers
Pierre Ossman [Wed, 19 Apr 2006 11:53:24 +0000 (11:53 +0000)]
Having constant deferred events isn't allowed and causes problems. Use timers
instead.

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

18 years agoReverse order of IPv6/IPv4 binding to handle systems without IPV6_V6ONLY.
Pierre Ossman [Wed, 19 Apr 2006 07:31:11 +0000 (07:31 +0000)]
Reverse order of IPv6/IPv4 binding to handle systems without IPV6_V6ONLY.

System that always do IPV6_V6ONLY will now still bind to both sockets, just
in another order.

System that never do IPV6_V6ONLY will now fail to bind IPv4 instead of IPv6.
But since they force IPv6 sockets to accept IPv4 connections, everything is
peachy anyway.

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

18 years agomake proper use of the muting facility of sinks in module-mmkbd-evdev
Lennart Poettering [Tue, 18 Apr 2006 19:44:50 +0000 (19:44 +0000)]
make proper use of the muting facility of sinks in module-mmkbd-evdev

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

18 years agofix a couple of issues I found when compiling polypaudio with gcc 2.95
Lennart Poettering [Tue, 18 Apr 2006 19:31:50 +0000 (19:31 +0000)]
fix a couple of issues I found when compiling polypaudio with gcc 2.95

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

18 years agofix CFLAGS for jack modules
Lennart Poettering [Tue, 18 Apr 2006 19:12:53 +0000 (19:12 +0000)]
fix CFLAGS for jack modules

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

18 years agofix "make distccheck" properly
Lennart Poettering [Tue, 18 Apr 2006 18:44:44 +0000 (18:44 +0000)]
fix "make distccheck" properly

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

18 years agofix make distcheck
Lennart Poettering [Tue, 18 Apr 2006 18:18:28 +0000 (18:18 +0000)]
fix make distcheck

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

18 years agoDocumentation updates
Lennart Poettering [Tue, 18 Apr 2006 17:52:37 +0000 (17:52 +0000)]
Documentation updates

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

18 years agoadd JACK module documentation
Lennart Poettering [Tue, 18 Apr 2006 17:43:32 +0000 (17:43 +0000)]
add JACK module documentation

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

18 years agofix connecting of jack source in jack daemon
Lennart Poettering [Tue, 18 Apr 2006 17:20:05 +0000 (17:20 +0000)]
fix connecting of jack source in jack daemon

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

18 years agobuild jack source
Lennart Poettering [Tue, 18 Apr 2006 17:19:41 +0000 (17:19 +0000)]
build jack source

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

18 years agofix code for pre-C99
Lennart Poettering [Tue, 18 Apr 2006 16:33:17 +0000 (16:33 +0000)]
fix code for pre-C99

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

18 years ago* fix pa_random_seet() function prototype
Lennart Poettering [Tue, 18 Apr 2006 15:40:36 +0000 (15:40 +0000)]
* fix pa_random_seet() function prototype
* drop pa_ prefix from pa_random_proper(), because it is a static function

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

18 years agoMake the probe for RNG sources at runtime since the configure script isn't
Pierre Ossman [Tue, 18 Apr 2006 15:16:24 +0000 (15:16 +0000)]
Make the probe for RNG sources at runtime since the configure script isn't
compatible with cross-compiling.

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

18 years agoClarify that JACK libs are optional.
Pierre Ossman [Tue, 18 Apr 2006 14:11:02 +0000 (14:11 +0000)]
Clarify that JACK libs are optional.

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

18 years agoMore fixes caused by Sun's complete inability to follow any standard
Pierre Ossman [Tue, 18 Apr 2006 14:09:56 +0000 (14:09 +0000)]
More fixes caused by Sun's complete inability to follow any standard
whatsoever.

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

18 years agoupdate todo
Pierre Ossman [Tue, 18 Apr 2006 13:37:34 +0000 (13:37 +0000)]
update todo

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

18 years agoWe need to emulate sendmsg/recvmsg to support rtp on Windows. Will do
Pierre Ossman [Tue, 18 Apr 2006 13:36:59 +0000 (13:36 +0000)]
We need to emulate sendmsg/recvmsg to support rtp on Windows. Will do
this some time in the future.

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

18 years agoAvoid including non-portable header sys/poll.h.
Pierre Ossman [Tue, 18 Apr 2006 13:36:30 +0000 (13:36 +0000)]
Avoid including non-portable header sys/poll.h.

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

18 years agoadd a jack source module
Lennart Poettering [Tue, 18 Apr 2006 13:22:41 +0000 (13:22 +0000)]
add a jack source module

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

18 years ago* allow the user to set the jack client name
Lennart Poettering [Tue, 18 Apr 2006 13:20:50 +0000 (13:20 +0000)]
* allow the user to set the jack client name
* take the number of channels for the sink from the number of physical ports in the jack server
* name the polypaudio ports in the jack server after their channel position in polypaudio

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

18 years agoC99 requires explicit marking of integer literals' size.
Pierre Ossman [Tue, 18 Apr 2006 12:46:03 +0000 (12:46 +0000)]
C99 requires explicit marking of integer literals' size.

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

18 years agoadd new JACK sink
Lennart Poettering [Mon, 17 Apr 2006 00:11:04 +0000 (00:11 +0000)]
add new JACK sink

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

18 years ago* add pa_mainloop_wakeup() calls for deferred events
Lennart Poettering [Sun, 16 Apr 2006 17:25:14 +0000 (17:25 +0000)]
* add pa_mainloop_wakeup() calls for deferred events
* place pa_mainloop_wakeup() calls a little bit more carfully, to minimize needless wakeups.

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

18 years agoadd new API to replace the poll() function used by the main loop implementation
Lennart Poettering [Sun, 16 Apr 2006 16:46:26 +0000 (16:46 +0000)]
add new API to replace the poll() function used by the main loop implementation

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

18 years agoproperly initialize session counter
Lennart Poettering [Sun, 16 Apr 2006 16:45:47 +0000 (16:45 +0000)]
properly initialize session counter

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

18 years agoadd documentation for the new RTP modules
Lennart Poettering [Sun, 16 Apr 2006 13:34:09 +0000 (13:34 +0000)]
add documentation for the new RTP modules

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

18 years agolimit number of concurrent RTP streams
Lennart Poettering [Sun, 16 Apr 2006 12:44:43 +0000 (12:44 +0000)]
limit number of concurrent RTP streams

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

18 years agofix typo in module description
Lennart Poettering [Sun, 16 Apr 2006 12:44:15 +0000 (12:44 +0000)]
fix typo in module description

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

18 years agochange default mcast address once again, to make sure our traffic doesn't leave the...
Lennart Poettering [Sun, 16 Apr 2006 11:13:20 +0000 (11:13 +0000)]
change default mcast address once again, to make sure our traffic doesn't leave the network by default

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

18 years agoignore symdef file of module-rtp-send
Lennart Poettering [Sun, 16 Apr 2006 10:59:54 +0000 (10:59 +0000)]
ignore symdef file of module-rtp-send

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