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

CAudio::~CAudio (  ) 

Destructor This destructor close the API audio drivers

Definition at line 40 of file audio.cpp.

{
#ifdef USE_LIBXINE_AUDIO
        xine_close(stream);
        xine_event_dispose_queue(event_queue);
        xine_dispose(stream);
        stream = NULL;
        xine_close_audio_driver(xine, ao_port);
        xine_close_video_driver(xine, vo_port);   
        xine_exit(xine);
#endif
#ifdef USE_GSTREAMER_AUDIO
      gst_object_unref (GST_OBJECT (music));
#endif
}


Generated by  Doxygen 1.6.0   Back to index