mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-04-17 05:50:07 +00:00
Cleanup header files
This commit is contained in:
@@ -37,6 +37,3 @@ extern AUDIO_RENDERER_CALLBACKS audio_callbacks_sdl;
|
|||||||
extern AUDIO_RENDERER_CALLBACKS audio_callbacks_pulse;
|
extern AUDIO_RENDERER_CALLBACKS audio_callbacks_pulse;
|
||||||
bool audio_pulse_init();
|
bool audio_pulse_init();
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_PI
|
|
||||||
extern AUDIO_RENDERER_CALLBACKS audio_callbacks_omx;
|
|
||||||
#endif
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* This file is part of Moonlight Embedded.
|
* This file is part of Moonlight Embedded.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2015, 2016 Iwan Timmer
|
* Copyright (C) 2015-2017 Iwan Timmer
|
||||||
*
|
*
|
||||||
* Moonlight is free software; you can redistribute it and/or modify
|
* Moonlight is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
#include "platform.h"
|
#include "platform.h"
|
||||||
#include "audio.h"
|
#include "audio.h"
|
||||||
|
#include "video.h"
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* This file is part of Moonlight Embedded.
|
* This file is part of Moonlight Embedded.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2015, 2016 Iwan Timmer
|
* Copyright (C) 2015-2017 Iwan Timmer
|
||||||
*
|
*
|
||||||
* Moonlight is free software; you can redistribute it and/or modify
|
* Moonlight is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@@ -32,11 +32,3 @@ enum platform platform_check(char*);
|
|||||||
PDECODER_RENDERER_CALLBACKS platform_get_video(enum platform system);
|
PDECODER_RENDERER_CALLBACKS platform_get_video(enum platform system);
|
||||||
PAUDIO_RENDERER_CALLBACKS platform_get_audio(enum platform system);
|
PAUDIO_RENDERER_CALLBACKS platform_get_audio(enum platform system);
|
||||||
bool platform_supports_hevc(enum platform system);
|
bool platform_supports_hevc(enum platform system);
|
||||||
|
|
||||||
#ifdef HAVE_X11
|
|
||||||
extern DECODER_RENDERER_CALLBACKS decoder_callbacks_x11;
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_SDL
|
|
||||||
extern DECODER_RENDERER_CALLBACKS decoder_callbacks_sdl;
|
|
||||||
void sdl_loop();
|
|
||||||
#endif
|
|
||||||
|
|||||||
11
src/video.h
11
src/video.h
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* This file is part of Moonlight Embedded.
|
* This file is part of Moonlight Embedded.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2015 Iwan Timmer
|
* Copyright (C) 2015-2017 Iwan Timmer
|
||||||
*
|
*
|
||||||
* Moonlight is free software; you can redistribute it and/or modify
|
* Moonlight is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@@ -17,5 +17,14 @@
|
|||||||
* along with Moonlight; if not, see <http://www.gnu.org/licenses/>.
|
* along with Moonlight; if not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <Limelight.h>
|
||||||
|
|
||||||
#define DISPLAY_FULLSCREEN 1
|
#define DISPLAY_FULLSCREEN 1
|
||||||
#define FORCE_HARDWARE_ACCELERATION 2
|
#define FORCE_HARDWARE_ACCELERATION 2
|
||||||
|
|
||||||
|
#ifdef HAVE_X11
|
||||||
|
extern DECODER_RENDERER_CALLBACKS decoder_callbacks_x11;
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_SDL
|
||||||
|
extern DECODER_RENDERER_CALLBACKS decoder_callbacks_sdl;
|
||||||
|
#endif
|
||||||
|
|||||||
@@ -21,8 +21,6 @@
|
|||||||
#include "../sdl.h"
|
#include "../sdl.h"
|
||||||
#include "ffmpeg.h"
|
#include "ffmpeg.h"
|
||||||
|
|
||||||
#include <Limelight.h>
|
|
||||||
|
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
#include <SDL_thread.h>
|
#include <SDL_thread.h>
|
||||||
|
|
||||||
|
|||||||
@@ -22,8 +22,6 @@
|
|||||||
#include "egl.h"
|
#include "egl.h"
|
||||||
#include "ffmpeg.h"
|
#include "ffmpeg.h"
|
||||||
|
|
||||||
#include <Limelight.h>
|
|
||||||
|
|
||||||
#include <X11/Xatom.h>
|
#include <X11/Xatom.h>
|
||||||
#include <X11/Xutil.h>
|
#include <X11/Xutil.h>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user