diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-08-04 18:40:53 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-08-04 18:40:53 +0200 |
commit | 5880516076843edb60c96ea622f966ca2fb4e9e6 (patch) | |
tree | 2d116577797fcb73c0eb3c556ae110270a0b54a2 /src/pulse/volume.h | |
parent | cd5afb80f791f10d82519aed6f9e4ffabea1b5c9 (diff) |
add new API function pa_cvolume_remap()
Diffstat (limited to 'src/pulse/volume.h')
-rw-r--r-- | src/pulse/volume.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pulse/volume.h b/src/pulse/volume.h index 3befb1da..4fdbf658 100644 --- a/src/pulse/volume.h +++ b/src/pulse/volume.h @@ -28,6 +28,7 @@ #include <pulse/cdecl.h> #include <pulse/gccmacro.h> #include <pulse/sample.h> +#include <pulse/channelmap.h> /** \page volume Volume Control * @@ -170,6 +171,9 @@ double pa_sw_volume_to_linear(pa_volume_t v) PA_GCC_CONST; #define PA_DECIBEL_MININFTY ((double) -200.0) #endif +/** Remap a volume from one channel mapping to a different channel mapping. \since 0.9.12 */ +pa_cvolume *pa_cvolume_remap(pa_cvolume *v, pa_channel_map *from, pa_channel_map *to); + PA_C_DECL_END #endif |