mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 12:40:23 +00:00
Makefile stuff.
This commit is contained in:
parent
6067946fd5
commit
fbd8dc6314
4
Makefile
4
Makefile
@ -20,6 +20,10 @@ ifeq ($(BUILD_ROAR), 1)
|
||||
OBJ += roar.o
|
||||
LIBS += -lroar
|
||||
endif
|
||||
ifeq ($(BUILD_AL), 1)
|
||||
OBJ += openal.o
|
||||
LIBS += -lopenal
|
||||
endif
|
||||
|
||||
ifeq ($(BUILD_OPENGL), 1)
|
||||
OBJ += gl.o
|
||||
|
3
config.h
3
config.h
@ -36,11 +36,12 @@
|
||||
#define AUDIO_OSS 2
|
||||
#define AUDIO_ALSA 3
|
||||
#define AUDIO_ROAR 4
|
||||
#define AUDIO_AL 5
|
||||
////////////////////////
|
||||
|
||||
// Chooses which video and audio subsystem to use. Remember to update config.mk if you change these.
|
||||
#define VIDEO_DRIVER VIDEO_GL
|
||||
#define AUDIO_DRIVER AUDIO_ALSA
|
||||
#define AUDIO_DRIVER AUDIO_AL
|
||||
|
||||
|
||||
////////////////
|
||||
|
@ -4,8 +4,9 @@ BUILD_FILTER = 0
|
||||
|
||||
BUILD_RSOUND = 0
|
||||
BUILD_OSS = 0
|
||||
BUILD_ALSA = 1
|
||||
BUILD_ALSA = 0
|
||||
BUILD_ROAR = 0
|
||||
BUILD_AL = 1
|
||||
|
||||
|
||||
PREFIX = /usr/local
|
||||
|
1
openal.c
1
openal.c
@ -19,6 +19,7 @@
|
||||
#include "driver.h"
|
||||
#include <AL/al.h>
|
||||
#include <AL/alc.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
#define BUFSIZE 128
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user