chiark / gitweb /
Merge disorder-playrtp docs fix
[disorder] / lib / uaudio-rtp.c
CommitLineData
7a2c7068
RK
1/*
2 * This file is part of DisOrder.
3 * Copyright (C) 2009 Richard Kettlewell
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18/** @file lib/uaudio-oss.c
19 * @brief Support for RTP network play backend */
20#include "common.h"
21
22#include <pthread.h>
23
24#include "uaudio.h"
25#include "mem.h"
26#include "log.h"
27#include "syscalls.h"
28
29static const char *const rtp_options[] = {
30 NULL
31};
32
33static void rtp_start(uaudio_callback *callback,
34 void *userdata) {
35 (void)callback;
36 (void)userdata;
37 /* TODO */
38}
39
40static void rtp_stop(void) {
41 /* TODO */
42}
43
44static void rtp_activate(void) {
45 /* TODO */
46}
47
48static void rtp_deactivate(void) {
49 /* TODO */
50}
51
52const struct uaudio uaudio_rtp = {
53 .name = "rtp",
54 .options = rtp_options,
55 .start = rtp_start,
56 .stop = rtp_stop,
57 .activate = rtp_activate,
58 .deactivate = rtp_deactivate
59};
60
61/*
62Local Variables:
63c-basic-offset:2
64comment-column:40
65fill-column:79
66indent-tabs-mode:nil
67End:
68*/