openMSX
Public Attributes | Static Public Attributes | List of all members
openmsx::AudioFragment Struct Reference

#include <OggReader.hh>

Collaboration diagram for openmsx::AudioFragment:
Collaboration graph
[legend]

Public Attributes

size_t position
 
unsigned length
 
std::array< std::array< float, MAX_SAMPLES >, 2 > pcm
 

Static Public Attributes

static constexpr size_t UNKNOWN_POS = size_t(-1)
 
static constexpr unsigned MAX_SAMPLES = 2048
 

Detailed Description

Definition at line 21 of file OggReader.hh.

Member Data Documentation

◆ length

unsigned openmsx::AudioFragment::length

Definition at line 26 of file OggReader.hh.

◆ MAX_SAMPLES

constexpr unsigned openmsx::AudioFragment::MAX_SAMPLES = 2048
staticconstexpr

Definition at line 24 of file OggReader.hh.

◆ pcm

std::array<std::array<float, MAX_SAMPLES>, 2> openmsx::AudioFragment::pcm

Definition at line 27 of file OggReader.hh.

◆ position

size_t openmsx::AudioFragment::position

Definition at line 25 of file OggReader.hh.

◆ UNKNOWN_POS

constexpr size_t openmsx::AudioFragment::UNKNOWN_POS = size_t(-1)
staticconstexpr

Definition at line 23 of file OggReader.hh.

Referenced by openmsx::OggReader::getAudio(), and openmsx::OggReader::seek().


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