Colin Guthrie
2a01bab3cc
doxygen: Fix version numbers for new features
...
Due to how our branching worked out, these new features will
debut in v1.0 and not v0.9.22 which has already been released
from the stable-queue branch
2010-12-04 16:43:04 +00:00
Arun Raghavan
179b291b18
volume: Decrease PA_VOLUME_MAX to be < 2^31
...
This decrease PA_VOLUME_MAX to be less than 2^31. We want to do this in
order to simplify signed arithmetic when applying software volume
scaling (since the volume can now always be safely treated as a signed
number).
2010-10-15 01:10:00 +05:30
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
Arun Raghavan
1d2ef7923d
volume: Use a macro to check if a volume is valid
...
This adds a PA_VOLUME_IS_VALID() macro for checking if a given
pa_volume_t is valid. This makes changes to the volume ranges simpler
(just change PA_VOLUME_MAX, for example, without needing to modify any
other code).
2010-10-15 01:10:00 +05:30
David Fries
2e9c38aec1
doxygen: Add 'See also' linking to the overview page
...
A good many of the header files are broken into a function
reference page and an overview page. These changes add
a direct link from each function reference page to their
overview page if one exists.
2010-10-13 09:07:39 +01:00
David Fries
9295e4a0dc
doxygen: Fix the "all" comments regarding volume helper functions.
...
Mostly change "Set the volume of all channels" to
"Set the volume of the first n channels" as the first is incorrect,
it doesn't set all the channels and doesn't explain what n was for.
2010-10-13 09:07:39 +01:00
Mads Kiilerich
6faf38313e
headers: Some trivial fixes for some documentation typos
...
Note also the willneed/will_need inconsistency. I guess it could be nice to ASAP
choose one of them and introduce a backward compatibility hack for the other.
The issues was mostly found with:
for a in $(grep -r '^[ /]\*.*()' $(
find -name '*.[ch]') |
sed 's,^.* \([^ ]*\)().*$,\1,g' |
sort |
uniq |
grep ^pa_)
do
grep -rq "^.[^*].*\<$a(" $(find * -name '*.h') || echo $a
done
2010-01-05 21:27:33 +01:00
Vladimir Kokarev
d2c59354d5
volume: add pa_cvolume_inc_clamp function
...
added function to increase volume not exceeding specified limit
simply changed PA_VOLUME_MAX to 'limit' in pa_cvolume_inc
pa_cvolume_inc now calls pa_cvolume_inc_clamp with PA_VOLUME_MAX limit
2009-11-05 04:56:47 +01:00
Lennart Poettering
3bbc5e6a4d
volume: fix definition of PA_VOLUME_MAX and introduce PA_VOLUME_INVALID and use it wherever applicable
2009-09-07 19:53:39 +02:00
Lennart Poettering
cfef930036
volume: introduce pa_cvolume_{inc|dec}()
2009-08-19 02:32:36 +02:00
Lennart Poettering
d634555a3e
volume: introduce pa_cvolume_min() and pa_cvolume_min_mask()
2009-08-19 00:56:16 +02:00
Lennart Poettering
ffeb1b81ba
volume: document when arguments of certain functions may overlap
2009-08-17 03:50:43 +02:00
Lennart Poettering
8208214882
volume: add pa_cvolume_merge() call
2009-08-17 03:40:36 +02:00
Lennart Poettering
64b0f38b67
volume: implement functions for multiplicating a cvolume with a scalar
2009-06-17 03:04:21 +02:00
Lennart Poettering
8b180b6368
volume: implement pa_cvolume_{scale|max|avg}_mask()
2009-05-25 23:55:44 +02:00
Lennart Poettering
000bdb8d25
volume: change pa_volume_t mapping to cubic
2009-05-22 01:30:54 +02:00
Lennart Poettering
905c8004a0
volume: introduce pa_cvolume_{get|set}_position()
2009-05-13 15:20:45 +02:00
Lennart Poettering
6d218e9634
api: introduce PA_VOLUME_MAX
2009-04-13 04:39:45 +02: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
543115ae17
add new API pa_cvolume_compatible_with_channel_map()
2009-02-03 21:15:32 +01:00
Lennart Poettering
554c818d21
before applying balance/fade check it actually makes sense
2009-02-03 04:05:41 +01:00
Lennart Poettering
1b53f8297f
implement pa_cvolume_{get|set}_fade
2009-01-30 00:22:59 +01:00
Lennart Poettering
ee17772cea
add missing 'const'
2009-01-27 23:39:58 +01:00
Lennart Poettering
5449d793ae
swap argument order of pa_cvolume_get_balance() to be a bit more systematic
2009-01-27 02:45:37 +01:00
Lennart Poettering
6058530571
import version.h in all header files to make sure that version-based feature testing works
2009-01-27 02:36:42 +01:00
Lennart Poettering
4e31e00b63
implement pa_cvolume_scale()
2009-01-27 00:47:07 +01:00
Lennart Poettering
23cd942a0d
fix doxygen version references
2009-01-19 23:03:22 +01:00
Lennart Poettering
723d71a021
add api for manipulating volume balances
2009-01-19 21:45:58 +01:00
Lennart Poettering
6342053b34
Add new API functions pa_volume_snprint() and pa_sw_volume_snprint_dB()
2008-12-24 00:45:06 +01:00
Lennart Poettering
da4ad5ed01
implement pa_sw_volume_divide() and pa_sw_cvolume_divide()
2008-10-04 01:40:41 +02:00
Lennart Poettering
7a1a147881
rename pa_cvolume_snprint_dB to pa_sw_cvolume_snprint_dB since it is
...
useful only for software volumes
2008-10-03 22:21:27 +02:00
Lennart Poettering
28af9944fe
increase PA_CVOLUME_SNPRINT_MAX to a proper value and document that it is not considered part of the ABI
2008-10-03 17:45:55 +02:00
Lennart Poettering
ebb2ecbe12
add new API call pa_cvolume_compatible()
2008-10-03 17:43:40 +02:00
Lennart Poettering
619ed8a82d
add new API call pa_cvolume_snprint_dB()
2008-10-03 17:42:38 +02:00
Lennart Poettering
be77bcd9ad
add new API call pa_cvolume_init()
2008-10-03 17:16:55 +02:00
Colin Guthrie
4282b726ee
Merge branch 'master' of git://git.0pointer.de/pulseaudio
2008-08-22 10:56:45 +01:00
Lennart Poettering
e4adcf7071
add new API function pa_cvolume_max()
2008-08-13 13:52:20 +02:00
Lennart Poettering
5880516076
add new API function pa_cvolume_remap()
2008-08-04 18:40:53 +02:00
Colin Guthrie
0786de2ba5
Fix documentation of constant: PA_VOLUME_MUTED (not PA_VOLUME_MUTE)
2008-07-03 23:51:45 +01:00
Lennart Poettering
8ae83d618e
get rid of svn $ keywords
2008-06-18 23:23:21 +03:00
Lennart Poettering
b2f8aecf4d
type fixes for constants
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2450 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-05-17 09:08:13 +00:00
Lennart Poettering
045c1d602d
merge glitch-free branch back into trunk
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2445 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-05-15 23:34:41 +00:00
Lennart Poettering
a67c21f093
merge 'lennart' branch back into trunk.
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1971 fefdeb5f-60dc-0310-8127-8f9354f1896f
2007-10-28 19:13:50 +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
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
Lennart Poettering
10b5e997d7
replace a few remaining uppercase "Polypaudio" occurences with "PulseAudio"
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1036 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-06-19 22:11:49 +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