MCPcopy Create free account
hub / github.com/SpartanJ/eepp / getSampleRate

Method getSampleRate

src/eepp/audio/soundbuffer.cpp:136–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136unsigned int SoundBuffer::getSampleRate() const {
137 ALint sampleRate;
138 alCheck( alGetBufferi( mBuffer, AL_FREQUENCY, &sampleRate ) );
139 return sampleRate;
140}
141
142unsigned int SoundBuffer::getChannelCount() const {
143 ALint channelCount;

Callers 6

openMethod · 0.45
SoundBufferMethod · 0.45
initializeMethod · 0.45
initializeMethod · 0.45
playSoundFunction · 0.45
playMusicFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected