File: sun_audio.h

package info (click to toggle)
mixviews 1.20-10.1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 2,928 kB
  • ctags: 5,960
  • sloc: cpp: 32,879; ansic: 2,110; makefile: 445; sh: 17
file content (33 lines) | stat: -rw-r--r-- 758 bytes parent folder | download | duplicates (3)
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
// sun_audio.h

// Since these are not declared in any Sun header files.

#ifndef MXV_SUNAUDIO_H
#define MXV_SUNAUDIO_H

#ifdef OLD_SUN_OS
#include <sun/audioio.h>
#else
#include <sys/audioio.h>
#endif
extern "C" {
#include <multimedia/audio_device.h>
#include <multimedia/audio_hdr.h>
}

#ifdef OLD_SUN_OS
extern "C" {
extern int audio__setval(int, unsigned int*, int);
extern int audio__setpause(int, int);
extern int audio__flush(int, int);
extern int audio__setgain(int, double*, int);
extern int audio__setplayhdr(int, Audio_hdr *, int);
extern int audio_cmp_hdr(Audio_hdr *, Audio_hdr *);
extern int audio_enc_to_str(Audio_hdr *, char *);
extern int audio_play_eof(int);
extern int audio_drain(int, int);
extern void usleep(unsigned);
}

#endif
#endif