|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <audio_wavein.hpp>

Public Member Functions | |
| audio_wavein (const audio_format &a_info, audio_receiver &a_receiver) | |
| ~audio_wavein (void) | |
| void | open (void) |
| void | close (void) |
| void | start_recording (void) |
| void | stop_recording (void) |
| audio_wavein_status | current_status (void) const |
| float | buffer_secs (void) const |
| void | buffer_secs (float bsecs) |
| unsigned int | total_buffers (void) const |
| void | total_buffers (unsigned int tot_bufs) |
| audio_format | format (void) const |
| 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) |
| void | add_buffers_to_driver_ (void) |
Protected Attributes | |
| WAVEFORMATEX | wave_format |
| WAVEHDR * | wave_headers |
| HWAVEIN | wavein_handle |
| audio_format | aud_info |
| audio_receiver & | audio_rcvd |
| DWORD | recthread_id |
| audio_wavein_status | status |
| float | buf_secs |
| BYTE * | main_buffer |
| unsigned int | mb_size |
| unsigned int | buffers |
Static Private Member Functions | |
| static DWORD WINAPI | recording_procedure (LPVOID) |
Private Attributes | |
| HANDLE | wakeup_recthread |
| HANDLE | data_flushed_event |
Definition at line 26 of file audio_wavein.hpp.
|
inline |
Definition at line 81 of file audio_wavein.hpp.
|
inline |
Definition at line 96 of file audio_wavein.hpp.
Definition at line 135 of file audio_wavein.cpp.
Referenced by start_recording().
Definition at line 27 of file audio_wavein.cpp.
Referenced by open().
Definition at line 149 of file audio_wavein.hpp.
Definition at line 119 of file audio_wavein.hpp.
Definition at line 114 of file audio_wavein.hpp.
Definition at line 154 of file audio_wavein.hpp.
Definition at line 158 of file audio_wavein.cpp.
|
inline |
Definition at line 109 of file audio_wavein.hpp.
|
inline |
Definition at line 144 of file audio_wavein.hpp.
Definition at line 54 of file audio_wavein.cpp.
Referenced by close().
|
protected |
Definition at line 14 of file audio_wavein.cpp.
Referenced by audio_wavein(), and close().
Definition at line 69 of file audio_wavein.cpp.
Referenced by open().
Definition at line 176 of file audio_wavein.hpp.
Definition at line 188 of file audio_wavein.cpp.
Definition at line 89 of file audio_wavein.cpp.
Referenced by start_recording().
Definition at line 344 of file audio_wavein.cpp.
Referenced by open().
Definition at line 270 of file audio_wavein.cpp.
Definition at line 308 of file audio_wavein.cpp.
Referenced by close().
Definition at line 171 of file audio_wavein.hpp.
Definition at line 134 of file audio_wavein.hpp.
Definition at line 129 of file audio_wavein.hpp.
Definition at line 112 of file audio_wavein.cpp.
Referenced by stop_recording().
|
protected |
Definition at line 47 of file audio_wavein.hpp.
Referenced by alloc_buffers_mem_(), audio_wavein(), format(), nsample(), open(), samplevalue_max(), and tot_samples_buf().
|
protected |
Definition at line 48 of file audio_wavein.hpp.
Referenced by recording_procedure().
|
protected |
Definition at line 58 of file audio_wavein.hpp.
Referenced by buffer_secs(), init_(), and open().
Definition at line 64 of file audio_wavein.hpp.
Referenced by add_buffers_to_driver_(), init_headers_(), prep_headers_(), total_buffers(), and unprep_headers_().
|
private |
Definition at line 37 of file audio_wavein.hpp.
Referenced by init_(), open(), recording_procedure(), and stop_recording().
|
protected |
Definition at line 62 of file audio_wavein.hpp.
Referenced by add_buffers_to_driver_(), alloc_buffers_mem_(), buf(), free_buffers_mem_(), init_headers_(), nsample(), prep_headers_(), and unprep_headers_().
Definition at line 63 of file audio_wavein.hpp.
Referenced by alloc_buffers_mem_(), bufsz(), init_headers_(), and tot_samples_buf().
|
protected |
Definition at line 51 of file audio_wavein.hpp.
|
protected |
Definition at line 54 of file audio_wavein.hpp.
Referenced by current_status(), and recording_procedure().
|
private |
Definition at line 36 of file audio_wavein.hpp.
Referenced by close(), init_(), open(), recording_procedure(), and start_recording().
|
protected |
Definition at line 43 of file audio_wavein.hpp.
|
protected |
Definition at line 44 of file audio_wavein.hpp.
Referenced by add_buffers_to_driver_(), alloc_buffers_mem_(), free_buffers_mem_(), init_headers_(), prep_headers_(), and unprep_headers_().
|
protected |
Definition at line 45 of file audio_wavein.hpp.
Referenced by add_buffers_to_driver_(), close(), init_(), open(), prep_headers_(), recording_procedure(), start_recording(), stop_recording(), and unprep_headers_().