View file vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/Format/Audio/Wav.php

File size: 534B
<?php

/*
 * This file is part of PHP-FFmpeg.
 *
 * (c) Alchemy <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace FFMpeg\Format\Audio;

/**
 * The WAV audio format
 */
class Wav extends DefaultAudio
{
    public function __construct()
    {
        $this->audioCodec = 'pcm_s16le';
    }

    /**
     * {@inheritDoc}
     */
    public function getAvailableAudioCodecs()
    {
        return array('pcm_s16le');
    }
}