KCompactDisc

audio.h
1/* This file is part of the KDE project
2 Copyright (C) 2006 Alexander Kern <alex.kern@gmx.de>
3
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public
6 License version 2 as published by the Free Software Foundation.
7
8 This library is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 Library General Public License for more details.
12
13 You should have received a copy of the GNU Library General Public License
14 along with this library; see the file COPYING.LIB. If not, write to
15 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16 Boston, MA 02110-1301, USA.
17*/
18
19#ifndef __AUDIO_H__
20#define __AUDIO_H__
21
22#ifndef NULL
23#define NULL 0
24#endif
25struct wm_cdda_block;
26
27struct audio_oops {
28 int (*wmaudio_open)(void);
29 int (*wmaudio_close)(void);
30 int (*wmaudio_play)(struct wm_cdda_block*);
31 int (*wmaudio_pause)(void);
32 int (*wmaudio_stop)(void);
33 int (*wmaudio_state)(struct wm_cdda_block*);
34 int (*wmaudio_balvol)(int, int *, int *);
35};
36
37#ifdef __cplusplus
38 extern "C" {
39#endif
40
41struct audio_oops *setup_soundsystem(const char *, const char *, const char *);
42
43#ifdef __cplusplus
44 }
45#endif
46
47#endif /* __AUDIO_H__ */
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:08:26 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.