summaryrefslogtreecommitdiff
path: root/libavresample/audio_data.h
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-12-19 14:58:57 -0500
committerJustin Ruggles <justin.ruggles@gmail.com>2013-01-07 21:49:06 -0500
commit074a00d192c0e749d677b008b337da42597e780f (patch)
tree3f828927503dfef5df7eee5c974ffab75f2407be /libavresample/audio_data.h
parent4d68269d58ca4f6f71b4baa30e0cf9fbde52bbc3 (diff)
lavr: add a public function for setting a custom channel map
This allows reordering, duplication, and silencing of input channels.
Diffstat (limited to 'libavresample/audio_data.h')
-rw-r--r--libavresample/audio_data.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavresample/audio_data.h b/libavresample/audio_data.h
index 4e53e31c55..97236bb5de 100644
--- a/libavresample/audio_data.h
+++ b/libavresample/audio_data.h
@@ -118,9 +118,10 @@ void ff_audio_data_free(AudioData **a);
*
* @param out output AudioData
* @param in input AudioData
+ * @param map channel map, NULL if not remapping
* @return 0 on success, negative AVERROR value on error
*/
-int ff_audio_data_copy(AudioData *out, AudioData *in);
+int ff_audio_data_copy(AudioData *out, AudioData *in, ChannelMapInfo *map);
/**
* Append data from one AudioData to the end of another.