OGG source block. Reads a file with an OGG audio and convert it to float samples.
More...
#include <ogg_source.h>
|
static sptr | make (const std::string &filename, int channels=1, bool repeat=false) |
|
OGG source block. Reads a file with an OGG audio and convert it to float samples.
◆ sptr
◆ make()
static sptr gr::satnogs::ogg_source::make |
( |
const std::string & |
filename, |
|
|
int |
channels = 1 , |
|
|
bool |
repeat = false |
|
) |
| |
|
static |
- Parameters
-
filename | the OGG audio file path |
channels | number of channels of the OGG stream. If the actual OGG stream contains a different number of channels than specified an exception is raised |
repeat | if 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: