|
@@ 1210-1219 (lines=10) @@
|
| 1207 |
|
$frame_offset += $frame_bytesvolume; |
| 1208 |
|
} |
| 1209 |
|
$parsedFrame['data'] = substr($parsedFrame['data'], $frame_offset); |
| 1210 |
|
if (strlen($parsedFrame['data']) > 0) { |
| 1211 |
|
$parsedFrame['incdec']['center'] = (bool) substr($frame_incrdecrflags, 3, 1); |
| 1212 |
|
$parsedFrame['volumechange']['center'] = getid3_lib::BigEndian2Int(substr($parsedFrame['data'], $frame_offset, $frame_bytesvolume)); |
| 1213 |
|
if ($parsedFrame['incdec']['center'] === false) { |
| 1214 |
|
$parsedFrame['volumechange']['center'] *= -1; |
| 1215 |
|
} |
| 1216 |
|
$frame_offset += $frame_bytesvolume; |
| 1217 |
|
$parsedFrame['peakvolume']['center'] = getid3_lib::BigEndian2Int(substr($parsedFrame['data'], $frame_offset, $frame_bytesvolume)); |
| 1218 |
|
$frame_offset += $frame_bytesvolume; |
| 1219 |
|
} |
| 1220 |
|
$parsedFrame['data'] = substr($parsedFrame['data'], $frame_offset); |
| 1221 |
|
if (strlen($parsedFrame['data']) > 0) { |
| 1222 |
|
$parsedFrame['incdec']['bass'] = (bool) substr($frame_incrdecrflags, 2, 1); |
|
@@ 1221-1230 (lines=10) @@
|
| 1218 |
|
$frame_offset += $frame_bytesvolume; |
| 1219 |
|
} |
| 1220 |
|
$parsedFrame['data'] = substr($parsedFrame['data'], $frame_offset); |
| 1221 |
|
if (strlen($parsedFrame['data']) > 0) { |
| 1222 |
|
$parsedFrame['incdec']['bass'] = (bool) substr($frame_incrdecrflags, 2, 1); |
| 1223 |
|
$parsedFrame['volumechange']['bass'] = getid3_lib::BigEndian2Int(substr($parsedFrame['data'], $frame_offset, $frame_bytesvolume)); |
| 1224 |
|
if ($parsedFrame['incdec']['bass'] === false) { |
| 1225 |
|
$parsedFrame['volumechange']['bass'] *= -1; |
| 1226 |
|
} |
| 1227 |
|
$frame_offset += $frame_bytesvolume; |
| 1228 |
|
$parsedFrame['peakvolume']['bass'] = getid3_lib::BigEndian2Int(substr($parsedFrame['data'], $frame_offset, $frame_bytesvolume)); |
| 1229 |
|
$frame_offset += $frame_bytesvolume; |
| 1230 |
|
} |
| 1231 |
|
} |
| 1232 |
|
unset($parsedFrame['data']); |
| 1233 |
|
|