add new API function pa_cvolume_remap()

This commit is contained in:
Lennart Poettering 2008-08-04 18:40:53 +02:00
parent cd5afb80f7
commit 5880516076
2 changed files with 89 additions and 0 deletions

View file

@ -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