About 11 results: "php ceil repo:holyfield/getid3"
Page 1 of 1
Filter Results
Sources
Languages
Filter Results
Try Search On
write.id3v2.php in getid3 https://bitbucket.org/holyfield/getid3.git | 2058 lines | PHP
  1. 								if ($val ['bitspeakvolume'] > 0) {
  2. 									$framedata .= getid3_lib::BigEndian2String ( $val ['peakvolume'], ceil ( $val ['bitspeakvolume'] / 8 ), false, false );
  3. 						$framedata .= chr ( $source_data_array ['bitsvolume'] );
  4. 						$framedata .= getid3_lib::BigEndian2String ( $source_data_array ['volumechange'] ['right'], ceil ( $source_data_array ['bitsvolume'] / 8 ), false );
  5. 						$framedata .= getid3_lib::BigEndian2String ( $source_data_array ['volumechange'] ['left'], ceil ( $source_data_array ['bitsvolume'] / 8 ), false );
  6. 						if ($source_data_array ['volumechange'] ['center'] || $source_data_array ['peakvolume'] ['center'] || $source_data_array ['volumechange'] ['bass'] || $source_data_array ['peakvolume'] ['bass']) {
  7. 							$framedata .= getid3_lib::BigEndian2String ( $source_data_array ['volumechange'] ['center'], ceil ( $source_data_array ['bitsvolume'] / 8 ), false );
  8. 							$framedata .= getid3_lib::BigEndian2String ( $source_data_array ['peakvolume'] ['center'], ceil ( $source_data_array ['bitsvolume'] / 8 ), false );
  9. 						}
  10. 						if ($source_data_array ['volumechange'] ['bass'] || $source_data_array ['peakvolume'] ['bass']) {
  11. 							$framedata .= getid3_lib::BigEndian2String ( $source_data_array ['volumechange'] ['bass'], ceil ( $source_data_array ['bitsvolume'] / 8 ), false );
  12. 							$framedata .= getid3_lib::BigEndian2String ( $source_data_array ['peakvolume'] ['bass'], ceil ( $source_data_array ['bitsvolume'] / 8 ), false );
  13. 						}
  14. 									$framedata .= getid3_lib::BigEndian2String ( $key, 2, false );
  15. 									$framedata .= getid3_lib::BigEndian2String ( $val, ceil ( $source_data_array ['adjustmentbits'] / 8 ), false );
  16. 						foreach ( $source_data_array ['indexes'] as $key => $val ) {
  17. 							$framedata .= getid3_lib::BigEndian2String ( $val, ceil ( $source_data_array ['bitsperpoint'] / 8 ), false );








module.audio.aac.php in getid3 https://bitbucket.org/holyfield/getid3.git | 515 lines | PHP
  1. 
                        
  2. 				$bitoffset = ceil($bitoffset / 8) * 8;



Back to Top