XMMS2
src
includepriv
xmmspriv
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
32
xmms_output_t
*
xmms_output_new
(
xmms_output_plugin_t
*plugin,
xmms_playlist_t
*playlist);
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
xmms_outputplugin.h
xmms_output_flush
void xmms_output_flush(xmms_output_t *output)
Flush the buffers in soundcard.
Definition:
output.c:978
xmms_plugin.h
xmms_output_latency
guint32 xmms_output_latency(xmms_output_t *output)
Definition:
output.c:789
xmms_output_new
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
xmms_output_t
struct xmms_output_St xmms_output_t
Definition:
xmms_outputplugin.h:43
xmms_playlist_t
struct xmms_playlist_St xmms_playlist_t
Definition:
xmms_playlist.h:41
xmms_playlist.h
xmms_output_plugin_t
struct xmms_output_plugin_St xmms_output_plugin_t
Definition:
xmms_outputplugin.h:51
xmms_output_plugin_switch
gboolean xmms_output_plugin_switch(xmms_output_t *output, xmms_output_plugin_t *new_plugin)
Switch to another output plugin.
Definition:
output.c:891
Generated by
1.8.20