2012-04-13 12:45:41 +02:00
|
|
|
<?php
|
|
|
|
|
|
2012-04-13 14:34:53 +02:00
|
|
|
/*
|
|
|
|
|
* This file is part of PHP-FFmpeg.
|
|
|
|
|
*
|
|
|
|
|
* (c) Alchemy <info@alchemy.fr>
|
|
|
|
|
*
|
|
|
|
|
* For the full copyright and license information, please view the LICENSE
|
|
|
|
|
* file that was distributed with this source code.
|
|
|
|
|
*/
|
2012-04-13 12:45:41 +02:00
|
|
|
namespace FFMpeg\Format;
|
|
|
|
|
|
2013-06-25 10:03:20 +02:00
|
|
|
interface AudioInterface extends FormatInterface
|
2012-04-13 12:45:41 +02:00
|
|
|
{
|
2012-05-25 16:21:16 +02:00
|
|
|
/**
|
2013-06-25 10:40:20 +02:00
|
|
|
* Gets the audio kiloBitrate value.
|
2012-05-25 16:22:16 +02:00
|
|
|
*
|
2012-05-25 16:21:16 +02:00
|
|
|
* @return integer
|
|
|
|
|
*/
|
2013-06-25 10:03:20 +02:00
|
|
|
public function getAudioKiloBitrate();
|
2012-05-31 16:16:35 +02:00
|
|
|
|
2014-06-25 09:55:00 +02:00
|
|
|
/**
|
|
|
|
|
* Gets the audio channels value.
|
|
|
|
|
*
|
|
|
|
|
* @return integer
|
|
|
|
|
*/
|
|
|
|
|
public function getAudioChannels();
|
|
|
|
|
|
2013-06-25 10:03:20 +02:00
|
|
|
/**
|
2013-06-25 10:40:20 +02:00
|
|
|
* Returns the audio codec.
|
2013-06-25 10:03:20 +02:00
|
|
|
*
|
|
|
|
|
* @return string
|
|
|
|
|
*/
|
|
|
|
|
public function getAudioCodec();
|
|
|
|
|
|
|
|
|
|
/**
|
2013-06-25 10:40:20 +02:00
|
|
|
* Returns the list of available audio codecs for this format.
|
2013-06-25 10:03:20 +02:00
|
|
|
*
|
|
|
|
|
* @return array
|
|
|
|
|
*/
|
|
|
|
|
public function getAvailableAudioCodecs();
|
2012-05-25 15:44:43 +02:00
|
|
|
}
|