XMMS2
xmms_output.h
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 
18 
19 
20 #ifndef _XMMS_OUTPUT_INT_H_
21 #define _XMMS_OUTPUT_INT_H_
22 
23 #include "xmms/xmms_outputplugin.h"
24 #include "xmmspriv/xmms_playlist.h"
25 #include "xmmspriv/xmms_plugin.h"
26 
27 /*
28  * Private function prototypes -- do NOT use in plugins.
29  */
30 
31 
33 
34 void xmms_output_flush (xmms_output_t *output);
35 
36 /* returns the current latency: time left in ms until the data currently read
37  * from the latest xform in the chain will actually be played
38  */
39 guint32 xmms_output_latency (xmms_output_t *output);
40 
41 gboolean xmms_output_plugin_switch (xmms_output_t *output, xmms_output_plugin_t *new_plugin);
42 
43 #endif
guint32 xmms_output_latency(xmms_output_t *output)
Definition: output.c:789
void xmms_output_flush(xmms_output_t *output)
Flush the buffers in soundcard.
Definition: output.c:978
xmms_output_t * xmms_output_new(xmms_output_plugin_t *plugin, xmms_playlist_t *playlist)
Allocate a new xmms_output_t.
Definition: output.c:928
gboolean xmms_output_plugin_switch(xmms_output_t *output, xmms_output_plugin_t *new_plugin)
Switch to another output plugin.
Definition: output.c:891
struct xmms_playlist_St xmms_playlist_t
Definition: xmms_playlist.h:41
struct xmms_output_St xmms_output_t
struct xmms_output_plugin_St xmms_output_plugin_t