25 INLINE
int MovieAudioCursor::
33 INLINE
int MovieAudioCursor::
34 audio_channels()
const {
35 return _audio_channels;
55 INLINE
double MovieAudioCursor::
68 INLINE
bool MovieAudioCursor::
76 INLINE
bool MovieAudioCursor::
77 can_seek_fast()
const {
78 return _can_seek_fast;
85 INLINE
bool MovieAudioCursor::
93 INLINE
double MovieAudioCursor::
95 return _last_seek + ((_samples_read * 1.0) / _audio_rate);
101 INLINE
void MovieAudioCursor::
102 skip_samples(
int n) {
void read_samples(int n, Datagram *dg)
Read audio samples from the stream into a Datagram.
PT(MovieAudio) MovieAudioCursor
Returns the MovieAudio which this cursor references.
A MovieAudio is actually any source that provides a sequence of audio samples.