Output class for libavdevice.
More...
#include <avdeviceoutput.h>
Output class for libavdevice.
◆ AvDeviceOutput()
Create an audio outputter for ffmpeg's libavdevice.
- Parameters
-
| settings | The output settings. |
| format | The format of the data to be played. |
◆ ~AvDeviceOutput()
| Audio::AvDeviceOutput::~AvDeviceOutput |
( |
| ) |
|
|
virtual |
◆ play()
| bool Audio::AvDeviceOutput::play |
( |
void * |
buffer, |
|
|
unsigned |
numberOfBytes |
|
) |
| |
|
overridevirtual |
◆ codec
| AVCodec* Audio::AvDeviceOutput::codec = nullptr |
|
private |
◆ codec_context
| std::unique_ptr<AVCodecContext, CodecDeleter> Audio::AvDeviceOutput::codec_context |
|
private |
◆ context
| AVFormatContext* Audio::AvDeviceOutput::context = nullptr |
|
private |
◆ flush_time_quanta
| const int Audio::AvDeviceOutput::flush_time_quanta = 100 |
|
private |
◆ max_flush_time
| int Audio::AvDeviceOutput::max_flush_time = 2000 |
|
private |
◆ min_flush_time
| int Audio::AvDeviceOutput::min_flush_time = 0 |
|
private |
◆ packet
| std::unique_ptr<AVPacket, PacketDeleter> Audio::AvDeviceOutput::packet |
|
private |
◆ stream
| AVStream* Audio::AvDeviceOutput::stream = nullptr |
|
private |
The documentation for this class was generated from the following files: