Mercurial > audlegacy-plugins
comparison src/Output/CoreAudio/coreaudio.c @ 0:13389e613d67 trunk
[svn] - initial import of audacious-plugins tree (lots to do)
| author | nenolod |
|---|---|
| date | Mon, 18 Sep 2006 01:11:49 -0700 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:13389e613d67 |
|---|---|
| 1 /* XMMS - Cross-platform multimedia player | |
| 2 * Copyright (C) 1998-2000 Peter Alm, Mikael Alm, Olle Hallnas, Thomas Nilsson and 4Front Technologies | |
| 3 * | |
| 4 * This program is free software; you can redistribute it and/or modify | |
| 5 * it under the terms of the GNU General Public License as published by | |
| 6 * the Free Software Foundation; either version 2 of the License, or | |
| 7 * (at your option) any later version. | |
| 8 * | |
| 9 * This program is distributed in the hope that it will be useful, | |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 * GNU General Public License for more details. | |
| 13 * | |
| 14 * You should have received a copy of the GNU General Public License | |
| 15 * along with this program; if not, write to the Free Software | |
| 16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
| 17 */ | |
| 18 #include <glib.h> | |
| 19 #include <glib/gi18n.h> | |
| 20 | |
| 21 #include "coreaudio.h" | |
| 22 | |
| 23 #include "audacious/plugin.h" | |
| 24 | |
| 25 OutputPlugin osx_op = | |
| 26 { | |
| 27 NULL, | |
| 28 NULL, | |
| 29 NULL, /* Description */ | |
| 30 osx_init, | |
| 31 NULL, | |
| 32 osx_about, | |
| 33 osx_configure, | |
| 34 osx_get_volume, | |
| 35 osx_set_volume, | |
| 36 osx_open, | |
| 37 osx_write, | |
| 38 osx_close, | |
| 39 osx_flush, | |
| 40 osx_pause, | |
| 41 osx_free, | |
| 42 osx_playing, | |
| 43 osx_get_output_time, | |
| 44 osx_get_written_time, | |
| 45 }; | |
| 46 | |
| 47 OutputPlugin *get_oplugin_info(void) | |
| 48 { | |
| 49 osx_op.description = g_strdup(_("CoreAudio Output Plugin")); | |
| 50 return &osx_op; | |
| 51 } |
