Logo Search packages:      
Sourcecode: ultrastar-ng version File versions  Download package

void CAudio::stopMusic ( void   ) 

This method stop the audio playback

Definition at line 189 of file audio.cpp.

Referenced by playMusic(), and playPreview().

{
#ifdef USE_LIBXINE_AUDIO
        xine_stop(stream);
#endif
#ifdef USE_GSTREAMER_AUDIO
      gst_element_set_state (music, GST_STATE_NULL);
#endif
}


Generated by  Doxygen 1.6.0   Back to index