Update headers

This commit is contained in:
twinaphex 2015-09-14 03:44:06 +02:00
parent da3dd316b5
commit 4ccbee5d8d
15 changed files with 69 additions and 53 deletions

View File

@ -14,6 +14,7 @@
*/
#include <stdlib.h>
#include <alsa/asoundlib.h>
#include "../../driver.h"

View File

@ -14,13 +14,13 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include "../../general.h"
#include "../../driver.h"
#define ALSA_PCM_NEW_HW_PARAMS_API
#define ALSA_PCM_NEW_SW_PARAMS_API
#include <sys/asoundlib.h>
#include "../../general.h"
#include "../../driver.h"
#define MAX_FRAG_SIZE 3072
#define DEFAULT_RATE 48000

View File

@ -14,14 +14,16 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include "../../driver.h"
#include <stdlib.h>
#include <alsa/asoundlib.h>
#include "../../general.h"
#include <rthreads/rthreads.h>
#include <queues/fifo_buffer.h>
#include "../../driver.h"
#include "../../general.h"
#define TRY_ALSA(x) if (x < 0) { \
goto error; \
}

View File

@ -17,7 +17,6 @@
#include "../../driver.h"
#include "../../performance.h"
typedef struct
{
bool nonblocking;

View File

@ -24,6 +24,7 @@
#include <mmreg.h>
#include <mmsystem.h>
#endif
#include <dsound.h>
#include <boolean.h>

View File

@ -14,12 +14,8 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include "../../driver.h"
#include <stdlib.h>
#include <boolean.h>
#include "../../general.h"
#include <string.h>
#include <retro_inline.h>
#ifdef GEKKO
#include <gccore.h>
@ -28,6 +24,11 @@
#include <cafe/ai.h>
#endif
#include <boolean.h>
#include <retro_inline.h>
#include "../../driver.h"
#include "../../general.h"
#include "../../defines/gx_defines.h"
#define CHUNK_FRAMES 64

View File

@ -13,20 +13,22 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include "../../driver.h"
#include <stdint.h>
#include <stdlib.h>
#include "../../general.h"
#include <string.h>
#include <assert.h>
#include <jack/jack.h>
#include <jack/types.h>
#include <jack/ringbuffer.h>
#include <stdint.h>
#include <boolean.h>
#include <string.h>
#include <assert.h>
#include <rthreads/rthreads.h>
#include "../../driver.h"
#include "../../general.h"
#define FRAMES(x) (x / (sizeof(float) * 2))
typedef struct jack

View File

@ -13,8 +13,8 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include "../../driver.h"
#include "../../general.h"
#include <string.h>
#include <time.h>
#ifdef __APPLE__
#include <OpenAL/al.h>
@ -24,13 +24,13 @@
#include <AL/alc.h>
#endif
#include <time.h>
#include <string.h>
#ifdef _WIN32
#include <windows.h>
#endif
#include "../../driver.h"
#include "../../general.h"
#define BUFSIZE 1024
typedef struct al

View File

@ -14,15 +14,16 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include "../../driver.h"
#include "../../general.h"
#include <rthreads/rthreads.h>
#include <SLES/OpenSLES.h>
#ifdef ANDROID
#include <SLES/OpenSLES_Android.h>
#endif
#include <rthreads/rthreads.h>
#include "../../driver.h"
#include "../../general.h"
/* Helper macros, COM-style. */
#define SLObjectItf_Realize(a, ...) ((*(a))->Realize(a, __VA_ARGS__))
#define SLObjectItf_GetInterface(a, ...) ((*(a))->GetInterface(a, __VA_ARGS__))

View File

@ -14,12 +14,13 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdlib.h>
#include <string.h>
#include <queues/fifo_buffer.h>
#include "../driver.h"
#include "../general.h"
#include <stdlib.h>
#include <string.h>
#include <queues/fifo_buffer.h>
#include "../../defines/ps3_defines.h"

View File

@ -15,8 +15,8 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include "../../general.h"
#include "../../driver.h"
#include <stdint.h>
#include <malloc.h>
#ifdef VITA
#include <psp2/kernel/processmgr.h>
@ -27,8 +27,9 @@
#include <pspkernel.h>
#include <pspaudio.h>
#endif
#include <stdint.h>
#include <malloc.h>
#include "../../general.h"
#include "../../driver.h"
typedef struct psp_audio
{

View File

@ -13,13 +13,16 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdint.h>
#include <stdlib.h>
#include <errno.h>
#include <roaraudio.h>
#include <boolean.h>
#include "../../driver.h"
#include <stdlib.h>
#include <roaraudio.h>
#include <errno.h>
#include <stdint.h>
#include <boolean.h>
#include "../../general.h"
typedef struct

View File

@ -13,13 +13,15 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdlib.h>
#include <boolean.h>
#include <queues/fifo_buffer.h>
#include <rthreads/rthreads.h>
#include "../audio_driver.h"
#include <stdlib.h>
#include "rsound.h"
#include <queues/fifo_buffer.h>
#include <boolean.h>
#include <rthreads/rthreads.h>
typedef struct rsd
{

View File

@ -13,22 +13,22 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include "../../driver.h"
#include <stdlib.h>
#include <boolean.h>
#include <stddef.h>
#include <stdint.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include "SDL.h"
#include "SDL_audio.h"
#include <rthreads/rthreads.h>
#include "../../general.h"
#include <boolean.h>
#include <rthreads/rthreads.h>
#include <queues/fifo_buffer.h>
#include <retro_inline.h>
#include "../../driver.h"
#include "../../general.h"
typedef struct sdl_audio
{
bool nonblock;

View File

@ -14,14 +14,16 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include "../../driver.h"
#include <stdlib.h>
#include <boolean.h>
#include "../../general.h"
#include <retro_inline.h>
#include <xenon_sound/sound.h>
#include <retro_inline.h>
#include "../../driver.h"
#include "../../general.h"
#define SOUND_FREQUENCY 48000
#define MAX_BUFFER 2048