~ubuntu-branches/ubuntu/utopic/rhythmbox/utopic-proposed

« back to all changes in this revision

Viewing changes to metadata/monkey-media/monkey-media.h

Tags: upstream-0.9.2
ImportĀ upstreamĀ versionĀ 0.9.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*  monkey-sound
2
 
 *
3
 
 *  arch-tag: Header for main MonkeyMedia interface
4
 
 *
5
 
 *  Copyright (C) 2002 Jorn Baayen <jorn@nl.linux.org>
6
 
 *                     Marco Pesenti Gritti <marco@it.gnome.org>
7
 
 *                     Bastien Nocera <hadess@hadess.net>
8
 
 *                     Seth Nickell <snickell@stanford.edu>
9
 
 *
10
 
 *  This program is free software; you can redistribute it and/or modify
11
 
 *  it under the terms of the GNU General Public License as published by
12
 
 *  the Free Software Foundation; either version 2 of the License, or
13
 
 *  (at your option) any later version.
14
 
 *
15
 
 *  This program is distributed in the hope that it will be useful,
16
 
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
 
 *  GNU General Public License for more details.
19
 
 *
20
 
 *  You should have received a copy of the GNU General Public License
21
 
 *  along with this program; if not, write to the Free Software
22
 
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23
 
 *
24
 
 */
25
 
 
26
 
#ifndef __MONKEY_MEDIA_H
27
 
#define __MONKEY_MEDIA_H
28
 
 
29
 
#include <glib.h>
30
 
#include <popt.h>
31
 
 
32
 
G_BEGIN_DECLS
33
 
 
34
 
void                            monkey_media_init                               (int *argc, char ***argv);
35
 
 
36
 
void                            monkey_media_shutdown                           (void);
37
 
 
38
 
GList *                         monkey_media_get_supported_filename_extensions  (void);
39
 
 
40
 
/* these wrap the GConf key, but please use these since that will allow us to change
41
 
 * the key and/or configuration backend if it were necessary */
42
 
const char *                    monkey_media_get_audio_driver                   (void);
43
 
void                            monkey_media_set_audio_driver                   (const char *audio_driver);
44
 
 
45
 
const char*                     monkey_media_get_cd_drive                       (void);
46
 
void                            monkey_media_set_cd_drive                       (const char *cd_drive);
47
 
 
48
 
typedef enum
49
 
{
50
 
        MONKEY_MEDIA_CD_PLAYBACK_NO_ERROR_CORRECTION     = 0,
51
 
        MONKEY_MEDIA_CD_PLAYBACK_MEDIUM_ERROR_CORRECTION = 4,
52
 
        MONKEY_MEDIA_CD_PLAYBACK_FULL_ERROR_CORRECTION   = 255
53
 
} MonkeyMediaCDPlaybackMode;
54
 
 
55
 
MonkeyMediaCDPlaybackMode       monkey_media_get_cd_playback_mode              (void);
56
 
void                            monkey_media_set_cd_playback_mode              (MonkeyMediaCDPlaybackMode playback_mode);
57
 
 
58
 
G_END_DECLS
59
 
 
60
 
#include "monkey-media-stream-info.h"
61
 
 
62
 
#endif /* __MONKEY_MEDIA_H */