Browse Source

Added example audio_raw_stream

pull/173/head
raysan5 8 years ago
parent
commit
ae70540a96
2 changed files with 6 additions and 2 deletions
  1. +6
    -1
      examples/Makefile
  2. +0
    -1
      examples/audio_raw_stream.c

+ 6
- 1
examples/Makefile View File

@ -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)

+ 0
- 1
examples/audio_raw_stream.c View File

@ -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

Loading…
Cancel
Save