nomlib
Loading...
Searching...
No Matches
nom::audio::SoundInfo Struct Reference

Classes

Public Attributes

nom::size_type frame_count = 0
 The total number of frames.
int64 sample_count = 0
 The total number of samples.
uint32 sample_rate = 0
 The number of samples per second.
uint32 channel_count = 0
 The number of audio channels.
real32 duration = 0.0f
 The total time, in seconds, of the audio samples.
nom::size_type total_bytes = 0
 The total number of bytes represented by the audio samples.
uint32 channel_format = 0
bool seekable = false
Metadata tags

Detailed Description

Definition at line 100 of file SoundFile.hpp.

Member Data Documentation

◆ channel_count

uint32 nom::audio::SoundInfo::channel_count = 0

The number of audio channels.

Definition at line 114 of file SoundFile.hpp.

◆ channel_format

uint32 nom::audio::SoundInfo::channel_format = 0
See also
nom::audio::AudioFormat

Definition at line 123 of file SoundFile.hpp.

◆ duration

real32 nom::audio::SoundInfo::duration = 0.0f

The total time, in seconds, of the audio samples.

Definition at line 117 of file SoundFile.hpp.

◆ frame_count

nom::size_type nom::audio::SoundInfo::frame_count = 0

The total number of frames.

Remarks
One audio frame is the ...

Definition at line 105 of file SoundFile.hpp.

◆ sample_count

int64 nom::audio::SoundInfo::sample_count = 0

The total number of samples.

Definition at line 108 of file SoundFile.hpp.

◆ sample_rate

uint32 nom::audio::SoundInfo::sample_rate = 0

The number of samples per second.

Definition at line 111 of file SoundFile.hpp.

◆ seekable

bool nom::audio::SoundInfo::seekable = false

Definition at line 125 of file SoundFile.hpp.

◆ tags

Metadata nom::audio::SoundInfo::tags

Definition at line 141 of file SoundFile.hpp.

◆ total_bytes

nom::size_type nom::audio::SoundInfo::total_bytes = 0

The total number of bytes represented by the audio samples.

Definition at line 120 of file SoundFile.hpp.


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