Mercurial > hg > dmlib
diff jssmix.c @ 141:0c9438a2c72a
Add function jvmGetMute() to get status of channel mute.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 05 Oct 2012 09:32:21 +0300 |
parents | 9894b63bb159 |
children | 255da2a698fe |
line wrap: on
line diff
--- a/jssmix.c Fri Oct 05 09:31:55 2012 +0300 +++ b/jssmix.c Fri Oct 05 09:32:21 2012 +0300 @@ -659,6 +659,18 @@ } +BOOL jvmGetMute(JSSMixer * mixer, const int channel) +{ + BOOL tmp; + + JSS_LOCK(mixer); + tmp = mixer->channels[channel].chMute; + JSS_UNLOCK(mixer); + + return tmp; +} + + void jvmClear(JSSMixer * mixer, const int channel) { JSS_LOCK(mixer);