|
static INLINE unsigned | write_avail (unsigned read_ptr, unsigned write_ptr, unsigned buffer_size) |
|
static INLINE void | get_positions (dsound_t *ds, DWORD *read_ptr, DWORD *write_ptr) |
|
static INLINE bool | grab_region (dsound_t *ds, uint32_t write_ptr, struct audio_lock *region) |
|
static INLINE void | release_region (dsound_t *ds, const struct audio_lock *region) |
|
static DWORD CALLBACK | dsound_thread (PVOID data) |
|
static void | dsound_stop_thread (dsound_t *ds) |
|
static bool | dsound_start_thread (dsound_t *ds) |
|
static void | dsound_clear_buffer (dsound_t *ds) |
|
static void | dsound_free (void *data) |
|
static BOOL CALLBACK | enumerate_cb (LPGUID guid, LPCSTR desc, LPCSTR module, LPVOID context) |
|
static void * | dsound_init (const char *device, unsigned rate, unsigned latency, unsigned block_frames, unsigned *new_rate) |
|
static bool | dsound_stop (void *data) |
|
static bool | dsound_start (void *data, bool is_shutdown) |
|
static bool | dsound_alive (void *data) |
|
static void | dsound_set_nonblock_state (void *data, bool state) |
|
static ssize_t | dsound_write (void *data, const void *buf_, size_t size) |
|
static size_t | dsound_write_avail (void *data) |
|
static size_t | dsound_buffer_size (void *data) |
|
static bool | dsound_use_float (void *data) |
|