~ubuntu-branches/ubuntu/wily/bluez/wily

« back to all changes in this revision

Viewing changes to audio/manager.h

ImportĀ upstreamĀ versionĀ 4.81

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 *
3
3
 *  BlueZ - Bluetooth protocol stack for Linux
4
4
 *
5
 
 *  Copyright (C) 2006-2007  Nokia Corporation
6
 
 *  Copyright (C) 2004-2009  Marcel Holtmann <marcel@holtmann.org>
 
5
 *  Copyright (C) 2006-2010  Nokia Corporation
 
6
 *  Copyright (C) 2004-2010  Marcel Holtmann <marcel@holtmann.org>
7
7
 *
8
8
 *
9
9
 *  This program is free software; you can redistribute it and/or modify
29
29
        gboolean sink;
30
30
        gboolean source;
31
31
        gboolean control;
 
32
        gboolean socket;
 
33
        gboolean media;
32
34
};
33
35
 
34
 
int audio_manager_init(DBusConnection *conn, GKeyFile *config);
 
36
int audio_manager_init(DBusConnection *conn, GKeyFile *config,
 
37
                                                        gboolean *enable_sco);
35
38
void audio_manager_exit(void);
36
39
 
37
40
gboolean server_is_enabled(bdaddr_t *src, uint16_t svc);
43
46
                                        gboolean connected);
44
47
 
45
48
struct audio_device *manager_get_device(const bdaddr_t *src,
46
 
                                        const bdaddr_t *dst);
47
 
 
48
 
gboolean manager_allow_headset_connection(bdaddr_t *src);
 
49
                                        const bdaddr_t *dst,
 
50
                                        gboolean create);
 
51
 
 
52
gboolean manager_allow_headset_connection(struct audio_device *device);
 
53
 
 
54
/* TRUE to enable fast connectable and FALSE to disable fast connectable for all
 
55
 * audio adapters. */
 
56
void manager_set_fast_connectable(gboolean enable);