Wing Commander II
Reconstructed Win32 source (1996)
Loading...
Searching...
No Matches
thread.cpp File Reference

Worker thread and asynchronous audio chunk delivery. More...

#include "ix.h"
#include <stdlib.h>
#include <string.h>

Go to the source code of this file.

Macros

#define IX_THREAD_CPP
#define IX_THREAD_FILE   "D:\\Rnd\\Prj\\ix\\Src\\Streamer\\thread.cpp"

Functions

DWORD WINAPI ix_streamer_thread_proc (void *parameter)
unsigned int ix_streamer_service_audio (void)
void ix_thread_handle_file_chunk (IxStreamFile *streamFile)
int ix_dsps_get_buffer_free (int stream)
void ix_dsps_unlock (int stream)
unsigned int ix_thread_service_streams (void)
void ix_thread_advance_audio_chunk (void)
void ix_thread_lock_stream_buffer (void)
unsigned int ix_thread_get_audio_chunk_size (void)

Detailed Description

Worker thread and asynchronous audio chunk delivery.

Definition in file thread.cpp.

Macro Definition Documentation

◆ IX_THREAD_CPP

#define IX_THREAD_CPP

Definition at line 11 of file thread.cpp.

◆ IX_THREAD_FILE

#define IX_THREAD_FILE   "D:\\Rnd\\Prj\\ix\\Src\\Streamer\\thread.cpp"

Definition at line 18 of file thread.cpp.

Referenced by ix_thread_handle_file_chunk(), and ix_thread_lock_stream_buffer().

Function Documentation

◆ ix_dsps_get_buffer_free()

◆ ix_dsps_unlock()

◆ ix_streamer_service_audio()

◆ ix_streamer_thread_proc()

◆ ix_thread_advance_audio_chunk()

◆ ix_thread_get_audio_chunk_size()

◆ ix_thread_handle_file_chunk()

◆ ix_thread_lock_stream_buffer()

◆ ix_thread_service_streams()