mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
add \since to dB functions
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@167 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
9c4fd2a2c7
commit
9939fba7f5
1 changed files with 4 additions and 2 deletions
|
|
@ -102,10 +102,12 @@ typedef uint32_t pa_volume_t;
|
||||||
/** Multiply two volumes specifications, return the result. This uses PA_VOLUME_NORM as neutral element of multiplication. */
|
/** Multiply two volumes specifications, return the result. This uses PA_VOLUME_NORM as neutral element of multiplication. */
|
||||||
pa_volume_t pa_volume_multiply(pa_volume_t a, pa_volume_t b);
|
pa_volume_t pa_volume_multiply(pa_volume_t a, pa_volume_t b);
|
||||||
|
|
||||||
/** Convert volume from decibel to linear level */
|
/** Convert volume from decibel to linear level
|
||||||
|
* \since 0.4 */
|
||||||
pa_volume_t pa_volume_from_dB(double f);
|
pa_volume_t pa_volume_from_dB(double f);
|
||||||
|
|
||||||
/** Convert volume from linear level to decibel */
|
/** Convert volume from linear level to decibel
|
||||||
|
* \since 0.4 */
|
||||||
double pa_volume_to_dB(pa_volume_t v);
|
double pa_volume_to_dB(pa_volume_t v);
|
||||||
|
|
||||||
PA_C_DECL_END
|
PA_C_DECL_END
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue