DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
Loading...
Searching...
No Matches
discord_core_api::discord_core_internal::ogg_demuxer Class Reference

A class for demuxing Ogg-contained audio data. More...

#include <Demuxers.hpp>

Public Member Functions

bool collectFrame (audio_frame_data &frameNew)
 Collects the next audio frame from the demuxer. More...
 
bool proceedDemuxing ()
 Proceeds with the demuxing process. More...
 
void writeData (jsonifier::string_view inputData)
 Writes data to the Ogg demuxer and processes it. More...
 

Member Function Documentation

◆ collectFrame()

bool discord_core_api::discord_core_internal::ogg_demuxer::collectFrame ( audio_frame_data frameNew)
inline
Parameters
frameNewThe reference to store the collected frame.
Returns
True if a frame was collected, false otherwise.

Definition at line 296 of file Demuxers.hpp.

◆ proceedDemuxing()

bool discord_core_api::discord_core_internal::ogg_demuxer::proceedDemuxing ( )
inline
Returns
True if demuxing is successful, false otherwise.

Definition at line 346 of file Demuxers.hpp.

Here is the call graph for this function:

◆ processOggPage()

bool discord_core_api::discord_core_internal::ogg_demuxer::processOggPage ( )
inlineprotected
Returns
True if processing is successful, false if there are no more pages.

Definition at line 363 of file Demuxers.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeData()

void discord_core_api::discord_core_internal::ogg_demuxer::writeData ( jsonifier::string_view  inputData)
inline
Parameters
inputDataThe data to be written and processed.

Definition at line 308 of file Demuxers.hpp.


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