Code Duplication    Length = 12-12 lines in 2 locations

src/wp-includes/ID3/module.audio.ac3.php 2 locations

@@ 290-301 (lines=12) @@
287
		return (isset($audioCodingModeLookup[$acmod]) ? $audioCodingModeLookup[$acmod] : false);
288
	}
289
290
	public static function centerMixLevelLookup($cmixlev) {
291
		static $centerMixLevelLookup;
292
		if (empty($centerMixLevelLookup)) {
293
			$centerMixLevelLookup = array(
294
				0 => pow(2, -3.0 / 6), // 0.707 (-3.0 dB)
295
				1 => pow(2, -4.5 / 6), // 0.595 (-4.5 dB)
296
				2 => pow(2, -6.0 / 6), // 0.500 (-6.0 dB)
297
				3 => 'reserved'
298
			);
299
		}
300
		return (isset($centerMixLevelLookup[$cmixlev]) ? $centerMixLevelLookup[$cmixlev] : false);
301
	}
302
303
	public static function surroundMixLevelLookup($surmixlev) {
304
		static $surroundMixLevelLookup;
@@ 303-314 (lines=12) @@
300
		return (isset($centerMixLevelLookup[$cmixlev]) ? $centerMixLevelLookup[$cmixlev] : false);
301
	}
302
303
	public static function surroundMixLevelLookup($surmixlev) {
304
		static $surroundMixLevelLookup;
305
		if (empty($surroundMixLevelLookup)) {
306
			$surroundMixLevelLookup = array(
307
				0 => pow(2, -3.0 / 6),
308
				1 => pow(2, -6.0 / 6),
309
				2 => 0,
310
				3 => 'reserved'
311
			);
312
		}
313
		return (isset($surroundMixLevelLookup[$surmixlev]) ? $surroundMixLevelLookup[$surmixlev] : false);
314
	}
315
316
	public static function dolbySurroundModeLookup($dsurmod) {
317
		static $dolbySurroundModeLookup = array(