summaryrefslogtreecommitdiffstats
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* add new module module-volume-restore which saves and restores volume of ↵Lennart Poettering2006-05-141-0/+361
| | | | | | playback streams git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@859 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * add new parameter to pa_open_config_file() to specify open modeLennart Poettering2006-05-144-5/+5
| | | | | | | | * 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
* * set default fragment metrics depending on the sample specs of the device ↵Lennart Poettering2006-05-133-15/+21
| | | | | | | | | 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
* first set buffer size, and afterwards period sizeLennart Poettering2006-05-131-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@854 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix fragment size calculation for module-alsa-sourceLennart Poettering2006-05-131-5/+9
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@852 fefdeb5f-60dc-0310-8127-8f9354f1896f
* use default alsa channel map for alsa devicesLennart Poettering2006-05-134-2/+74
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@851 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix control flow in pa_oss_open(). Also fall back to half duplex when device ↵Pierre Ossman2006-05-021-2/+6
| | | | | | | | | doesn't support full. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@826 fefdeb5f-60dc-0310-8127-8f9354f1896f
* When a control is removed, all bits are set so we need to test for that first.Pierre Ossman2006-04-282-0/+6
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@819 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Zero the fd list since we do a memcmp on it later.Pierre Ossman2006-04-281-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@818 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Channel map argument support for solaris.Pierre Ossman2006-04-271-4/+15
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@815 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Channel map argument support for waveout.Pierre Ossman2006-04-271-4/+16
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@814 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fail if the channel map doesn't match the sample specsLennart Poettering2006-04-261-0/+5
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@810 fefdeb5f-60dc-0310-8127-8f9354f1896f
* support new channel_map argument in sink/source modulesLennart Poettering2006-04-2611-49/+158
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@803 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fall back to software volume if hardware mixer cannot control all channels.Pierre Ossman2006-04-252-73/+53
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@796 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * rework reference counting in the client libraries: now refcounting goesLennart Poettering2006-04-241-4/+4
| | | | | | | | | | | | | | | 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
* * when playing back a sample from the sample cache, just take a pa_volume_t ↵Lennart Poettering2006-04-231-2/+1
| | | | | | | | | 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
* modify x11 modules to not cache the Display variable since ↵Lennart Poettering2006-04-222-23/+17
| | | | | | 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
* * for unix sockets: remove the right parent directory on shutdownLennart Poettering2006-04-221-26/+36
| | | | | | | * other cleanups git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@774 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Tweaks for the solaris module. The sound system requires complete framesPierre Ossman2006-04-191-11/+20
| | | | | | | | 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
* Sun's documentation about SIGPOLL on EOF:s is wrong, so use a timer basedPierre Ossman2006-04-191-17/+31
| | | | | | | solution instead. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@761 fefdeb5f-60dc-0310-8127-8f9354f1896f
* WaveOut needs to have rather large chunks. This is about as low as we canPierre Ossman2006-04-191-3/+9
| | | | | | | go without getting underflows. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@759 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Reverse order of IPv6/IPv4 binding to handle systems without IPV6_V6ONLY.Pierre Ossman2006-04-191-3/+3
| | | | | | | | | | | | 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
* make proper use of the muting facility of sinks in module-mmkbd-evdevLennart Poettering2006-04-181-21/+25
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@755 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix a couple of issues I found when compiling polypaudio with gcc 2.95Lennart Poettering2006-04-186-6/+8
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@754 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix connecting of jack source in jack daemonLennart Poettering2006-04-181-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@748 fefdeb5f-60dc-0310-8127-8f9354f1896f
* More fixes caused by Sun's complete inability to follow any standardPierre Ossman2006-04-182-2/+10
| | | | | | | whatsoever. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@742 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add a jack source moduleLennart Poettering2006-04-181-0/+393
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@738 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * allow the user to set the jack client nameLennart Poettering2006-04-181-32/+44
| | | | | | | | * 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
* C99 requires explicit marking of integer literals' size.Pierre Ossman2006-04-182-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@736 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add new JACK sinkLennart Poettering2006-04-171-0/+382
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@735 fefdeb5f-60dc-0310-8127-8f9354f1896f
* properly initialize session counterLennart Poettering2006-04-161-0/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@732 fefdeb5f-60dc-0310-8127-8f9354f1896f
* limit number of concurrent RTP streamsLennart Poettering2006-04-161-0/+12
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@730 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix typo in module descriptionLennart Poettering2006-04-161-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@729 fefdeb5f-60dc-0310-8127-8f9354f1896f
* change default mcast address once again, to make sure our traffic doesn't ↵Lennart Poettering2006-04-162-2/+2
| | | | | | leave the network by default git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@728 fefdeb5f-60dc-0310-8127-8f9354f1896f
* rename module-rtp-monitor to module-rtp-sendLennart Poettering2006-04-161-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@726 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * make sure RTP ports are chosen to be evenLennart Poettering2006-04-161-1/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@725 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix ALSA fd handling to be compatible with blocking deferred events.Pierre Ossman2006-04-161-2/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@724 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * deal properly with underruns, overflows and packet lossesLennart Poettering2006-04-161-5/+22
| | | | | | | | * change default mcast address * detect RTP loops git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@722 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * increase default MTULennart Poettering2006-04-161-4/+5
| | | | | | | | * change default mcast address to 224.0.1.3 * randomize RTP ports by default git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@721 fefdeb5f-60dc-0310-8127-8f9354f1896f
* replace homegrown endswith() with pa_endswith() from util.hLennart Poettering2006-04-161-15/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@720 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * add RTP/SAP/SDP reciever moduleLennart Poettering2006-04-168-48/+1000
| | | | | | | | | * use server cookie as RTP SSRC * enable SVN keywords * add new option "loop" for RTP sender module git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@716 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * change default multicast addressLennart Poettering2006-04-153-8/+9
| | | | | | | * fix timestamp calculation git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@715 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add an RTP sender moduleLennart Poettering2006-04-1412-0/+12527
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@712 fefdeb5f-60dc-0310-8127-8f9354f1896f
* unbreak module-tunnelLennart Poettering2006-04-131-9/+7
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@707 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix latency calculations of module-combineLennart Poettering2006-04-131-1/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@704 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * fix latency calculation where a full playback buffer was erroneously taken ↵Lennart Poettering2006-04-121-10/+22
| | | | | | as empty buffer and vice versa. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@689 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * Beef up latency calculation in module-oss-mmapLennart Poettering2006-04-101-21/+81
| | | | | | | | * 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
* minor cleanups for OSS moduleLennart Poettering2006-04-101-9/+25
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@676 fefdeb5f-60dc-0310-8127-8f9354f1896f
* clip volume at PA_VOLUME_NORM for alsa devicesLennart Poettering2006-04-082-4/+25
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@666 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add proper volume clipping support for OSS devicesLennart Poettering2006-04-081-3/+8
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@665 fefdeb5f-60dc-0310-8127-8f9354f1896f