Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/openal-0.0.8/src/alc/alc_device.h @ 17

Last change on this file since 17 was 17, checked in by landauf, 16 years ago

added openal

File size: 888 bytes
Line 
1/* -*- mode: C; tab-width:8; c-basic-offset:8 -*-
2 * vi:set ts=8:
3 *
4 * alc_device.h
5 *
6 * Prototypes, defines etc for device aquisition and management.
7 */
8#ifndef ALC_DEVICE_H_
9#define ALC_DEVICE_H_
10
11#include "al_siteconfig.h"
12#include <AL/al.h>
13
14#include "al_types.h"
15/*
16 * Pauses a device.
17 */
18void _alcDevicePause( AL_device *dev );
19
20/*
21 * Resumes a device.
22 */
23void _alcDeviceResume( AL_device *dev );
24
25/*
26 * Sets the attributes for the device from the settings in the device. The
27 * library is free to change the parameters associated with the device, but
28 * until _alcDeviceSet is called, none of the changes are important.
29 *
30 * Sets ALC_INVALID_DEVICE if the setting operation failed.  After a call to
31 * this function, the caller should check the members in dev is see what the
32 * actual values set where.
33 */
34void _alcDeviceSet( AL_device *dev );
35
36#endif /* _ALC_DEVICE_H_ */
Note: See TracBrowser for help on using the repository browser.