mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
add new API function pa_cvolume_remap()
This commit is contained in:
parent
cd5afb80f7
commit
5880516076
2 changed files with 89 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue