mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 11:18:59 +01:00
Default to stereo again for futureproofing
This commit is contained in:
parent
bbbcd318ee
commit
5388599b22
@ -525,7 +525,7 @@ final class Ogg
|
||||
$in instanceof RemoteUrl => $in->url,
|
||||
$in instanceof ReadableStream => '/dev/stdin',
|
||||
};
|
||||
$proc = Process::start(['ffmpeg', '-hide_banner', '-loglevel', 'warning', '-i', $inFile, '-map', '0:a', '-ac', '1', '-ar', '48000', '-f', 'wav', '-y', '/dev/stdout'], cancellation: $cancellation);
|
||||
$proc = Process::start(['ffmpeg', '-hide_banner', '-loglevel', 'warning', '-i', $inFile, '-map', '0:a', '-ar', '48000', '-f', 'wav', '-y', '/dev/stdout'], cancellation: $cancellation);
|
||||
if ($in instanceof ReadableStream) {
|
||||
async(pipe(...), $in, $proc->getStdin(), $cancellation)
|
||||
->ignore()
|
||||
|
Loading…
Reference in New Issue
Block a user