]> code.delx.au - pulseaudio/log
pulseaudio
18 years agominor doc updates
Lennart Poettering [Thu, 13 Apr 2006 19:31:02 +0000 (19:31 +0000)]
minor doc updates

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

18 years ago* add a link to Cendio to the README
Lennart Poettering [Thu, 13 Apr 2006 19:07:12 +0000 (19:07 +0000)]
* add a link to Cendio to the README

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

18 years agoremove yet another item from the todo list! This means we are now read for 0.8!
Lennart Poettering [Thu, 13 Apr 2006 18:56:28 +0000 (18:56 +0000)]
remove yet another item from the todo list! This means we are now read for 0.8!

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

18 years agounbreak module-tunnel
Lennart Poettering [Thu, 13 Apr 2006 18:55:55 +0000 (18:55 +0000)]
unbreak module-tunnel

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

18 years agoremove yet another item from the todo list
Lennart Poettering [Thu, 13 Apr 2006 18:28:37 +0000 (18:28 +0000)]
remove yet another item from the todo list

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

18 years agoinclude in-flux resampled chunk in latency calculations of playback streams
Lennart Poettering [Thu, 13 Apr 2006 18:27:35 +0000 (18:27 +0000)]
include in-flux resampled chunk in latency calculations of playback streams

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

18 years agofix latency calculations of module-combine
Lennart Poettering [Thu, 13 Apr 2006 18:20:05 +0000 (18:20 +0000)]
fix latency calculations of module-combine

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

18 years agohmm, nothing important
Lennart Poettering [Thu, 13 Apr 2006 17:53:43 +0000 (17:53 +0000)]
hmm, nothing important

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

18 years agoadd code to allow polypaudio dump preloaded modules using "--dump-modules"
Lennart Poettering [Thu, 13 Apr 2006 17:33:06 +0000 (17:33 +0000)]
add code to allow polypaudio dump preloaded modules using "--dump-modules"

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

18 years agomake --enable-force-preopen the default for SVN builds
Lennart Poettering [Thu, 13 Apr 2006 17:32:33 +0000 (17:32 +0000)]
make --enable-force-preopen the default for SVN builds

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

18 years agoadd new configure option to enable preloading even on architectures that support...
Lennart Poettering [Thu, 13 Apr 2006 17:32:10 +0000 (17:32 +0000)]
add new configure option to enable preloading even on architectures that support dlopen(). Useful for debugging

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

18 years agoupdate documentation for release 0.8
Lennart Poettering [Thu, 13 Apr 2006 15:10:55 +0000 (15:10 +0000)]
update documentation for release 0.8

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

18 years agodoc updates
Lennart Poettering [Thu, 13 Apr 2006 13:46:02 +0000 (13:46 +0000)]
doc updates

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

18 years agomore documentation updates
Lennart Poettering [Thu, 13 Apr 2006 13:45:38 +0000 (13:45 +0000)]
more documentation updates

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

18 years agoDocumentation updates
Lennart Poettering [Thu, 13 Apr 2006 00:56:10 +0000 (00:56 +0000)]
Documentation updates

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

18 years agoremove yet another item from the todo
Lennart Poettering [Wed, 12 Apr 2006 23:58:19 +0000 (23:58 +0000)]
remove yet another item from the todo

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

18 years agoinclude local record memblockq in latency calculations
Lennart Poettering [Wed, 12 Apr 2006 23:57:25 +0000 (23:57 +0000)]
include local record memblockq in latency calculations

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

18 years agowhen storing recording data in file, create file with proper access rights
Lennart Poettering [Wed, 12 Apr 2006 23:55:21 +0000 (23:55 +0000)]
when storing recording data in file, create file with proper access rights

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

18 years agoyet anotrher fix for slow links
Lennart Poettering [Wed, 12 Apr 2006 23:19:07 +0000 (23:19 +0000)]
yet anotrher fix for slow links

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

18 years agosmall fix to deal properly with slow links
Lennart Poettering [Wed, 12 Apr 2006 23:12:54 +0000 (23:12 +0000)]
small fix to deal properly with slow links

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

18 years ago* dispatch defer events in pa_mainloop_dispatch() and not already in pa_mainloop_prep...
Lennart Poettering [Wed, 12 Apr 2006 22:45:57 +0000 (22:45 +0000)]
* dispatch defer events in pa_mainloop_dispatch() and not already in pa_mainloop_prepare()
* fix the "timeout" parameter of pa_mainloop_prepare()
* remove pa_mainloop_deferred_pending() and update the simple API accordingly

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

18 years ago* fix latency calculation where a full playback buffer was erroneously taken as empty...
Lennart Poettering [Wed, 12 Apr 2006 18:33:13 +0000 (18:33 +0000)]
* fix latency calculation where a full playback buffer was erroneously taken as empty buffer and vice versa.

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

18 years agoremove a bunch of log messages
Lennart Poettering [Wed, 12 Apr 2006 17:26:24 +0000 (17:26 +0000)]
remove a bunch of log messages

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

18 years agobeefup pacat a little:
Lennart Poettering [Wed, 12 Apr 2006 17:18:24 +0000 (17:18 +0000)]
beefup pacat a little:
* when -v is passed, show current playback time and latency
* modify SIGUSR1 behaviour to show only playback time and latency

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

18 years ago* rename "latency correction" to "write index correction"
Lennart Poettering [Wed, 12 Apr 2006 17:17:23 +0000 (17:17 +0000)]
* rename "latency correction" to "write index correction"
* add read index invalidation code
* rename "ipol_event" stuff to "auto_timing_update"
* remove buffer_usec field from pa_timing_info, since it can be easily calculated from write_index and read_index anyway
* add read_index_corrupt field to "pa_timing_info", similar to the already existing write_index_corrupt field
* restart automatic timing update event every time a query is issued, not just when the last event elapsed
* proper invalidation code for pa_stream_flush()
* do tarsnport/sink/source latency correction for playback time only when device is not corked

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

18 years agoprotocol change: don't send stream buffer size in latency update. This data is redund...
Lennart Poettering [Wed, 12 Apr 2006 17:12:16 +0000 (17:12 +0000)]
protocol change: don't send stream buffer size in latency update. This data is redundant, since it can be calculated from write_index - read_index anyway

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

18 years agoproper validity checking for pa_context_is_pending()
Lennart Poettering [Wed, 12 Apr 2006 17:10:25 +0000 (17:10 +0000)]
proper validity checking for pa_context_is_pending()

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

18 years agowhen flushin a memblockq, set the write index to the read index
Lennart Poettering [Wed, 12 Apr 2006 17:09:51 +0000 (17:09 +0000)]
when flushin a memblockq, set the write index to the read index

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

18 years agotodo update
Lennart Poettering [Wed, 12 Apr 2006 17:09:22 +0000 (17:09 +0000)]
todo update

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

18 years agounbreak fresh SVN builds
Lennart Poettering [Mon, 10 Apr 2006 21:15:39 +0000 (21:15 +0000)]
unbreak fresh SVN builds

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

18 years agoreturn the error code and not just -1 when pa_context_is_pending() fails
Lennart Poettering [Mon, 10 Apr 2006 20:43:24 +0000 (20:43 +0000)]
return the error code and not just -1 when pa_context_is_pending() fails

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

18 years agovalidity checks for pa_context_is_pending()
Lennart Poettering [Mon, 10 Apr 2006 20:38:58 +0000 (20:38 +0000)]
validity checks for pa_context_is_pending()

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

18 years agoupdate todo
Lennart Poettering [Mon, 10 Apr 2006 19:44:11 +0000 (19:44 +0000)]
update todo

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

18 years ago* Beef up latency calculation in module-oss-mmap
Lennart Poettering [Mon, 10 Apr 2006 19:43:51 +0000 (19:43 +0000)]
* Beef up latency calculation in module-oss-mmap
* Add recording latency code for module-oss-mmap
* other cleanups

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

18 years agominor cleanups for OSS module
Lennart Poettering [Mon, 10 Apr 2006 19:42:44 +0000 (19:42 +0000)]
minor cleanups for OSS module

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

18 years agowhen using record mode, allow file to save data to to be passed on the command line
Lennart Poettering [Mon, 10 Apr 2006 19:42:14 +0000 (19:42 +0000)]
when using record mode, allow file to save data to to be passed on the command line

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

18 years agotodo update
Lennart Poettering [Mon, 10 Apr 2006 17:42:32 +0000 (17:42 +0000)]
todo update

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

18 years ago* implement PA_STREAM_AUTO_TIMING_UPDATE
Lennart Poettering [Mon, 10 Apr 2006 17:39:24 +0000 (17:39 +0000)]
* implement PA_STREAM_AUTO_TIMING_UPDATE
* accept PA_STREAM_NOT_MONOTONOUS properly

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

18 years agoadd new PA_STREAM_AUTO_TIMING_UPDATE
Lennart Poettering [Mon, 10 Apr 2006 17:38:46 +0000 (17:38 +0000)]
add new PA_STREAM_AUTO_TIMING_UPDATE

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

18 years agoLennart is blind
Lennart Poettering [Mon, 10 Apr 2006 17:22:10 +0000 (17:22 +0000)]
Lennart is blind

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

18 years agoupdate TODO
Lennart Poettering [Mon, 10 Apr 2006 17:17:36 +0000 (17:17 +0000)]
update TODO

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

18 years agounbreak last commit from ossman
Lennart Poettering [Mon, 10 Apr 2006 16:40:29 +0000 (16:40 +0000)]
unbreak last commit from ossman

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

18 years agoUse the modern Ki/Mi/Gi prefixes to clarify that 1024 is the base.
Pierre Ossman [Sun, 9 Apr 2006 19:32:16 +0000 (19:32 +0000)]
Use the modern Ki/Mi/Gi prefixes to clarify that 1024 is the base.

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

18 years agoBig documentation update. Describe the client API in a more tutorial like
Pierre Ossman [Sun, 9 Apr 2006 19:31:09 +0000 (19:31 +0000)]
Big documentation update. Describe the client API in a more tutorial like
manner.

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

18 years agoclip volume at PA_VOLUME_NORM for alsa devices
Lennart Poettering [Sat, 8 Apr 2006 00:19:52 +0000 (00:19 +0000)]
clip volume at PA_VOLUME_NORM for alsa devices

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

18 years agoadd proper volume clipping support for OSS devices
Lennart Poettering [Sat, 8 Apr 2006 00:19:29 +0000 (00:19 +0000)]
add proper volume clipping support for OSS devices

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

18 years agowhen doing software volume adjustments, don't use the volume value as linear factor...
Lennart Poettering [Sat, 8 Apr 2006 00:09:28 +0000 (00:09 +0000)]
when doing software volume adjustments, don't use the volume value as linear factor, but pass it through pa_sw_volume_to_linear() first.

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

18 years agoremove another item from the todo list
Lennart Poettering [Fri, 7 Apr 2006 23:08:25 +0000 (23:08 +0000)]
remove another item from the todo list

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

18 years ago* show flags value when dumping sink/source info in pactl.
Lennart Poettering [Fri, 7 Apr 2006 23:05:45 +0000 (23:05 +0000)]
* show flags value when dumping sink/source info in pactl.
* show volume for sources, too
* show value of "mute" field for sinks/sources

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

18 years agoadd new introspection data field for sinks/sources: a flags field which specifies...
Lennart Poettering [Fri, 7 Apr 2006 23:02:48 +0000 (23:02 +0000)]
add new introspection data field for sinks/sources: a flags field which specifies whether the sink/source supports hw volume control and latency querying

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

18 years agotodo update
Lennart Poettering [Fri, 7 Apr 2006 22:46:02 +0000 (22:46 +0000)]
todo update

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

18 years agominor cleanups
Lennart Poettering [Fri, 7 Apr 2006 22:45:08 +0000 (22:45 +0000)]
minor cleanups

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

18 years agoremove item from TODO list, since it requires the SNDCTL_DSP_GETERROR ioctl() which...
Lennart Poettering [Fri, 7 Apr 2006 22:28:13 +0000 (22:28 +0000)]
remove item from TODO list, since it requires the SNDCTL_DSP_GETERROR ioctl() which isn't supported by the Linux kernel

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

18 years agotodo update
Lennart Poettering [Fri, 7 Apr 2006 21:57:41 +0000 (21:57 +0000)]
todo update

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

18 years ago* enable write_index correction and timing interpolation only for playback (and recor...
Lennart Poettering [Fri, 7 Apr 2006 21:55:55 +0000 (21:55 +0000)]
* enable write_index correction and timing interpolation only for playback (and record) streams

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

18 years agofix pkg-config files
Lennart Poettering [Fri, 7 Apr 2006 21:10:35 +0000 (21:10 +0000)]
fix pkg-config files

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

18 years agoSome memcpy arithmetic that wasn't removed when doing the redesign to update
Pierre Ossman [Fri, 7 Apr 2006 06:29:59 +0000 (06:29 +0000)]
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

18 years agoremove yet another item from the todo list
Lennart Poettering [Fri, 7 Apr 2006 01:32:33 +0000 (01:32 +0000)]
remove yet another item from the todo list

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

18 years agohdie some more
Lennart Poettering [Fri, 7 Apr 2006 01:31:33 +0000 (01:31 +0000)]
hdie some more

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

18 years ago* update docs for reworked latency API
Lennart Poettering [Fri, 7 Apr 2006 01:29:33 +0000 (01:29 +0000)]
* update docs for reworked latency API
* rename pa_latency_info to pa_timing_info, since that describes better what it is. Most people will only use pa_stream_get_time() anyway

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

18 years agoupdate simple API for new latency API
Lennart Poettering [Fri, 7 Apr 2006 00:25:19 +0000 (00:25 +0000)]
update simple API for new latency API

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

18 years agoupdate pacat.c for new latency API
Lennart Poettering [Fri, 7 Apr 2006 00:25:05 +0000 (00:25 +0000)]
update pacat.c for new latency API

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

18 years agorework latency querying API (this needs more testing)
Lennart Poettering [Fri, 7 Apr 2006 00:24:48 +0000 (00:24 +0000)]
rework latency querying API (this needs more testing)

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

18 years agoremove queue length field from latency request (server side)
Lennart Poettering [Fri, 7 Apr 2006 00:23:38 +0000 (00:23 +0000)]
remove queue length field from latency request (server side)

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

18 years ago* really pass the ipv6 socket server to protocol_new in case of ipv6.
Lennart Poettering [Thu, 6 Apr 2006 23:52:48 +0000 (23:52 +0000)]
* really pass the ipv6 socket server to protocol_new in case of ipv6.
* create the pa_modargs object properly when using TCP
* other cleanups

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

18 years agochange pa_gettimeofday() to return a pointer to the struct timeval*, instead of an int
Lennart Poettering [Thu, 6 Apr 2006 23:31:40 +0000 (23:31 +0000)]
change pa_gettimeofday() to return a pointer to the struct timeval*, instead of an int

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

18 years agos/index/idx/, to avoid gcc warning
Lennart Poettering [Thu, 6 Apr 2006 23:28:56 +0000 (23:28 +0000)]
s/index/idx/, to avoid gcc warning

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

18 years ago* set IPV6_V6ONLY for IPv6 sockets, to avoid warning when both ipv6 and the ipv4...
Lennart Poettering [Thu, 6 Apr 2006 23:28:15 +0000 (23:28 +0000)]
* set IPV6_V6ONLY for IPv6 sockets, to avoid warning when both ipv6 and the ipv4 sockets try to bind to the same port
* enable SO_REUSEADDR only on platforms that support it

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

18 years agoremove some GCC warnings introduced by improperly casting to (char*) instead of ...
Lennart Poettering [Thu, 6 Apr 2006 20:17:27 +0000 (20:17 +0000)]
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

18 years agoFix some warnings caused by size_t having varying size.
Pierre Ossman [Fri, 31 Mar 2006 08:54:24 +0000 (08:54 +0000)]
Fix some warnings caused by size_t having varying size.

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

18 years agoLarge file support. Polypaudio probably doesn't need it, but it causes warnings
Pierre Ossman [Fri, 31 Mar 2006 08:34:41 +0000 (08:34 +0000)]
Large file support. Polypaudio probably doesn't need it, but it causes warnings
when linking libpolyp with applications that do. So this is just to make life
easier for other applications.

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

18 years agoupdate todo
Pierre Ossman [Fri, 17 Mar 2006 08:16:23 +0000 (08:16 +0000)]
update todo

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

18 years agoWe no longer guarantee that an operation object is returned. Need to tweak
Pierre Ossman [Sat, 11 Mar 2006 21:26:40 +0000 (21:26 +0000)]
We no longer guarantee that an operation object is returned. Need to tweak
some parts to handle this.

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

18 years agoRemember to store the struct with module info.
Pierre Ossman [Sat, 11 Mar 2006 21:25:35 +0000 (21:25 +0000)]
Remember to store the struct with module info.

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

18 years agoWe filled the volume with the wrong channel count (we used the input, not
Pierre Ossman [Wed, 8 Mar 2006 13:00:46 +0000 (13:00 +0000)]
We filled the volume with the wrong channel count (we used the input, not
the output) causing static. Also swapped the comments since they were
misplaced.

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

18 years agoThe extra stream ref actually did some good. Re-add it, but with some more
Pierre Ossman [Tue, 7 Mar 2006 18:29:27 +0000 (18:29 +0000)]
The extra stream ref actually did some good. Re-add it, but with some more
symmetry, assertions and comments.

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

18 years agoWe've already set an initial reference count of 1 so don't count it up again.
Pierre Ossman [Tue, 7 Mar 2006 16:04:32 +0000 (16:04 +0000)]
We've already set an initial reference count of 1 so don't count it up again.

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

18 years agoTrying to listen on an IPv6 socket by default and only do IPv4 if that fails
Pierre Ossman [Tue, 7 Mar 2006 16:02:34 +0000 (16:02 +0000)]
Trying to listen on an IPv6 socket by default and only do IPv4 if that fails
(which it doesn't most of the time) is terribly confusing. What the user
most likely wants is for it to listen to both IPv4 and IPv6 and gracefully
continue if only of them succeed.

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

18 years agoupdate todo
Pierre Ossman [Sun, 5 Mar 2006 21:00:31 +0000 (21:00 +0000)]
update todo

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

18 years agoFetch sound card name into sink/source description.
Pierre Ossman [Sun, 5 Mar 2006 20:59:57 +0000 (20:59 +0000)]
Fetch sound card name into sink/source description.

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

18 years agoupdate todo
Pierre Ossman [Sun, 5 Mar 2006 20:18:35 +0000 (20:18 +0000)]
update todo

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

18 years agoVolume support in tunnel module.
Pierre Ossman [Sun, 5 Mar 2006 20:18:04 +0000 (20:18 +0000)]
Volume support in tunnel module.

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

18 years agoIt's safer to set buffer size than to try setting number of periods.
Pierre Ossman [Sun, 5 Mar 2006 18:37:13 +0000 (18:37 +0000)]
It's safer to set buffer size than to try setting number of periods.

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

18 years agoReturn the proper error code so that we get a correct error message.
Pierre Ossman [Sun, 5 Mar 2006 18:35:45 +0000 (18:35 +0000)]
Return the proper error code so that we get a correct error message.

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

18 years agoTried to get the volume information even upon init failure.
Pierre Ossman [Sun, 5 Mar 2006 15:42:37 +0000 (15:42 +0000)]
Tried to get the volume information even upon init failure.

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

18 years agoUpdate module-tunnel to the new protocol.
Pierre Ossman [Sat, 4 Mar 2006 21:30:29 +0000 (21:30 +0000)]
Update module-tunnel to the new protocol.

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

18 years agoFix warning caused by missing return in main().
Pierre Ossman [Sat, 4 Mar 2006 17:31:23 +0000 (17:31 +0000)]
Fix warning caused by missing return in main().

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

18 years agoupdate todo
Pierre Ossman [Sat, 4 Mar 2006 13:56:09 +0000 (13:56 +0000)]
update todo

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

18 years agoAlignment safe protocol handling in esound module.
Pierre Ossman [Sat, 4 Mar 2006 13:55:40 +0000 (13:55 +0000)]
Alignment safe protocol handling in esound module.

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

18 years agoNegotiate protocol version between server and client. Will allow smoother
Pierre Ossman [Thu, 2 Mar 2006 21:56:15 +0000 (21:56 +0000)]
Negotiate protocol version between server and client. Will allow smoother
protocol modifications in the future.

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

18 years agoThe tag argument is no longer unused.
Pierre Ossman [Thu, 2 Mar 2006 16:40:23 +0000 (16:40 +0000)]
The tag argument is no longer unused.

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

18 years agoFix warnings on 64-bit systems.
Pierre Ossman [Thu, 2 Mar 2006 16:37:35 +0000 (16:37 +0000)]
Fix warnings on 64-bit systems.

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

18 years agoHandle the new latency protocol. This is just a quick fix and does not
Pierre Ossman [Thu, 2 Mar 2006 16:32:36 +0000 (16:32 +0000)]
Handle the new latency protocol. This is just a quick fix and does not
handle the new memblockq system.

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

18 years agotypo fix
Pierre Ossman [Thu, 2 Mar 2006 14:46:31 +0000 (14:46 +0000)]
typo fix

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

18 years agoprotocol changes for new latency API (partial!)
Lennart Poettering [Thu, 2 Mar 2006 14:22:25 +0000 (14:22 +0000)]
protocol changes for new latency API (partial!)

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

18 years agoupdate todo
Pierre Ossman [Mon, 27 Feb 2006 09:22:33 +0000 (09:22 +0000)]
update todo

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

18 years agoupdate todo
Pierre Ossman [Mon, 27 Feb 2006 09:21:38 +0000 (09:21 +0000)]
update todo

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

18 years agoWe have both sink and source in this module.
Pierre Ossman [Mon, 27 Feb 2006 09:20:25 +0000 (09:20 +0000)]
We have both sink and source in this module.

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

18 years agoCatch volume update events.
Pierre Ossman [Mon, 27 Feb 2006 09:18:18 +0000 (09:18 +0000)]
Catch volume update events.

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

18 years ago64-bit fixes.
Pierre Ossman [Mon, 27 Feb 2006 09:09:15 +0000 (09:09 +0000)]
64-bit fixes.

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