ReactOS 0.4.16-dev-747-gbc52d5f
|
#include <audio_waveout.hpp>
Public Member Functions | |
audio_waveout (const audio_format &aud_fmt, audio_producer &a_buf) | |
~audio_waveout (void) | |
void | open (void) |
void | play (void) |
void | pause (void) |
void | stop (void) |
void | close (void) |
audio_waveout_status | current_status (void) |
BYTE * | buf (void) |
unsigned int | bufsz (void) |
unsigned int | samplevalue_max (void) |
unsigned | tot_samples_buf (void) |
unsigned int | nsample (unsigned int nsamp) |
Protected Member Functions | |
void | init_ (void) |
void | alloc_buffers_mem_ (unsigned int, float) |
void | free_buffers_mem_ (void) |
void | init_headers_ (void) |
void | prep_headers_ (void) |
void | unprep_headers_ (void) |
Protected Attributes | |
WAVEFORMATEX | wave_format |
WAVEHDR * | wave_headers |
HWAVEOUT | waveout_handle |
const audio_format & | aud_info |
audio_producer & | audio_buf |
DWORD | playthread_id |
audio_waveout_status | status |
float | buf_secs |
BYTE * | main_buffer |
unsigned int | mb_size |
unsigned int | buffers |
Static Private Member Functions | |
static DWORD WINAPI | playing_procedure (LPVOID) |
Private Attributes | |
HANDLE | wakeup_playthread |
Friends | |
class | audio_buffer |
Definition at line 27 of file audio_waveout.hpp.
|
inline |
Definition at line 73 of file audio_waveout.hpp.
|
inline |
Definition at line 87 of file audio_waveout.hpp.
Definition at line 26 of file audio_waveout.cpp.
Referenced by open().
Definition at line 104 of file audio_waveout.hpp.
Definition at line 109 of file audio_waveout.hpp.
Definition at line 325 of file audio_waveout.cpp.
|
inline |
Definition at line 99 of file audio_waveout.hpp.
Definition at line 134 of file audio_waveout.cpp.
Referenced by close().
|
protected |
Definition at line 14 of file audio_waveout.cpp.
Referenced by audio_waveout().
Definition at line 52 of file audio_waveout.cpp.
Definition at line 129 of file audio_waveout.hpp.
Definition at line 148 of file audio_waveout.cpp.
Definition at line 272 of file audio_waveout.cpp.
Definition at line 218 of file audio_waveout.cpp.
Definition at line 348 of file audio_waveout.cpp.
Referenced by open().
Definition at line 84 of file audio_waveout.cpp.
Referenced by play().
Definition at line 292 of file audio_waveout.cpp.
Referenced by close(), and playing_procedure().
Definition at line 124 of file audio_waveout.hpp.
Definition at line 109 of file audio_waveout.cpp.
Referenced by stop().
|
friend |
Definition at line 29 of file audio_waveout.hpp.
|
protected |
Definition at line 40 of file audio_waveout.hpp.
Referenced by alloc_buffers_mem_(), nsample(), open(), samplevalue_max(), and tot_samples_buf().
|
protected |
Definition at line 41 of file audio_waveout.hpp.
Referenced by open(), play(), playing_procedure(), and stop().
|
protected |
Definition at line 47 of file audio_waveout.hpp.
Definition at line 59 of file audio_waveout.hpp.
Referenced by init_headers_(), play(), playing_procedure(), prep_headers_(), and unprep_headers_().
|
protected |
Definition at line 53 of file audio_waveout.hpp.
Referenced by alloc_buffers_mem_(), buf(), free_buffers_mem_(), init_headers_(), nsample(), play(), prep_headers_(), and unprep_headers_().
Definition at line 56 of file audio_waveout.hpp.
Referenced by alloc_buffers_mem_(), bufsz(), init_headers_(), play(), and tot_samples_buf().
|
protected |
Definition at line 44 of file audio_waveout.hpp.
|
protected |
Definition at line 46 of file audio_waveout.hpp.
Referenced by current_status(), and playing_procedure().
|
private |
Definition at line 33 of file audio_waveout.hpp.
Referenced by init_(), open(), play(), and playing_procedure().
|
protected |
Definition at line 36 of file audio_waveout.hpp.
|
protected |
Definition at line 37 of file audio_waveout.hpp.
Referenced by alloc_buffers_mem_(), free_buffers_mem_(), init_headers_(), play(), prep_headers_(), and unprep_headers_().
|
protected |
Definition at line 38 of file audio_waveout.hpp.
Referenced by close(), init_(), open(), pause(), play(), playing_procedure(), prep_headers_(), stop(), and unprep_headers_().