Move audio code to seperate directory

This commit is contained in:
Iwan Timmer
2015-07-12 21:31:53 +02:00
parent f167c6febb
commit 2ba4840569
5 changed files with 20 additions and 10 deletions

View File

@@ -21,6 +21,7 @@
#include "platform.h"
#include "video.h"
#include "audio.h"
#include <stdbool.h>
#include <stdlib.h>
@@ -68,3 +69,10 @@ DECODER_RENDERER_CALLBACKS* platform_get_video(enum platform system) {
}
return NULL;
}
AUDIO_RENDERER_CALLBACKS* platform_get_audio(enum platform system) {
switch (system) {
default:
return &audio_callbacks_alsa;
}
}