1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

Update: Added stubs format_text.[ch] for text streaming

See: #2084
This commit is contained in:
Philipp Schafft 2021-06-28 18:03:51 +00:00
parent 678fce2693
commit d6be48e207
3 changed files with 38 additions and 0 deletions

View File

@ -51,6 +51,7 @@ noinst_HEADERS = \
format_ogg.h \
format_mp3.h \
format_ebml.h \
format_text.h \
format_vorbis.h \
format_theora.h \
format_flac.h \
@ -100,6 +101,7 @@ icecast_SOURCES = \
format_midi.c \
format_flac.c \
format_ebml.c \
format_text.c \
format_kate.c \
format_skeleton.c \
format_opus.c \

20
src/format_text.c Normal file
View File

@ -0,0 +1,20 @@
/* Icecast
*
* This program is distributed under the GNU General Public License,
* version 2. A copy of this license is included with this source.
* At your option, this specific source file can also be distributed
* under the GNU GPL version 3.
*
* Copyright 2021, Philipp "ph3-der-loewe" Schafft <lion@lion.leolix.org>,
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "format_text.h"
#define CATMODULE "format-text"
#include "logging.h"

16
src/format_text.h Normal file
View File

@ -0,0 +1,16 @@
/* Icecast
*
* This program is distributed under the GNU General Public License, version 2.
* A copy of this license is included with this source.
*
* Copyright 2021, Philipp "ph3-der-loewe" Schafft <lion@lion.leolix.org>,
*/
#ifndef __FORMAT_TEXT_H__
#define __FORMAT_TEXT_H__
#include "format.h"
int format_text_get_plugin(source_t *source);
#endif /* __FORMAT_TEXT_H__ */