Warning
This page refers to an old version of SFML. Click here to switch to the latest version.
Warning
This page refers to an old version of SFML. Click here to switch to the latest version.
Structure holding the audio properties of a sound file. More...
#include <SFML/Audio/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< SoundChannel > | channelMap |
Map of position in sample frame to sound channel. |
Structure holding the audio properties of a sound file.
Definition at line 55 of file SoundFileReader.hpp.
unsigned int sf::SoundFileReader::Info::channelCount {} |
Number of channels of the sound.
Definition at line 58 of file SoundFileReader.hpp.
std::vector<SoundChannel> sf::SoundFileReader::Info::channelMap |
Map of position in sample frame to sound channel.
Definition at line 60 of file SoundFileReader.hpp.
std::uint64_t sf::SoundFileReader::Info::sampleCount {} |
Total number of samples in the file.
Definition at line 57 of file SoundFileReader.hpp.
unsigned int sf::SoundFileReader::Info::sampleRate {} |
Samples rate of the sound, in samples per second.
Definition at line 59 of file SoundFileReader.hpp.