|
persona-3-dual
A DS demake of Persona 3
|
#include "types/StateTypes.hpp"#include <aegis/ndsTypes.hpp>#include <aegis/types.hpp>#include <nds.h>#include <stdio.h>#include <string>

Go to the source code of this file.
Classes | |
| class | VideoController |
| Streams video frames and multiplexed QOA audio from a single .vid file. More... | |
Variables | |
| constexpr uint8_t | FRAMES_TO_BUFFER = 15 |
| Number of decoded video frames held in the RAM ring buffer. | |
| constexpr uint8_t | READS_PER_UPDATE = 3 |
| Maximum frame reads per update(). Reads stop early if a frame is already due. | |
| constexpr uint16_t | AUDIO_CHUNK_MAX = 16384 |
| Maximum audio payload (bytes) in one per-frame chunk. Must match MAX_AUDIO_CHUNK in video2vid.py. | |
| constexpr uint16_t | VIDEO_READ_SLICE = 16384 |
| Size (bytes) of each SD card read slice when loading a video frame. | |
| constexpr uint8_t | VIDEO_AUDIO_STREAM_MS = 100 |
| Length of the maxmod audio stream buffer in ms. Larger tolerates slower SD reads. | |
| constexpr int8_t | VIDEO_SYNC_OFFSET_MS = 0 |
| Fine A/V sync offset in ms. | |
|
constexpr |
Maximum audio payload (bytes) in one per-frame chunk. Must match MAX_AUDIO_CHUNK in video2vid.py.
Definition at line 18 of file VideoController.hpp.
|
constexpr |
Number of decoded video frames held in the RAM ring buffer.
Definition at line 12 of file VideoController.hpp.
|
constexpr |
Maximum frame reads per update(). Reads stop early if a frame is already due.
Definition at line 15 of file VideoController.hpp.
|
constexpr |
Length of the maxmod audio stream buffer in ms. Larger tolerates slower SD reads.
Definition at line 28 of file VideoController.hpp.
|
constexpr |
Size (bytes) of each SD card read slice when loading a video frame.
The audio stream is fed between slices so a long read cannot underrun it.
Definition at line 25 of file VideoController.hpp.
|
constexpr |
Fine A/V sync offset in ms.
Positive delays the picture (use if the picture leads the sound), negative advances it (use if the picture lags the sound).
Definition at line 36 of file VideoController.hpp.