mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
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
This commit is contained in:
parent
0e47065fe5
commit
6faf38313e
9 changed files with 16 additions and 14 deletions
|
|
@ -149,7 +149,7 @@ pa_cvolume* pa_cvolume_set(pa_cvolume *a, unsigned channels, pa_volume_t v);
|
|||
char *pa_cvolume_snprint(char *s, size_t l, const pa_cvolume *c);
|
||||
|
||||
/** Maximum length of the strings returned by
|
||||
* pa_cvolume_snprint_dB(). Please note that this value can change with
|
||||
* pa_sw_cvolume_snprint_dB(). Please note that this value can change with
|
||||
* any release without warning and without being considered API or ABI
|
||||
* breakage. You should not use this definition anywhere where it
|
||||
* might become part of an ABI. \since 0.9.13 */
|
||||
|
|
@ -169,7 +169,7 @@ char *pa_sw_cvolume_snprint_dB(char *s, size_t l, const pa_cvolume *c);
|
|||
char *pa_volume_snprint(char *s, size_t l, pa_volume_t v);
|
||||
|
||||
/** Maximum length of the strings returned by
|
||||
* pa_volume_snprint_dB(). Please note that this value can change with
|
||||
* pa_sw_volume_snprint_dB(). Please note that this value can change with
|
||||
* any release without warning and without being considered API or ABI
|
||||
* breakage. You should not use this definition anywhere where it
|
||||
* might become part of an ABI. \since 0.9.15 */
|
||||
|
|
@ -268,7 +268,7 @@ double pa_sw_volume_to_linear(pa_volume_t v) PA_GCC_CONST;
|
|||
#ifdef INFINITY
|
||||
#define PA_DECIBEL_MININFTY ((double) -INFINITY)
|
||||
#else
|
||||
/** This floor value is used as minus infinity when using pa_volume_{to,from}_dB(). */
|
||||
/** This floor value is used as minus infinity when using pa_sw_volume_to_dB() / pa_sw_volume_from_dB(). */
|
||||
#define PA_DECIBEL_MININFTY ((double) -200.0)
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue