aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cubeb_mixer.h
diff options
context:
space:
mode:
authorChun-Min Chang <[email protected]>2017-02-17 18:27:16 +0800
committerAlex Chronopoulos <[email protected]>2017-03-15 13:09:32 +0100
commitc1c1a47fed962c977bcb90bec11d12796c4087d4 (patch)
tree174f34023850f6305afb2c5f2134e24ae7dfb931 /src/cubeb_mixer.h
parent3004f5fc7d9f3ef05ed96ed1775509d5e78613ea (diff)
downloadcubeb-c1c1a47fed962c977bcb90bec11d12796c4087d4.tar.gz
cubeb-c1c1a47fed962c977bcb90bec11d12796c4087d4.zip
Add mixing interface to wrap the downmixing beyond data type
Diffstat (limited to 'src/cubeb_mixer.h')
-rw-r--r--src/cubeb_mixer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cubeb_mixer.h b/src/cubeb_mixer.h
index 9da5b98..cff5dd1 100644
--- a/src/cubeb_mixer.h
+++ b/src/cubeb_mixer.h
@@ -74,6 +74,12 @@ void cubeb_downmix_short(short * const in, long inframes, short * out,
unsigned int in_channels, unsigned int out_channels,
cubeb_channel_layout in_layout, cubeb_channel_layout out_layout);
+bool mix_remap_float(float const * const in, unsigned long inframes, float * out,
+ cubeb_channel_layout in_layout, cubeb_channel_layout out_layout);
+
+bool mix_remap_short(short const * const in, unsigned long inframes, short * out,
+ cubeb_channel_layout in_layout, cubeb_channel_layout out_layout);
+
#if defined(__cplusplus)
}
#endif