pianod2
multisource multiuser scriptable networked music player
Public Member Functions | List of all members
Media::LavMetadataReader Class Reference

Read media stream metadata via ffmpeg. More...

#include <ffmpegmetadata.h>

Inheritance diagram for Media::LavMetadataReader:
Inheritance graph
[legend]
Collaboration diagram for Media::LavMetadataReader:
Collaboration graph
[legend]

Public Member Functions

virtual void setGain (float gain) override
 
 LavMetadataReader (const std::string &path)
 
- Public Member Functions inherited from Audio::LibavMediaReader
 LibavMediaReader (const std::string &media_url, int timeout=15)
 Base abstract class for reading a media file or URL using ffmpeg. More...
 
virtual ~LibavMediaReader (void)
 

Additional Inherited Members

- Protected Member Functions inherited from Audio::LibavMediaReader
int initializeStream (std::unique_ptr< AVCodecContext, CodecDeleter > &codec_context)
 Prepare a ffmpeg source for playing its audio stream. More...
 
void processReplayGain (AVReplayGain *gain, int size)
 Process a replaygain packet by extracting the track gain, or if not found then then the album gain. More...
 
- Protected Attributes inherited from Audio::LibavMediaReader
const std::string url
 Media URL or filename. More...
 
bool is_network = false
 True if media is network streaming. More...
 
AVFormatContext * transport = nullptr
 

Detailed Description

Read media stream metadata via ffmpeg.

Constructor & Destructor Documentation

◆ LavMetadataReader()

Media::LavMetadataReader::LavMetadataReader ( const std::string &  path)
Here is the call graph for this function:

Member Function Documentation

◆ setGain()

void Media::LavMetadataReader::setGain ( float  gain)
overridevirtual

The documentation for this class was generated from the following files: