RetroArch
audio_thread_wrapper.h
Go to the documentation of this file.
1 /* RetroArch - A frontend for libretro.
2  * Copyright (C) 2010-2014 - Hans-Kristian Arntzen
3  * Copyright (C) 2011-2017 - Daniel De Matteis
4  *
5  * RetroArch is free software: you can redistribute it and/or modify it under the terms
6  * of the GNU General Public License as published by the Free Software Found-
7  * ation, either version 3 of the License, or (at your option) any later version.
8  *
9  * RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
10  * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  * PURPOSE. See the GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License along with RetroArch.
14  * If not, see <http://www.gnu.org/licenses/>.
15  */
16 
17 #ifndef RARCH_AUDIO_THREAD_H__
18 #define RARCH_AUDIO_THREAD_H__
19 
20 #include <boolean.h>
21 
22 #include "audio_driver.h"
23 
40 bool audio_init_thread(const audio_driver_t **out_driver, void **out_data,
41  const char *device, unsigned out_rate, unsigned *new_rate, unsigned latency,
42  unsigned block_frames,
43  const audio_driver_t *driver);
44 
45 #endif
46 
Definition: audio_driver.h:81
static const unsigned out_rate
Definition: config.def.h:514
bool audio_init_thread(const audio_driver_t **out_driver, void **out_data, const char *device, unsigned out_rate, unsigned *new_rate, unsigned latency, unsigned block_frames, const audio_driver_t *driver)
Definition: audio_thread_wrapper.c:282
struct nk_device device
Definition: nk_common.c:44