comparison src/Output/arts/arts_helper/arts_helper.h @ 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 /*
2 * aRts ouput plugin for xmms
3 *
4 * Copyright (C) 2000,2003,2004 Haavard Kvaalen <havardk@xmms.org>
5 *
6 * Licenced under GNU GPL version 2.
7 *
8 * Audacious port by Giacomo Lozito from develia.org
9 *
10 */
11
12 struct command
13 {
14 int cmd;
15 int data;
16 int data_length;
17 };
18
19 struct response
20 {
21 int cmd;
22 int status;
23 int data;
24 };
25
26 #define HELPER_VERSION 0x000700
27
28 struct init_data
29 {
30 int version;
31 int resolution, rate, nchannels;
32 int buffer_time;
33 };
34
35 enum {
36 CMD_INIT = 1,
37 CMD_QUIT,
38 CMD_PAUSE,
39 CMD_FLUSH,
40 CMD_SET_VOLUME,
41 CMD_WRITE,
42 CMD_FREE,
43 CMD_GET_OUTPUT_LATENCY,
44 CMD_QUERY_PLAYING,
45 };
46
47 enum {
48 STATUS_OK = 0,
49 STATUS_FAILED,
50 STATUS_UNKNOWN,
51 };
52