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

Method getChannelCount

src/eepp/audio/soundbuffer.cpp:142–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142unsigned int SoundBuffer::getChannelCount() const {
143 ALint channelCount;
144 alCheck( alGetBufferi( mBuffer, AL_CHANNELS, &channelCount ) );
145 return channelCount;
146}
147
148Time SoundBuffer::getDuration() const {
149 return mDuration;

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