MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / Music_GetVolume

Method Music_GetVolume

Source/Amiga/Sound_Amiga.cpp:262–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260}
261
262int16 cSound_Amiga::Music_GetVolume(int16 pChannel) {
263 if (!mCurrentMusic)
264 return 0;
265
266 if (pChannel == -1) {
267 pChannel = 0;
268 }
269
270 return mCurrentMusic->volumeMax[pChannel];
271}
272
273void cSound_Amiga::Sound_Stop() {
274

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected