46 if (stream ==
nullptr) {
50 if (cursor ==
nullptr || !cursor->_is_valid) {
Implements decoding of FLAC audio files.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PT(MovieAudioCursor) FlacAudio
Open this audio, returning a MovieAudioCursor.
A hierarchy of directories and files that appears to be one continuous file system,...
std::istream * open_read_file(const Filename &filename, bool auto_unwrap) const
Convenience function; returns a newly allocated istream if the file exists and can be read,...
FlacAudio(const Filename &name)
xxx
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
The name of a file, such as a texture file or an Egg file.
A MovieAudio is actually any source that provides a sequence of audio samples.
static VirtualFileSystem * get_global_ptr()
Returns the default global VirtualFileSystem.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.
A MovieAudio is actually any source that provides a sequence of audio samples.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.