aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2016-08-06 11:32:53 +0200
committerraysan5 <raysan5@gmail.com>2016-08-06 11:32:53 +0200
commitae70540a964d63e55e9e25c5f836f26ab34ce51e (patch)
tree365a3b9442dd37784c5d44ce5b4c5e7955640d55 /examples
parent00c7e54d3c593dbddb036f2185e614e7e4b22a1f (diff)
downloadraylib-ae70540a964d63e55e9e25c5f836f26ab34ce51e.tar.gz
raylib-ae70540a964d63e55e9e25c5f836f26ab34ce51e.zip
Added example audio_raw_stream
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile7
-rw-r--r--examples/audio_raw_stream.c1
2 files changed, 6 insertions, 2 deletions
diff --git a/examples/Makefile b/examples/Makefile
index e10b0bb6..378f5edf 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -229,6 +229,7 @@ EXAMPLES = \
audio_sound_loading \
audio_music_stream \
audio_module_playing \
+ audio_raw_stream \
fix_dylib \
@@ -455,10 +456,14 @@ audio_sound_loading: audio_sound_loading.c
audio_music_stream: audio_music_stream.c
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDES) $(LFLAGS) $(LIBS) -D$(PLATFORM) $(WINFLAGS)
-# compile [audio] example - module playing (OGG)
+# compile [audio] example - module playing (XM)
audio_module_playing: audio_module_playing.c
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDES) $(LFLAGS) $(LIBS) -D$(PLATFORM) $(WINFLAGS)
+# compile [audio] example - raw audio streaming
+audio_raw_stream: audio_raw_stream.c
+ $(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDES) $(LFLAGS) $(LIBS) -D$(PLATFORM) $(WINFLAGS)
+
# fix dylib install path name for each executable (MAC)
fix_dylib:
ifeq ($(PLATFORM_OS),OSX)
diff --git a/examples/audio_raw_stream.c b/examples/audio_raw_stream.c
index a372205b..c044a7e0 100644
--- a/examples/audio_raw_stream.c
+++ b/examples/audio_raw_stream.c
@@ -25,7 +25,6 @@ int main()
int screenWidth = 800;
int screenHeight = 450;
- SetConfigFlags(FLAG_MSAA_4X_HINT);
InitWindow(screenWidth, screenHeight, "raylib [audio] example - raw audio streaming");
InitAudioDevice(); // Initialize audio device