15 #include "config_movies.h"
17 #include "inkblotVideo.h"
18 #include "inkblotVideoCursor.h"
19 #include "microphoneAudio.h"
20 #include "movieAudio.h"
21 #include "movieAudioCursor.h"
22 #include "movieTypeRegistry.h"
23 #include "movieVideo.h"
24 #include "movieVideoCursor.h"
25 #include "userDataAudio.h"
26 #include "userDataAudioCursor.h"
27 #include "vorbisAudio.h"
28 #include "vorbisAudioCursor.h"
30 #include "wavAudioCursor.h"
32 ConfigureDef(config_movies);
33 NotifyCategoryDef(movies,
"");
35 ConfigureFn(config_movies) {
41 PRC_DESC(
"List the audio loader modules that Panda will automatically "
42 "import when a new, unknown audio type is loaded. This may be "
43 "either the name of a module, or a space-separate list of filename "
44 "extensions, followed by the name of the module."));
48 PRC_DESC(
"List the video loader modules that Panda will automatically "
49 "import when a new, unknown video type is loaded. This may be "
50 "either the name of a module, or a space-separate list of filename "
51 "extensions, followed by the name of the module."));
54 (
"vorbis-enable-seek",
true,
55 PRC_DESC(
"Set this to false if you're having trouble with seeking while "
56 "using the Ogg Vorbis decoder."));
59 (
"vorbis-seek-lap",
true,
60 PRC_DESC(
"If this is set to true, the Ogg Vorbis decoder will automatically "
61 "crosslap the transition from the previous playback position into "
62 "the new playback position when seeking in order to eliminate "
63 "clicking and boundary discontinuities."));
75 static bool initialized =
false;
81 InkblotVideo::init_type();
82 InkblotVideoCursor::init_type();
83 MicrophoneAudio::init_type();
84 MovieAudio::init_type();
85 MovieAudioCursor::init_type();
86 MovieVideo::init_type();
87 MovieVideoCursor::init_type();
88 UserDataAudio::init_type();
89 UserDataAudioCursor::init_type();
90 WavAudio::init_type();
91 WavAudioCursor::init_type();
94 VorbisAudio::init_type();
95 VorbisAudioCursor::init_type();
void register_audio_type(MakeAudioFunc func, const string &extensions)
Registers a MovieAudio type, so that files with any of the given extensions will be loaded as this ty...
This is a convenience class to specialize ConfigVariable as a boolean type.
This class records the different types of MovieAudio and MovieVideo that are available for loading...
This class is similar to ConfigVariable, but it reports its value as a list of strings.
static MovieTypeRegistry * get_global_ptr()
Returns a pointer to the global MovieTypeRegistry instance.