comparison audioconvert.c @ 9502:56f844aec27b libavcodec

Add 3 channel layout convenience macros.
author jbr
date Sat, 18 Apr 2009 18:51:01 +0000
parents f7bd7e90ef9f
children c2dba7ed94dc
comparison
equal deleted inserted replaced
9501:880d9562d218 9502:56f844aec27b
106 int64_t layout; 106 int64_t layout;
107 } channel_layout_map[] = { 107 } channel_layout_map[] = {
108 { "mono", 1, CH_LAYOUT_MONO }, 108 { "mono", 1, CH_LAYOUT_MONO },
109 { "stereo", 2, CH_LAYOUT_STEREO }, 109 { "stereo", 2, CH_LAYOUT_STEREO },
110 { "surround", 3, CH_LAYOUT_SURROUND }, 110 { "surround", 3, CH_LAYOUT_SURROUND },
111 { "4.0", 4, CH_LAYOUT_4POINT0 },
111 { "quad", 4, CH_LAYOUT_QUAD }, 112 { "quad", 4, CH_LAYOUT_QUAD },
112 { "5.0", 5, CH_LAYOUT_5POINT0 }, 113 { "5.0", 5, CH_LAYOUT_5POINT0 },
113 { "5.0", 5, CH_LAYOUT_5POINT0_BACK }, 114 { "5.0", 5, CH_LAYOUT_5POINT0_BACK },
114 { "5.1", 6, CH_LAYOUT_5POINT1 }, 115 { "5.1", 6, CH_LAYOUT_5POINT1 },
115 { "5.1", 6, CH_LAYOUT_5POINT1_BACK }, 116 { "5.1", 6, CH_LAYOUT_5POINT1_BACK },