diff options
author | Chun-Min Chang <[email protected]> | 2017-02-17 18:27:16 +0800 |
---|---|---|
committer | Alex Chronopoulos <[email protected]> | 2017-03-15 13:09:32 +0100 |
commit | c1c1a47fed962c977bcb90bec11d12796c4087d4 (patch) | |
tree | 174f34023850f6305afb2c5f2134e24ae7dfb931 /src/cubeb_mixer.h | |
parent | 3004f5fc7d9f3ef05ed96ed1775509d5e78613ea (diff) | |
download | cubeb-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.h | 6 |
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 |