Maarten Bosmans
dd9265ac78
Remove unnecessary #includes
2011-06-22 23:12:20 +01:00
Colin Guthrie
d7ce59de88
Merge remote-tracking branch 'mkbosmans/mingw32-build'
2011-03-20 11:18:19 +00:00
Maarten Bosmans
f99b17b825
module-waveout: Fix record/playback args
2011-03-19 13:41:06 +01:00
Maarten Bosmans
72de043234
module-waveout: Move thread creation
2011-03-19 13:41:06 +01:00
Maarten Bosmans
030f32fe6f
module-waveout: Query device for supported samplerate
...
Instead of using a fixed list list of supported rates,
ask the wave subsystem whether the rate can be used.
2011-03-19 13:41:06 +01:00
Maarten Bosmans
26366664c1
Update PA_MODULE_USAGE to be in line with actual implementation
2011-03-18 12:07:02 +00:00
Maarten Bosmans
8852b80df8
module-waveout: Add device_name parameter
...
Also use the name in the source/sink description.
Based on a patch by srirams, from github.
2011-03-15 22:37:01 +01:00
Maarten Bosmans
110b14ec21
module-waveout: Adapted to updated API
...
Waveout sink works again, Wavein source still needs some work.
2011-02-17 12:02:31 +01:00
Arun Raghavan
49101fc540
volume: Clamp volume to PA_VOLUME_MAX
...
This ensures that we always clamp the volume to PA_VOLUME_MAX. While
this currently has no effect, it will be required for making sure we
don't exceed PA_VOLUME_MAX when its value changes in the future.
2010-10-15 01:10:00 +05:30
Marc-André Lureau
0955e3d45b
Base mainloop on pa_rtclock_now()
...
Move the mainloop to monotonic based time events.
Introduces 4 helper functions:
pa_{context,core}_rttime_{new,restart}(), that fill correctly a
timeval with the rtclock flag set if the mainloop supports it.
Both mainloop-test and mainloop-test-glib works with rt and timeval
based time events. PulseAudio and clients should be fully functional.
This patch has received several iterations, and this one as been
largely untested.
Signed-off-by: Marc-André Lureau <marca-andre.lureau@nokia.com>
2009-06-20 17:29:31 +03:00
Colin Guthrie
86dee05aec
Use LGPL 2.1 on all files previously using LGPL 2
2009-03-03 20:23:02 +00:00
Lennart Poettering
8ae83d618e
get rid of svn $ keywords
2008-06-18 23:23:21 +03:00
Lennart Poettering
1dae2e644f
we don't want to include assert.h anymore
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1986 fefdeb5f-60dc-0310-8127-8f9354f1896f
2007-10-29 20:32:53 +00:00
Pierre Ossman
06211b7c8f
Add copyright notices to all relevant files. (based on svn log)
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1426 fefdeb5f-60dc-0310-8127-8f9354f1896f
2007-02-13 15:35:19 +00:00
Pierre Ossman
de7a883245
Allow specification of device number.
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1424 fefdeb5f-60dc-0310-8127-8f9354f1896f
2007-02-12 09:37:34 +00:00
Pierre Ossman
521daf6f0a
Huge trailing whitespace cleanup. Let's keep the tree pure from here on,
...
mmmkay?
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1418 fefdeb5f-60dc-0310-8127-8f9354f1896f
2007-01-04 13:43:45 +00:00
Pierre Ossman
d194604402
Remove silence generation in waveout module.
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1325 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-08-22 16:15:47 +00:00
Pierre Ossman
306aea78d3
Fix memory leak in waveout module.
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1323 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-08-22 15:24:11 +00:00
Pierre Ossman
0249651c8e
Log when there is a problem opening the waveOut/waveIn device.
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1322 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-08-22 15:20:57 +00:00
Pierre Ossman
568c8ea715
Fix typo.
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1315 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-08-22 11:39:19 +00:00
Pierre Ossman
eeabf63673
Add missing header.
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1314 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-08-22 11:38:46 +00:00
Pierre Ossman
b5ef414ec8
Fix call to pa_memblock_new().
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1313 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-08-22 11:37:53 +00:00
Lennart Poettering
e385d93e5a
remove all occurences of
...
pa_logXXX(__FILE__":
and replace them by
pa_logXXX("
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1272 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-08-18 21:38:40 +00:00
Lennart Poettering
dbe6bdd2bc
make use of pa_sink_used_by()/pa_source_used_by() wherever applicable
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1227 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-08-12 17:06:05 +00:00
Lennart Poettering
bfa6604b1d
don't set the sink/source descriptions manually, use the new functions pa_{sink,source}_set_description() instead
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1205 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-08-11 23:58:55 +00:00
Lennart Poettering
b91dd2381b
set is_hardware flag for a few hw plugins
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1092 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-07-16 17:28:41 +00:00
Lennart Poettering
f44ba09265
big s/polyp/pulse/g
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1033 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-06-19 21:53:48 +00:00
Lennart Poettering
c47e937011
split polypcore/util.[ch] into polypcore/core-util.[ch] and polyp/util.[ch]
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@917 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-05-17 20:09:57 +00:00
Pierre Ossman
d9cc2cfcb9
Move xmalloc to the public side (libpolyp).
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@908 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-05-17 16:34:18 +00:00
Pierre Ossman
71f681aa43
Set default channel map system for waveout module.
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@891 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-05-17 06:58:58 +00:00
Pierre Ossman
0b95438f10
Channel map argument support for waveout.
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@814 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-04-27 05:39:11 +00:00
Pierre Ossman
e1513ce684
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
2006-04-19 11:55:46 +00:00
Pierre Ossman
7050dbfdae
Update hardware volume to a correct initial value.
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@581 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-02-23 09:28:39 +00:00
Lennart Poettering
4a64b0d116
change pa_log() and friends to not require a trailing \n on all logged strings
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@574 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-02-23 02:27:19 +00:00
Pierre Ossman
7e5123705a
Hardware volume support on Windows.
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@551 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-02-21 16:35:12 +00:00
Pierre Ossman
0eed96d764
Remove a debug fprintf that was left in.
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@515 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-02-20 10:40:40 +00:00
Pierre Ossman
e205b25d65
Reorganised the source tree. We now have src/ with a couple of subdirs:
...
* daemon/ - Contains the files specific to the polypaudio daemon.
* modules/ - All loadable modules.
* polyp/ - Files that are part of the public, application interface or
are only used in libpolyp.
* polypcore/ - All other shared files.
* tests/ - Test programs.
* utils/ - Utility programs.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@487 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-02-16 19:19:58 +00:00