blob: 75621765f70b80e0ef666f9a54800bae1c6411c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
/*
* Purpose: Prototypes for various internal routines of OSS.
*
*/
/*
*
* This file is part of Open Sound System.
*
* Copyright (C) 4Front Technologies 1996-2008.
*
* This this source file is released under GPL v2 license (no other versions).
* See the COPYING file included in the main directory of this source
* distribution for the license terms and conditions.
*
*/
/*
* sndstat.c
*/
void store_msg (char *msg);
#ifdef DO_TIMINGS
/* Run time debugging stuff (for testing purposes only) */
void oss_do_timing (char *txt);
void oss_do_timing2 (int timing_mask, char *txt);
void timing_set_device (int dev, dmap_t * dmap);
typedef oss_native_word (*oss_timing_timer_func) (void *);
void timing_install_timer (oss_timing_timer_func, void *);
void oss_timing_enter (int bin);
void oss_timing_leave (int bin);
void timing_open (void);
void timing_close (void);
#endif
#ifdef LICENSED_VERSION
typedef int (*put_status_func_t) (const char *s);
typedef int (*put_status_int_t) (unsigned int val, int radix);
extern void oss_print_license (put_status_func_t put_status,
put_status_int_t put_status_int);
extern int oss_license_handle_time (time_t t);
#endif
extern void install_sndstat (oss_device_t * osdev);
extern void install_dev_mixer (oss_device_t * osdev);
/*
* vmix_core.c
*/
extern void vmix_core_uninit (void);
extern void vmix_core_init (oss_device_t *osdev);
extern int vmix_attach_audiodev(oss_device_t *osdev, int masterdev, int input_master, unsigned int attach_flags);
extern int vmix_detach_audiodev(int masterdev);
extern int vmix_create_client(void *vmix_mixer);
extern void vmix_change_devnames(void *vmix_mixer, const char *name);
extern int vmix_set_master_rate(int masterdev, int rate);
extern int vmix_set_channel_map(int masterdev, void *map);
/*
* oss_audio_core.c
*/
extern void oss_audio_init (oss_device_t *osdev);
extern void oss_audio_uninit (void);
/*
* Internal debugging (oss_mixer_core.c)
*/
extern void oss_timing_printf (char *s, ...);
|