Lines Matching refs:rawarray
2645 function MPEGaudioHeaderValid($rawarray, $echoerrors=false) { argument
2647 if (($rawarray['synch'] & 0x0FFE) != 0x0FFE) {
2668 if (isset($MPEGaudioVersionLookup[$rawarray['version']])) {
2669 $decodedVersion = $MPEGaudioVersionLookup[$rawarray['version']];
2672 echo "\n".'invalid Version ('.$rawarray['version'].')';
2676 if (isset($MPEGaudioLayerLookup[$rawarray['layer']])) {
2677 $decodedLayer = $MPEGaudioLayerLookup[$rawarray['layer']];
2680 echo "\n".'invalid Layer ('.$rawarray['layer'].')';
2684 if (!isset($MPEGaudioBitrateLookup[$decodedVersion][$decodedLayer][$rawarray['bitrate']])) {
2686 echo "\n".'invalid Bitrate ('.$rawarray['bitrate'].')';
2688 if ($rawarray['bitrate'] == 15) {
2695 if (!isset($MPEGaudioFrequencyLookup[$decodedVersion][$rawarray['sample_rate']])) {
2697 echo "\n".'invalid Frequency ('.$rawarray['sample_rate'].')';
2701 if (!isset($MPEGaudioChannelModeLookup[$rawarray['channelmode']])) {
2703 echo "\n".'invalid ChannelMode ('.$rawarray['channelmode'].')';
2707 if (!isset($MPEGaudioModeExtensionLookup[$decodedLayer][$rawarray['modeextension']])) {
2709 echo "\n".'invalid Mode Extension ('.$rawarray['modeextension'].')';
2713 if (!isset($MPEGaudioEmphasisLookup[$rawarray['emphasis']])) {
2715 echo "\n".'invalid Emphasis ('.$rawarray['emphasis'].')';