mvEnableAudio(3dm)
mvSetEnableAudio, mvGetEnableAudio - Enable/disable audio playback for a movie instance
As shipped in IRIX 6.5.30. Unchanged since IRIX 6.5.
NAME mvSetEnableAudio, mvGetEnableAudio - Enable/disable audio playback for a movie instance SYNOPSIS #include <dmedia/moviefile.h> #include <dmedia/movieplay.h> void mvSetEnableAudio(MVid movieid, DMboolean onoff); DMboolean mvGetEnableAudio(MVid movieid); DESCRIPTION mvSetEnableAudio(3dm) enables or disables all audio playback for a movie. To play audio, specify DM_TRUE for the onoff parameter; to mute audio, specify DM_FALSE. If the movie has no sound track, or the system does not have audio capability, this call has no effect. The default is DM_TRUE. You may play or mute audio regardless of whether or not the specified movie is currently playing. mvGetEnableAudio(3dm) returns the current audio playback status for the specified movie. You may only call these functions for a specified movie while it is bound to a window (see mvBindOpenGLWindow(3dm)). SEE ALSO mvBindOpenGLWindow(3dm), mvIntro(3dm), mvPlay(3dm).