scratch – Blame information for rev

Subversion Repositories:
Rev:
Rev Author Line No. Line
115 office 1 <?php
2  
3 /*
4 * This file is part of PHP-FFmpeg.
5 *
6 * (c) Alchemy <info@alchemy.fr>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11  
12 namespace FFMpeg\Format\Audio;
13  
14 /**
15 * The Vorbis audio format
16 */
17 class Vorbis extends DefaultAudio
18 {
19 public function __construct()
20 {
21 $this->audioCodec = 'vorbis';
22 }
23  
24 /**
25 * {@inheritdoc}
26 */
27 public function getExtraParams()
28 {
29 return array('-strict', '-2');
30 }
31  
32 /**
33 * {@inheritDoc}
34 */
35 public function getAvailableAudioCodecs()
36 {
37 return array('vorbis');
38 }
39 }