35 #if !defined(CPPPARSER) && !defined(LINK_ALL_STATIC) && !defined(BUILDING_PANDA_MOVIES) 36 #error Buildsystem error: BUILDING_PANDA_MOVIES not defined 39 ConfigureDef(config_movies);
40 NotifyCategoryDef(movies,
"");
42 ConfigureFn(config_movies) {
48 PRC_DESC(
"List the audio loader modules that Panda will automatically " 49 "import when a new, unknown audio 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."));
55 PRC_DESC(
"List the video loader modules that Panda will automatically " 56 "import when a new, unknown video type is loaded. This may be " 57 "either the name of a module, or a space-separate list of filename " 58 "extensions, followed by the name of the module."));
61 (
"opus-enable-seek",
true,
62 PRC_DESC(
"Set this to false if you're having trouble with seeking while " 63 "using the Opus decoder."));
66 (
"vorbis-enable-seek",
true,
67 PRC_DESC(
"Set this to false if you're having trouble with seeking while " 68 "using the Ogg Vorbis decoder."));
71 (
"vorbis-seek-lap",
true,
72 PRC_DESC(
"If this is set to true, the Ogg Vorbis decoder will automatically " 73 "crosslap the transition from the previous playback position into " 74 "the new playback position when seeking in order to eliminate " 75 "clicking and boundary discontinuities."));
85 static bool initialized =
false;
91 FlacAudio::init_type();
92 FlacAudioCursor::init_type();
93 InkblotVideo::init_type();
94 InkblotVideoCursor::init_type();
95 MicrophoneAudio::init_type();
96 MovieAudio::init_type();
97 MovieAudioCursor::init_type();
98 MovieVideo::init_type();
99 MovieVideoCursor::init_type();
100 UserDataAudio::init_type();
101 UserDataAudioCursor::init_type();
102 WavAudio::init_type();
103 WavAudioCursor::init_type();
106 OpusAudio::init_type();
107 OpusAudioCursor::init_type();
111 VorbisAudio::init_type();
112 VorbisAudioCursor::init_type();
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void init_libmovies()
Initializes the library.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class is similar to ConfigVariable, but it reports its value as a list of strings.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
static MovieTypeRegistry * get_global_ptr()
Returns a pointer to the global MovieTypeRegistry instance.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_audio_type(MakeAudioFunc func, const std::string &extensions)
Registers a MovieAudio type, so that files with any of the given extensions will be loaded as this ty...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.