SFML
Simple and Fast Multimedia Library
Loading...
Searching...
No Matches
sf::SoundFileReader::Info Struct Reference

Structure holding the audio properties of a sound file. More...

#include <SoundFileReader.hpp>

Public Attributes

std::uint64_t sampleCount {}
 Total number of samples in the file.
unsigned int channelCount {}
 Number of channels of the sound.
unsigned int sampleRate {}
 Samples rate of the sound, in samples per second.
std::vector< SoundChannelchannelMap
 Map of position in sample frame to sound channel.

Detailed Description

Structure holding the audio properties of a sound file.

Member Data Documentation

◆ channelCount

unsigned int sf::SoundFileReader::Info::channelCount {}

Number of channels of the sound.

◆ channelMap

std::vector<SoundChannel> sf::SoundFileReader::Info::channelMap

Map of position in sample frame to sound channel.

◆ sampleCount

std::uint64_t sf::SoundFileReader::Info::sampleCount {}

Total number of samples in the file.

◆ sampleRate

unsigned int sf::SoundFileReader::Info::sampleRate {}

Samples rate of the sound, in samples per second.


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