source: trunk/third/libgnome/libgnome/gnome-sound.h @ 18320

Revision 18320, 1.5 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18319, which included commits to RCS files with non-trunk default branches.
Line 
1/*
2 * Copyright (C) 1997-1998 Stuart Parmenter and Elliot Lee
3 * All rights reserved.
4 *
5 * This file is part of the Gnome Library.
6 *
7 * The Gnome Library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public License as
9 * published by the Free Software Foundation; either version 2 of the
10 * License, or (at your option) any later version.
11 *
12 * The Gnome Library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15 * Library General Public License for more details.
16 *
17 * You should have received a copy of the GNU Library General Public
18 * License along with the Gnome Library; see the file COPYING.LIB.  If not,
19 * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20 * Boston, MA 02111-1307, USA.
21 */
22/*
23  @NOTATION@
24 */
25
26#ifndef __GNOME_SOUND_H__
27#define __GNOME_SOUND_H__ 1
28
29#include <glib.h>
30
31G_BEGIN_DECLS
32
33/* Use this with the Esound functions */
34int gnome_sound_connection_get (void);
35
36/* Initialize esd connection */
37void gnome_sound_init(const char *hostname);
38
39/* Closes esd connection */
40void gnome_sound_shutdown(void);
41
42/* Returns the Esound sample ID for the sample */
43int gnome_sound_sample_load(const char *sample_name, const char *filename);
44
45/* Loads sample, plays sample, frees sample */
46void gnome_sound_play (const char * filename);
47
48G_END_DECLS
49
50#endif /* __GNOME_SOUND_H__ */
Note: See TracBrowser for help on using the repository browser.