mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-04-12 10:56:04 +00:00
Move audio code to seperate directory
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user