ffmpeg-mappable-media/src/FFMpeg/Format/Audio.php

44 lines
775 B
PHP
Raw Normal View History

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;
2012-05-25 20:53:56 +02:00
interface Audio
2012-04-13 12:45:41 +02:00
{
2012-05-25 16:21:16 +02:00
/**
* Returns the audio codec
*
* @return string
*/
2012-04-13 12:45:41 +02:00
public function getAudioCodec();
2012-05-25 16:21:16 +02:00
/**
* Get the audio sample rate
*
* @return integer
*/
2012-04-13 12:45:41 +02:00
public function getAudioSampleRate();
2012-05-25 16:21:16 +02:00
/**
* Get the kiloBitrate value
2012-05-25 16:22:16 +02:00
*
2012-05-25 16:21:16 +02:00
* @return integer
*/
2012-04-13 12:45:41 +02:00
public function getKiloBitrate();
2012-04-27 00:48:57 +02:00
/**
* Returns the list of available audio codecs for this format
*
* @return array
*/
2012-04-13 15:42:34 +02:00
public function getAvailableAudioCodecs();
2012-05-25 15:44:43 +02:00
}