Skip to content

Commit

Permalink
fix illegal offset value
Browse files Browse the repository at this point in the history
  • Loading branch information
anuj9196 authored Nov 12, 2018
1 parent e95399b commit c50a32c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/MusicCombine.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,12 @@ private function _getAudioDuration($audio_path)
private function _getAudioSpeed($time_gap, $audio_duration)
{
if ($time_gap > $audio_duration) {
return 'atempo=1.0';
$tempo = 'atempo=1.0';
$response = [
'tempo' => $tempo,
'tempo_value' => 1
];
return $response;
}

$tempo = '';
Expand Down

0 comments on commit c50a32c

Please sign in to comment.