GNU Radio's SATNOGS Package
gr::satnogs::ogg_source Class Reference

OGG source block. Reads a file with an OGG audio and convert it to float samples. More...

#include <ogg_source.h>

Inheritance diagram for gr::satnogs::ogg_source:
gr::satnogs::ogg_source_impl

Public Types

typedef boost::shared_ptr< ogg_sourcesptr
 

Static Public Member Functions

static sptr make (const std::string &filename, int channels=1, bool repeat=false)
 

Detailed Description

OGG source block. Reads a file with an OGG audio and convert it to float samples.

Member Typedef Documentation

◆ sptr

typedef boost::shared_ptr<ogg_source> gr::satnogs::ogg_source::sptr

Member Function Documentation

◆ make()

static sptr gr::satnogs::ogg_source::make ( const std::string &  filename,
int  channels = 1,
bool  repeat = false 
)
static
Parameters
filenamethe OGG audio file path
channelsnumber of channels of the OGG stream. If the actual OGG stream contains a different number of channels than specified an exception is raised
repeatif set to true, when EOF is reached the block will continue to output samples from the beginning of the OGG file.

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