This commit is contained in:
twinaphex 2020-07-31 14:51:46 +02:00
parent c19ea3e8ab
commit c522f97e0f
2 changed files with 6 additions and 17 deletions

View File

@ -303,7 +303,8 @@ static void dsound_free(void *data)
free(ds);
}
static BOOL CALLBACK enumerate_cb(LPGUID guid, LPCSTR desc, LPCSTR module, LPVOID context)
static BOOL CALLBACK enumerate_cb(LPGUID guid,
LPCSTR desc, LPCSTR module, LPVOID context)
{
union string_list_elem_attr attr;
struct string_list *list = (struct string_list*)context;
@ -563,16 +564,8 @@ static size_t dsound_write_avail(void *data)
return avail;
}
static size_t dsound_buffer_size(void *data)
{
return 4 * 1024;
}
static bool dsound_use_float(void *data)
{
(void)data;
return false;
}
static size_t dsound_buffer_size(void *data) { return 4 * 1024; }
static bool dsound_use_float(void *data) { return false; }
static void *dsound_list_new(void *u)
{

View File

@ -410,16 +410,12 @@ static void xa_set_nonblock_state(void *data, bool state)
static bool xa_start(void *data, bool is_shutdown)
{
xa_t *xa = (xa_t*)data;
xa_t *xa = (xa_t*)data;
xa->is_paused = false;
return true;
}
static bool xa_use_float(void *data)
{
(void)data;
return true;
}
static bool xa_use_float(void *data) { return true; }
static void xa_free(void *data)
{