MovieAudio

from panda3d.core import MovieAudio
class MovieAudio

Bases: TypedWritableReferenceCount, Namable

A MovieAudio is actually any source that provides a sequence of audio samples. That could include an AVI file, a microphone, or an internet TV station.

The difference between a MovieAudio and a MovieAudioCursor is like the difference between a filename and a file handle. The MovieAudio just indicates a particular movie. The MovieAudioCursor is what allows access.

Inheritance diagram

Inheritance diagram of MovieAudio

__init__(*args, **kwargs)
filename
get()

C++ Interface: get(const Filename name)

/**
  • Obtains a MovieAudio that references a file. Just calls

  • MovieTypeRegistry::make_audio().

*/

getClassType()

C++ Interface: get_class_type()

getFilename()

C++ Interface: get_filename(MovieAudio self)

/**
  • Returns the movie’s filename. A movie is not guaranteed to have a

  • filename, if not, then this function returns a null filename.

*/

get_class_type()

C++ Interface: get_class_type()

get_filename()

C++ Interface: get_filename(MovieAudio self)

/**
  • Returns the movie’s filename. A movie is not guaranteed to have a

  • filename, if not, then this function returns a null filename.

*/

open()

C++ Interface: open(const MovieAudio self)

/**
  • Open this audio, returning a MovieAudioCursor

*/

upcastToNamable()

C++ Interface: upcast_to_Namable(const MovieAudio self)

upcast from MovieAudio to Namable

upcastToTypedWritableReferenceCount()

C++ Interface: upcast_to_TypedWritableReferenceCount(const MovieAudio self)

upcast from MovieAudio to TypedWritableReferenceCount

upcast_to_Namable()

C++ Interface: upcast_to_Namable(const MovieAudio self)

upcast from MovieAudio to Namable

upcast_to_TypedWritableReferenceCount()

C++ Interface: upcast_to_TypedWritableReferenceCount(const MovieAudio self)

upcast from MovieAudio to TypedWritableReferenceCount