|
102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
|
#include "mss_private.h"#include "sidecar_private.h"#include <dttr_log.h>#include <dttr_path.h>#include <sds.h>#include <SDL3/SDL.h>#include <SDL3_mixer/SDL_mixer.h>#include <stdbool.h>#include <stdlib.h>#include <string.h>#include <windows.h>Go to the source code of this file.
Data Structures | |
| struct | mss_stream |
Typedefs | |
| typedef struct mss_stream | mss_stream |
Variables | |
| static mss_stream * | streams |
| typedef struct mss_stream mss_stream |
|
static |
Definition at line 59 of file mss_stream.c.
References dttr_mss_core_master_gain(), DTTR_MSS_STREAM_HEADROOM_GAIN, dttr_mss_track_gain(), mss_stream::track, and mss_stream::volume.
Referenced by apply_stream_track(), dttr_mss_ail_set_stream_volume(), and dttr_mss_stream_apply_master_gain().
|
static |
Definition at line 75 of file mss_stream.c.
References apply_stream_gain(), mss_stream::audio, and mss_stream::track.
Referenced by dttr_mss_ail_open_stream(), and dttr_mss_ail_start_stream().
|
static |
Definition at line 127 of file mss_stream.c.
References destroy_stream_objects(), free, and unlink_stream().
Referenced by dttr_mss_ail_close_stream(), and dttr_mss_stream_shutdown_all().
|
static |
Definition at line 113 of file mss_stream.c.
References mss_stream::audio, NULL, and mss_stream::track.
Referenced by destroy_stream(), and dttr_mss_ail_open_stream().
Definition at line 230 of file mss_stream.c.
References destroy_stream(), DTTR_LOG_TRACE, find_stream(), and stream_slot().
Definition at line 167 of file mss_stream.c.
References apply_stream_track(), mss_stream::audio, destroy_stream_objects(), DTTR_LOG_ERROR, DTTR_LOG_TRACE, dttr_mss_core_ensure_mixer(), dttr_mss_core_mixer(), free, link_stream(), NULL, reset_stream_defaults(), resolve_stream_path(), stream_slot(), and mss_stream::track.
Definition at line 281 of file mss_stream.c.
References DTTR_MSS_STATUS_PLAYING, find_stream(), mss_stream::status, and mss_stream::track.
Definition at line 310 of file mss_stream.c.
References dttr_mss_loops_to_sdl(), find_stream(), mss_stream::loops, and mss_stream::track.
Definition at line 298 of file mss_stream.c.
References apply_stream_gain(), find_stream(), and mss_stream::volume.
Definition at line 242 of file mss_stream.c.
References apply_stream_track(), DTTR_LOG_TRACE, dttr_mss_loops_to_sdl(), DTTR_MSS_STATUS_PLAYING, dttr_mss_track_play(), find_stream(), mss_stream::loops, mss_stream::status, stream_slot(), mss_stream::track, and mss_stream::volume.
| int dttr_mss_ail_stream_status | ( | void * | stream_ptr | ) |
Definition at line 269 of file mss_stream.c.
References DTTR_MSS_STATUS_DONE, dttr_mss_track_status(), find_stream(), mss_stream::status, and mss_stream::track.
| void dttr_mss_stream_apply_master_gain | ( | ) |
Definition at line 142 of file mss_stream.c.
References apply_stream_gain(), and streams.
Referenced by dttr_mss_ail_set_digital_master_volume().
| void dttr_mss_stream_shutdown_all | ( | ) |
Definition at line 135 of file mss_stream.c.
References destroy_stream(), and streams.
Referenced by dttr_mss_sdl_shutdown().
|
static |
Definition at line 29 of file mss_stream.c.
Referenced by dttr_mss_ail_close_stream(), dttr_mss_ail_pause_stream(), dttr_mss_ail_set_stream_loop_count(), dttr_mss_ail_set_stream_volume(), dttr_mss_ail_start_stream(), and dttr_mss_ail_stream_status().
|
static |
Definition at line 85 of file mss_stream.c.
References mss_stream::next, NULL, mss_stream::prev, and streams.
Referenced by dttr_mss_ail_open_stream().
|
static |
Definition at line 52 of file mss_stream.c.
References DTTR_MSS_DEFAULT_LOOP_COUNT, DTTR_MSS_DEFAULT_VOLUME, DTTR_MSS_STATUS_DONE, mss_stream::loops, mss_stream::status, and mss_stream::volume.
Referenced by dttr_mss_ail_open_stream().
|
static |
Definition at line 149 of file mss_stream.c.
References dttr_game_data_find_data_segment(), dttr_game_data_resolve_media_path(), and DTTR_Path_IsWindowsAbsolute().
Referenced by dttr_mss_ail_open_stream().
|
static |
Definition at line 40 of file mss_stream.c.
References streams.
Referenced by dttr_mss_ail_close_stream(), dttr_mss_ail_open_stream(), and dttr_mss_ail_start_stream().
|
static |
Definition at line 97 of file mss_stream.c.
References mss_stream::next, NULL, mss_stream::prev, and streams.
Referenced by destroy_stream().
|
static |
Definition at line 27 of file mss_stream.c.
Referenced by dttr_mss_stream_apply_master_gain(), dttr_mss_stream_shutdown_all(), find_stream(), link_stream(), stream_slot(), and unlink_stream().