File: sun_audio.h

package info (click to toggle)
mixviews 1.10-3
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 2,440 kB
  • ctags: 6,314
  • sloc: cpp: 31,647; ansic: 2,100; makefile: 1,782; sh: 17
file content (25 lines) | stat: -rw-r--r-- 662 bytes parent folder | download
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
// sun_audio.h

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

#ifndef MXV_SUNAUDIO_H
#define MXV_SUNAUDIO_H

#include <sun/audioio.h>
#include <multimedia/audio_device.h>
#include <multimedia/audio_hdr.h>

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