Lines Matching defs:volume
319 * directory. (Ie. volume & dir = 0)
410 fileSpecPtr->vRefNum = catalogInfo.volume;
557 * which volume to set.
561 SYS_BEEP_VOLUME, /* This sets the volume for SysBeep calls */
571 static void SetSoundVolume(int volume, enum WhichVolume mode);
599 int volume = -1, length;
631 if (!strcmp(Tcl_GetStringFromObj(objv[1], &length), "-volume")) {
632 Tcl_GetIntFromObj(interp, objv[2], &volume);
637 if (!strcmp(Tcl_GetStringFromObj(objv[1], &length), "-volume")) {
638 Tcl_GetIntFromObj(interp, objv[2], &volume);
655 if (volume >= 0) {
656 SetSoundVolume(volume, SYS_BEEP_VOLUME);
664 if (volume >= 0) {
676 if (volume >= 0) {
677 SetSoundVolume(volume, DEFAULT_SND_VOLUME);
686 if (volume >= 0) {
700 Tcl_WrongNumArgs(interp, 1, objv, "[-volume num] [-list | sndName]?");
710 * Set the volume for either the SysBeep or the SndPlay call depending
716 * it will undo the last setting. The volume parameter is
730 int volume, /* This is the new volume */
731 enum WhichVolume mode) /* This flag says which volume to
733 * to reset the volume */
741 * If we don't have Sound Manager 3.0, we can't set the sound volume.
752 SetSysBeepVolume(volume);
757 SetDefaultOutputVolume(volume);
763 * and called reset before setting the volume. This is benign