profile/ivi/pulseaudio-panda.git
17 years agoadd makefiles to speex/ and ffmpeg/ to easy compilation from emacs
Lennart Poettering [Fri, 24 Aug 2007 00:23:48 +0000 (00:23 +0000)]
add makefiles to speex/ and ffmpeg/ to easy compilation from emacs

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

17 years agoCopy resampler from ffmpeg into our sources
Lennart Poettering [Fri, 24 Aug 2007 00:23:22 +0000 (00:23 +0000)]
Copy resampler from ffmpeg into our sources

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

17 years agomake speex resampler the default
Lennart Poettering [Thu, 23 Aug 2007 22:35:58 +0000 (22:35 +0000)]
make speex resampler the default

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

17 years agobig resampler rework: support integer-only resampling, support speex resampler
Lennart Poettering [Thu, 23 Aug 2007 22:35:40 +0000 (22:35 +0000)]
big resampler rework: support integer-only resampling, support speex resampler

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

17 years agofix a bad memory access when destructing pa_memimports
Lennart Poettering [Thu, 23 Aug 2007 22:34:49 +0000 (22:34 +0000)]
fix a bad memory access when destructing pa_memimports

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

17 years agoa couple of modernizations; parse RE sample types properly
Lennart Poettering [Thu, 23 Aug 2007 22:34:10 +0000 (22:34 +0000)]
a couple of modernizations; parse RE sample types properly

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

17 years agoadd a small speex wrapper so that we can include both the fp and the fixed-point...
Lennart Poettering [Thu, 23 Aug 2007 22:32:58 +0000 (22:32 +0000)]
add a small speex wrapper so that we can include both the fp and the fixed-point resampler in the same binary

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

17 years agobuild speex resampler tiwce, once for fixed point, one for floating point
Lennart Poettering [Thu, 23 Aug 2007 22:31:51 +0000 (22:31 +0000)]
build speex resampler tiwce, once for fixed point, one for floating point

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

17 years agoadd a copy of the speex resampler to our sources
Lennart Poettering [Thu, 23 Aug 2007 22:31:01 +0000 (22:31 +0000)]
add a copy of the speex resampler to our sources

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

17 years agofix minor typo
Lennart Poettering [Wed, 22 Aug 2007 22:36:39 +0000 (22:36 +0000)]
fix minor typo

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

17 years agoport remaining sinks to pa_rtpoll
Lennart Poettering [Wed, 22 Aug 2007 22:27:53 +0000 (22:27 +0000)]
port remaining sinks to pa_rtpoll

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

17 years agominor cleanups
Lennart Poettering [Wed, 22 Aug 2007 22:27:07 +0000 (22:27 +0000)]
minor cleanups

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

17 years agosupport absolute, relative and periodic timers in pa_rtpoll
Lennart Poettering [Wed, 22 Aug 2007 22:26:30 +0000 (22:26 +0000)]
support absolute, relative and periodic timers in pa_rtpoll

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

17 years agoport alsa driver to make use of new pa_rtpoll object
Lennart Poettering [Wed, 22 Aug 2007 17:13:07 +0000 (17:13 +0000)]
port alsa driver to make use of new pa_rtpoll object

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

17 years agoreverse hrtimer check, add missing #include
Lennart Poettering [Wed, 22 Aug 2007 17:11:54 +0000 (17:11 +0000)]
reverse hrtimer check, add missing #include

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

17 years agoadd convenience functions to hook up pa_fdsem and pa_asyncmsgq to an pa_rtpoll; add...
Lennart Poettering [Wed, 22 Aug 2007 17:11:26 +0000 (17:11 +0000)]
add convenience functions to hook up pa_fdsem and pa_asyncmsgq to an pa_rtpoll; add pa_rtpoll_item_get_userdata(), on EINTR/EAGAIN, reset revents; automatically destory left over items

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

17 years agoadd missing include
Lennart Poettering [Wed, 22 Aug 2007 17:06:04 +0000 (17:06 +0000)]
add missing include

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

17 years agomake pa_make_power_of_two() and pa_is_power_of_two() inline functions
Lennart Poettering [Wed, 22 Aug 2007 17:05:41 +0000 (17:05 +0000)]
make pa_make_power_of_two() and pa_is_power_of_two() inline functions

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

17 years agoadd missing #include
Lennart Poettering [Wed, 22 Aug 2007 17:05:07 +0000 (17:05 +0000)]
add missing #include

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

17 years agoadd message about hrtimers, and initialize pa_core::high_priority
Lennart Poettering [Wed, 22 Aug 2007 00:29:15 +0000 (00:29 +0000)]
add message about hrtimers, and initialize pa_core::high_priority

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

17 years agohide rtpoll-test from svn
Lennart Poettering [Wed, 22 Aug 2007 00:28:04 +0000 (00:28 +0000)]
hide rtpoll-test from svn

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

17 years agocheck pa_core::high_priority before becoming rt thread
Lennart Poettering [Wed, 22 Aug 2007 00:27:25 +0000 (00:27 +0000)]
check pa_core::high_priority before becoming rt thread

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

17 years agoadd new option to pa_core stating whether we are running as high prio process
Lennart Poettering [Wed, 22 Aug 2007 00:26:43 +0000 (00:26 +0000)]
add new option to pa_core stating whether we are running as high prio process

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

17 years agoadd check for ppoll()
Lennart Poettering [Wed, 22 Aug 2007 00:25:29 +0000 (00:25 +0000)]
add check for ppoll()

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

17 years agoadd rtpoll, rtclock, rtsig to Makefile
Lennart Poettering [Wed, 22 Aug 2007 00:25:03 +0000 (00:25 +0000)]
add rtpoll, rtclock, rtsig to Makefile

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

17 years agoadd test program for pa_rtpoll
Lennart Poettering [Wed, 22 Aug 2007 00:24:31 +0000 (00:24 +0000)]
add test program for pa_rtpoll

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

17 years agoadd new realtime event loop abstraction which precise time keeping by using hrtimers...
Lennart Poettering [Wed, 22 Aug 2007 00:24:12 +0000 (00:24 +0000)]
add new realtime event loop abstraction which precise time keeping by using hrtimers on Linux, if they are available

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

17 years agoadd facility for managing realtime signals
Lennart Poettering [Wed, 22 Aug 2007 00:23:33 +0000 (00:23 +0000)]
add facility for managing realtime signals

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

17 years agoadd monotonic clock abstraction pa_rtclock
Lennart Poettering [Wed, 22 Aug 2007 00:22:51 +0000 (00:22 +0000)]
add monotonic clock abstraction pa_rtclock

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

17 years agorename a few things in a macro to make name collisions less likely
Lennart Poettering [Wed, 22 Aug 2007 00:21:28 +0000 (00:21 +0000)]
rename a few things in a macro to make name collisions less likely

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

17 years agomake use of new public function pa_is_power_of_two()
Lennart Poettering [Wed, 22 Aug 2007 00:21:00 +0000 (00:21 +0000)]
make use of new public function pa_is_power_of_two()

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

17 years agoadd pa_is_power_of_two() and pa_make_power_of_two() functions
Lennart Poettering [Wed, 22 Aug 2007 00:20:13 +0000 (00:20 +0000)]
add pa_is_power_of_two() and pa_make_power_of_two() functions

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

17 years agoadd macro for creating static TLS objects
Lennart Poettering [Wed, 22 Aug 2007 00:19:33 +0000 (00:19 +0000)]
add macro for creating static TLS objects

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

17 years agoadd more PA_PTR_TO_XXX macros
Lennart Poettering [Wed, 22 Aug 2007 00:18:58 +0000 (00:18 +0000)]
add more PA_PTR_TO_XXX macros

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

17 years agomodernizations
Lennart Poettering [Wed, 22 Aug 2007 00:18:04 +0000 (00:18 +0000)]
modernizations

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

17 years agouse realtime scheduling for ALSA and OSS driver threads
Lennart Poettering [Thu, 16 Aug 2007 19:50:11 +0000 (19:50 +0000)]
use realtime scheduling for ALSA and OSS driver threads

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

17 years agonever stay root after startup, even if we don't have capabilites
Lennart Poettering [Thu, 16 Aug 2007 19:48:49 +0000 (19:48 +0000)]
never stay root after startup, even if we don't have capabilites

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

17 years agoseperately get high nice level and acquire realtime sched
Lennart Poettering [Thu, 16 Aug 2007 19:46:11 +0000 (19:46 +0000)]
seperately get high nice level and acquire realtime sched

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

17 years agoKeep CAP_SYS_NICE not only in PERMITTED but also in EFFECTIVE capset
Lennart Poettering [Thu, 16 Aug 2007 19:44:51 +0000 (19:44 +0000)]
Keep CAP_SYS_NICE not only in PERMITTED but also in EFFECTIVE capset

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

17 years agoonly suspend device when server is local
Lennart Poettering [Thu, 16 Aug 2007 18:26:35 +0000 (18:26 +0000)]
only suspend device when server is local

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

17 years agotruncate service names if necessary, include user name in service string
Lennart Poettering [Thu, 16 Aug 2007 13:47:18 +0000 (13:47 +0000)]
truncate service names if necessary, include user name in service string

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

17 years agoadd pa_truncate_utf8() function for truncating a string and guaranteeing it stays...
Lennart Poettering [Thu, 16 Aug 2007 13:46:32 +0000 (13:46 +0000)]
add pa_truncate_utf8() function for truncating a string and guaranteeing it stays valid UTF8 afterwards

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

17 years agoadd fedora-snapshot target
Lennart Poettering [Wed, 15 Aug 2007 23:13:53 +0000 (23:13 +0000)]
add fedora-snapshot target

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

17 years agofix an awful race condition when handling data requests
Lennart Poettering [Wed, 15 Aug 2007 22:47:59 +0000 (22:47 +0000)]
fix an awful race condition when handling data requests

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

17 years agodon't fail if no pa is srunning
Lennart Poettering [Wed, 15 Aug 2007 21:03:53 +0000 (21:03 +0000)]
don't fail if no pa is srunning

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

17 years agoadd new tool pasuspender which temporarily suspends all sinks and resumes them later...
Lennart Poettering [Wed, 15 Aug 2007 20:50:15 +0000 (20:50 +0000)]
add new tool pasuspender which temporarily suspends all sinks and resumes them later again

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

17 years agoset CLOEXEC on more fds
Lennart Poettering [Wed, 15 Aug 2007 20:47:53 +0000 (20:47 +0000)]
set CLOEXEC on more fds

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

17 years agoadd new commands suspend-source, suspend-sink
Lennart Poettering [Wed, 15 Aug 2007 19:57:12 +0000 (19:57 +0000)]
add new commands suspend-source, suspend-sink

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

17 years agoadd protocol support for muting sink inputs and suspending sinks/sources
Lennart Poettering [Wed, 15 Aug 2007 19:30:04 +0000 (19:30 +0000)]
add protocol support for muting sink inputs and suspending sinks/sources

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

17 years agobump protocol revision and soname of libpulse
Lennart Poettering [Wed, 15 Aug 2007 19:27:52 +0000 (19:27 +0000)]
bump protocol revision and soname of libpulse

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

17 years agouse pa_source_suspend_all/pa_sink_suspend_all for suspending all sinks/sources
Lennart Poettering [Wed, 15 Aug 2007 19:27:12 +0000 (19:27 +0000)]
use pa_source_suspend_all/pa_sink_suspend_all for suspending all sinks/sources

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

17 years agofix muting for sink inputs
Lennart Poettering [Wed, 15 Aug 2007 19:26:38 +0000 (19:26 +0000)]
fix muting for sink inputs

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

17 years agoactually mute sinks when asked for i, add new function pa_sink_suspend_all
Lennart Poettering [Wed, 15 Aug 2007 19:25:56 +0000 (19:25 +0000)]
actually mute sinks when asked for i, add new function pa_sink_suspend_all

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

17 years agoactually mute sinks when asked for i, add new function pa_sink_suspend_all
Lennart Poettering [Wed, 15 Aug 2007 19:25:42 +0000 (19:25 +0000)]
actually mute sinks when asked for i, add new function pa_sink_suspend_all

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

17 years agoload module-x11-xsmp from a /etc/xdg/autostart file, to make sure it is loaded when...
Lennart Poettering [Mon, 13 Aug 2007 23:49:26 +0000 (23:49 +0000)]
load module-x11-xsmp from a /etc/xdg/autostart file, to make sure it is loaded when we have XSMP

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

17 years agoadd load-module and unload-module commands to pactl
Lennart Poettering [Mon, 13 Aug 2007 23:34:46 +0000 (23:34 +0000)]
add load-module and unload-module commands to pactl

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

17 years agoa couple of build fixes
Lennart Poettering [Mon, 13 Aug 2007 00:15:55 +0000 (00:15 +0000)]
a couple of build fixes

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

17 years agodeactivate module-x11-xsmp by default, due to a deadlock when pa is being started...
Lennart Poettering [Sun, 12 Aug 2007 23:29:12 +0000 (23:29 +0000)]
deactivate module-x11-xsmp by default, due to a deadlock when pa is being started from gnome-session

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

17 years ago64 bit fixes and minor gcc shut ups
Lennart Poettering [Sun, 12 Aug 2007 23:24:05 +0000 (23:24 +0000)]
64 bit fixes and minor gcc shut ups

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

17 years agoyet another new glibc build fix
Lennart Poettering [Sun, 12 Aug 2007 21:20:08 +0000 (21:20 +0000)]
yet another new glibc build fix

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

17 years agobuild fix for newer glibc
Lennart Poettering [Sun, 12 Aug 2007 21:14:25 +0000 (21:14 +0000)]
build fix for newer glibc

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

17 years agomake make distcheck pass
Lennart Poettering [Sun, 12 Aug 2007 20:51:58 +0000 (20:51 +0000)]
make make distcheck pass

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

17 years agomake make dist work
Lennart Poettering [Sun, 12 Aug 2007 20:35:05 +0000 (20:35 +0000)]
make make dist work

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

17 years agoship full libltdl tree in SVN to make sure we can build this crack on fedora
Lennart Poettering [Sun, 12 Aug 2007 20:24:03 +0000 (20:24 +0000)]
ship full libltdl tree in SVN to make sure we can build this crack on fedora

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

17 years agobump soname and stuff for fedora pre-release
Lennart Poettering [Sun, 12 Aug 2007 18:40:50 +0000 (18:40 +0000)]
bump soname and stuff for fedora pre-release

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

17 years agoResurrect ability to move streams between sinks
Lennart Poettering [Sat, 11 Aug 2007 23:46:51 +0000 (23:46 +0000)]
Resurrect ability to move streams between sinks

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

17 years agoadd comments describing the context these functions are called from
Lennart Poettering [Sat, 11 Aug 2007 23:45:50 +0000 (23:45 +0000)]
add comments describing the context these functions are called from

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

17 years agomodernize pa_play_memblockq() and add a new function pa_memblockq_sink_input_new...
Lennart Poettering [Sat, 11 Aug 2007 23:45:13 +0000 (23:45 +0000)]
modernize pa_play_memblockq() and add a new function pa_memblockq_sink_input_new() which allows creation of memblockq streams without activating them immediately

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

17 years agominor cleanup
Lennart Poettering [Sat, 11 Aug 2007 23:44:00 +0000 (23:44 +0000)]
minor cleanup

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

17 years agofix latency reporting for oss and alsa modules
Lennart Poettering [Sat, 11 Aug 2007 23:43:39 +0000 (23:43 +0000)]
fix latency reporting for oss and alsa modules

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

17 years agominor modernizations
Lennart Poettering [Sat, 11 Aug 2007 20:31:34 +0000 (20:31 +0000)]
minor modernizations

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

17 years agohook into move operations for resuming/suspending devices appropriately
Lennart Poettering [Sat, 11 Aug 2007 20:31:08 +0000 (20:31 +0000)]
hook into move operations for resuming/suspending devices appropriately

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

17 years agoAdd 'via DMA' to sink/source description if device is accessed with mmap()
Lennart Poettering [Sat, 11 Aug 2007 20:30:21 +0000 (20:30 +0000)]
Add 'via DMA' to sink/source description if device is accessed with mmap()

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

17 years agorestore the ability move record streams between sources
Lennart Poettering [Sat, 11 Aug 2007 20:29:42 +0000 (20:29 +0000)]
restore the ability move record streams between sources

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

17 years agouse single array for storing pa_core hook lists, add sink state changed hook, drop...
Lennart Poettering [Sat, 11 Aug 2007 19:08:06 +0000 (19:08 +0000)]
use single array for storing pa_core hook lists, add sink state changed hook, drop NO_HOOKS flags for sink inputs/source outputs, listen for resume events in module-suspend-on-idle.c

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

17 years agoport oss driver to make use of the default fragment sizes as defined in pa_core:...
Lennart Poettering [Sat, 11 Aug 2007 17:09:07 +0000 (17:09 +0000)]
port oss driver to make use of the default fragment sizes as defined in pa_core: store in the sink/source description whether mmap is used; if mmap() fails, fall back to UNIX read/write mode instead of bailing out immediately

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

17 years agomake sure that the device access event sound is only generated once
Lennart Poettering [Sat, 11 Aug 2007 16:51:21 +0000 (16:51 +0000)]
make sure that the device access event sound is only generated once

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

17 years agodeal with messages properly which are recieved after destruction of a stream
Lennart Poettering [Sat, 11 Aug 2007 16:08:20 +0000 (16:08 +0000)]
deal with messages properly which are recieved after destruction of a stream

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

17 years agofix module-hal when no api= argument is specified
Lennart Poettering [Sat, 11 Aug 2007 16:07:38 +0000 (16:07 +0000)]
fix module-hal when no api= argument is specified

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

17 years agoadd proper refcounting to pa_asyncmsgq objects, to allow destruction from the dispatc...
Lennart Poettering [Sat, 11 Aug 2007 16:01:25 +0000 (16:01 +0000)]
add proper refcounting to pa_asyncmsgq objects, to allow destruction from the dispatched callbacks

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

17 years agoallow destruction of pa_fdsem object that are still in 'poll' state
Lennart Poettering [Sat, 11 Aug 2007 16:00:02 +0000 (16:00 +0000)]
allow destruction of pa_fdsem object that are still in 'poll' state

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

17 years agomodify alsa drivers to make use of new global fragment setting variables
Lennart Poettering [Sat, 11 Aug 2007 15:59:02 +0000 (15:59 +0000)]
modify alsa drivers to make use of new global fragment setting variables

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

17 years agofix default device naming and fix api selection code
Lennart Poettering [Sat, 11 Aug 2007 15:58:15 +0000 (15:58 +0000)]
fix default device naming and fix api selection code

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

17 years agomodernization
Lennart Poettering [Sat, 11 Aug 2007 15:57:21 +0000 (15:57 +0000)]
modernization

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

17 years agoallow setting the default sample and fragment settings from the config file
Lennart Poettering [Sat, 11 Aug 2007 15:56:57 +0000 (15:56 +0000)]
allow setting the default sample and fragment settings from the config file

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

17 years agoadd default fragment settings variables to pa_core
Lennart Poettering [Sat, 11 Aug 2007 15:56:06 +0000 (15:56 +0000)]
add default fragment settings variables to pa_core

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

17 years agomove pstream item allocation to pa_flist
Lennart Poettering [Sat, 11 Aug 2007 00:10:29 +0000 (00:10 +0000)]
move pstream item allocation to pa_flist

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

17 years agomake revoke/release thread safe in the native protocol
Lennart Poettering [Fri, 10 Aug 2007 23:42:17 +0000 (23:42 +0000)]
make revoke/release thread safe in the native protocol

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

17 years agoadd callbacks for the revoke/release stuff, so that we can make this thing thread...
Lennart Poettering [Fri, 10 Aug 2007 23:41:50 +0000 (23:41 +0000)]
add callbacks for the revoke/release stuff, so that we can make this thing thread-safe

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

17 years agoif no thread-mq is attached to the current thread, return an error, don't hit an...
Lennart Poettering [Fri, 10 Aug 2007 23:40:05 +0000 (23:40 +0000)]
if no thread-mq is attached to the current thread, return an error, don't hit an assert

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

17 years agomake use of pa_thread_mq everywhere
Lennart Poettering [Fri, 10 Aug 2007 22:02:39 +0000 (22:02 +0000)]
make use of pa_thread_mq everywhere

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

17 years agominor update
Lennart Poettering [Fri, 10 Aug 2007 22:01:54 +0000 (22:01 +0000)]
minor update

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

17 years agoWrap two pa_asyncmsq in a new pa_thread_mq object for bidirectional, lock-free commun...
Lennart Poettering [Fri, 10 Aug 2007 22:01:17 +0000 (22:01 +0000)]
Wrap two pa_asyncmsq in a new pa_thread_mq object for bidirectional, lock-free communication between a main loop and a thread

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

17 years agoupdate thread test to use pa_once instead of pa_once_t
Lennart Poettering [Fri, 10 Aug 2007 22:00:22 +0000 (22:00 +0000)]
update thread test to use pa_once instead of pa_once_t

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

17 years agoRename pa_once_t to pa_once
Lennart Poettering [Fri, 10 Aug 2007 21:59:51 +0000 (21:59 +0000)]
Rename pa_once_t to pa_once

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

17 years agomove pa_queue to an implementation based on pa_flist
Lennart Poettering [Fri, 10 Aug 2007 16:47:39 +0000 (16:47 +0000)]
move pa_queue to an implementation based on pa_flist

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

17 years agodo not acces playback pa_messagq from main thread
Lennart Poettering [Fri, 10 Aug 2007 15:51:55 +0000 (15:51 +0000)]
do not acces playback pa_messagq from main thread

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

17 years agominor cleanliness fixes
Lennart Poettering [Fri, 10 Aug 2007 15:09:28 +0000 (15:09 +0000)]
minor cleanliness fixes

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

17 years agofix closing of fds in gconf module
Lennart Poettering [Fri, 10 Aug 2007 14:49:26 +0000 (14:49 +0000)]
fix closing of fds in gconf module

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

17 years ago* drop redundant pa_core argument from module initialization functions
Lennart Poettering [Fri, 10 Aug 2007 14:28:39 +0000 (14:28 +0000)]
* drop redundant pa_core argument from module initialization functions
* make pa__done() implementations optional
* a couple of modernizations
* wrap lt_dlsym() at a single place
* allow passing of an "api" argument to the HAL module, to choose whether OSS devices or ALSA devices should be picked up
* optimize fd closing a little on linux in the forked gconf helper
* save a little memory in the xsmp module

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