Skip to content

Commit

Permalink
replace (float) with floatval()
Browse files Browse the repository at this point in the history
  • Loading branch information
anuj9196 authored Nov 12, 2018
1 parent 8541cac commit e95399b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MusicCombine.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function combine($json_data)
$audio_speed = $this->_getAudioSpeed($time_gap, $audio_duration);

// Calculate delay = original_delay_seconds * audio_speed
$delay_seconds = (flaot)$d->start * (float)($audio_speed['tempo_value']);
$delay_seconds = floatval($d->start) * floatval($audio_speed['tempo_value']);

$f_c .= '['.($key).']adelay='.$this->sToMs($delay_seconds).'|'.$this->sToMs($delay_seconds).','.$audio_speed['tempo'].'[o'.($key).'];';
$concat_list .= '[o'.($key).']';
Expand Down

0 comments on commit e95399b

Please sign in to comment.