Mercurial > audlegacy
view src/audacious/auddrct.h @ 2739:953001c668ae trunk
[svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
author | giacomo |
---|---|
date | Fri, 11 May 2007 16:27:54 -0700 |
parents | |
children | 1333d28e2c50 |
line wrap: on
line source
/* * Audacious: A cross-platform multimedia player * Copyright (c) 2007 Giacomo Lozito * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; under version 2 of the License. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. */ /* audacious_drct_* provides a handy interface for player plugins, originally intended for migration from xmms_remote_* calls */ #include <glib.h> /* playback */ void audacious_drct_play ( void ); void audacious_drct_pause ( void ); void audacious_drct_stop ( void ); gboolean audacious_drct_get_playing ( void ); gboolean audacious_drct_get_paused ( void ); gboolean audacious_drct_get_stopped ( void ); gint audacious_drct_get_time ( void ); void audacious_drct_seek ( guint pos ); void audacious_drct_get_volume( gint *vl, gint *vr ); void audacious_drct_set_volume( gint vl, gint vr );