/********************************************************************** Audacity: A Digital Audio Editor ImportQTWrapper.cpp Joshua Haberman This file contains an implementation of some functions that can't be included as part of ImportQT.cpp because of incompatible header files. **********************************************************************/ #ifdef __MACH__ #include #include #else #include #include #include #include #include #include #include #include #endif void InitQuicktime() { EnterMovies(); } void ExitQuicktime() { ExitMovies(); } Media GetMediaFromMovie(Movie mov) { Track theTrack; // get the first sound track theTrack = GetMovieIndTrackType(mov, 1, SoundMediaType, movieTrackMediaType); if(theTrack == NULL) return NULL; return GetTrackMedia(theTrack); } // Indentation settings for Vim and Emacs. // Please do not modify past this point. // // Local Variables: // c-basic-offset: 3 // indent-tabs-mode: nil // End: // // vim: et sts=3 sw=3