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

File size: 536B
<?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 MP3 audio format
 */
class Mp3 extends DefaultAudio
{
    public function __construct()
    {
        $this->audioCodec = 'libmp3lame';
    }

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