Lines Matching defs:currvol
120 MIX_RESULT mix_audio_get_volume_default(MixAudio *mix, gint *currvol, MixVolType type);
121 MIX_RESULT mix_audio_set_volume_default(MixAudio *mix, gint currvol, MixVolType type, gulong msecs, MixVolRamp ramptype);
1145 MIX_RESULT mix_audio_get_volume_default(MixAudio *mix, gint *currvol, MixVolType type)
1153 if (!currvol) return MIX_RESULT_NULL_PTR;
1186 *currvol = (maxvol!=0)?((vol.volume * 100) / maxvol):0;
1188 *currvol = vol.volume;
1367 MIX_RESULT mix_audio_set_volume_default(MixAudio *mix, gint currvol, MixVolType type, gulong msecs, MixVolRamp ramptype)
1390 vol.volume = currvol;
1402 vol.volume = currvol * maxvol / 100;
1838 MIX_RESULT mix_audio_get_volume(MixAudio *mix, gint *currvol, MixVolType type)
1847 return klass->get_volume(mix, currvol, type);
1850 MIX_RESULT mix_audio_set_volume(MixAudio *mix, gint currvol, MixVolType type, gulong msecs, MixVolRamp ramptype)
1859 return klass->set_volume(mix, currvol, type, msecs, ramptype);