XMMS2
dummy.c
Go to the documentation of this file.
1 /* XMMS2 - X Music Multiplexer System
2  * Copyright (C) 2003-2011 XMMS2 Team
3  *
4  * PLUGINS ARE NOT CONSIDERED TO BE DERIVED WORK !!!
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  */
16 
17 #include "common.h"
18 
19 int32_t
20 init_shm (xmms_visualization_t *vis, int32_t id, int32_t shmid, xmms_error_t *err)
21 {
22  xmms_error_set (err, XMMS_ERROR_NO_SAUSAGE,
23  "Shared Memory not supported by this platform!");
24  return -1;
25 }
26 
28 
29 gboolean
31 { return FALSE; }
32 
33 void write_finish_shm (int32_t id, xmmsc_vis_unixshm_t *t, xmmsc_vischunk_t *dest) {}
34 
35 gboolean
36 write_shm (xmmsc_vis_unixshm_t *t, xmms_vis_client_t *c, int32_t id, struct timeval *time, int channels, int size, short *buf)
37 {
38  return FALSE;
39 }
void cleanup_shm(xmmsc_vis_unixshm_t *t)
Definition: dummy.c:27
The structures for a vis client.
Definition: common.h:30
gboolean write_start_shm(int32_t id, xmmsc_vis_unixshm_t *t, xmmsc_vischunk_t **dest)
Definition: dummy.c:30
int32_t init_shm(xmms_visualization_t *vis, int32_t id, int32_t shmid, xmms_error_t *err)
Definition: dummy.c:20
data describing a unixshm transport
Package format for vis data, encapsulated by unixshm or udp transport.
G_BEGIN_DECLS struct xmms_error_St xmms_error_t
void write_finish_shm(int32_t id, xmmsc_vis_unixshm_t *t, xmmsc_vischunk_t *dest)
Definition: dummy.c:33
gboolean write_shm(xmmsc_vis_unixshm_t *t, xmms_vis_client_t *c, int32_t id, struct timeval *time, int channels, int size, short *buf)
Definition: dummy.c:36
The structures for the vis module.
Definition: common.h:78