resonance 1.0.1
Loading...
Searching...
No Matches
MovieStreamingAsyncCallback Class Reference

Receiver of the reads that keep a streaming movie's ring buffer full. More...

#include <moviestreamingasynccallback.h>

Inheritance diagram for MovieStreamingAsyncCallback:
Collaboration diagram for MovieStreamingAsyncCallback:

Public Member Functions

virtual void Done (int nHandle, int nFile, void *pBuffer, int nLength, int nStatus)
 Commit a completed streaming read to the ring buffer.
Public Member Functions inherited from AsyncCallback
virtual ~AsyncCallback ()
 Release the receiver.

Detailed Description

Receiver of the reads that keep a streaming movie's ring buffer full.

It derives publicly from AsyncCallback at offset 0. One instance at 0x00767948 serves the one streaming Rnd::AMovieSet the unit tracks. Its destructor at 0x005807b0 and its type accessor at 0x005807e0 are compiler-generated.

Member Function Documentation

◆ Done()

virtual void MovieStreamingAsyncCallback::Done ( int nHandle,
int nFile,
void * pBuffer,
int nLength,
int nStatus )
virtual

Commit a completed streaming read to the ring buffer.

A failed read is fatal. Otherwise the file offset and the ring buffer's write pointer advance by nLength. Either way another streaming read may then be queued.

Parameters
nHandleThe request identifier.
nFileThe file the read was issued against.
pBufferThe buffer the read filled.
nLengthThe bytes read.
nStatusZero on success, or a positive failure code.
Ghidra address:
NTSC-U/C: 0x005809f0
Ghidra address:
PAL: 0x005c3a28

Implements AsyncCallback.


The documentation for this class was generated from the following file: