XMMS2

src/xmms/visualization/dummy.c

Go to the documentation of this file.
00001 /*  XMMS2 - X Music Multiplexer System
00002  *  Copyright (C) 2003-2009 XMMS2 Team
00003  *
00004  *  PLUGINS ARE NOT CONSIDERED TO BE DERIVED WORK !!!
00005  *
00006  *  This library is free software; you can redistribute it and/or
00007  *  modify it under the terms of the GNU Lesser General Public
00008  *  License as published by the Free Software Foundation; either
00009  *  version 2.1 of the License, or (at your option) any later version.
00010  *
00011  *  This library is distributed in the hope that it will be useful,
00012  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  *  Lesser General Public License for more details.
00015  */
00016 
00017 #include "common.h"
00018 
00019 int32_t
00020 init_shm (xmms_visualization_t *vis, int32_t id, int32_t shmid, xmms_error_t *err)
00021 {
00022     xmms_error_set (err, XMMS_ERROR_NO_SAUSAGE,
00023                     "Shared Memory not supported by this platform!");
00024     return -1;
00025 }
00026 
00027 void cleanup_shm (xmmsc_vis_unixshm_t *t) {}
00028 
00029 gboolean
00030 write_start_shm (int32_t id, xmmsc_vis_unixshm_t *t, xmmsc_vischunk_t **dest)
00031 { return FALSE; }
00032 
00033 void write_finish_shm (int32_t id, xmmsc_vis_unixshm_t *t, xmmsc_vischunk_t *dest) {}
00034 
00035 gboolean
00036 write_shm (xmmsc_vis_unixshm_t *t, xmms_vis_client_t *c, int32_t id, struct timeval *time, int channels, int size, short *buf)
00037 {
00038     return FALSE;
00039 }