home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
inprise
/
JRUNTIME.Z
/
sun_audio_AudioDevice.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-05-08
|
1KB
|
46 lines
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <native.h>
/* Header for class sun_audio_AudioDevice */
#ifndef _Included_sun_audio_AudioDevice
#define _Included_sun_audio_AudioDevice
struct Hjava_util_Vector;
#pragma pack(4)
typedef struct Classsun_audio_AudioDevice {
struct Hjava_util_Vector *streams;
struct HArrayOfByte *ulaw;
struct HArrayOfInt *linear;
long dev;
#undef sun_audio_AudioDevice_MSCLICK
#define sun_audio_AudioDevice_MSCLICK 50L
#undef sun_audio_AudioDevice_MSMARGIN
#define sun_audio_AudioDevice_MSMARGIN 16L
#undef sun_audio_AudioDevice_BYTES_PER_SAMPLE
#define sun_audio_AudioDevice_BYTES_PER_SAMPLE 1L
#undef sun_audio_AudioDevice_SAMPLE_RATE
#define sun_audio_AudioDevice_SAMPLE_RATE 8000L
#undef sun_audio_AudioDevice_ULAW_BIAS
#define sun_audio_AudioDevice_ULAW_BIAS 132L
#undef sun_audio_AudioDevice_ULAW_CLIP
#define sun_audio_AudioDevice_ULAW_CLIP 32635L
/* Inaccessible static: ULAW_TAB */
/* Inaccessible static: ULAW_LUT */
/* Inaccessible static: device */
} Classsun_audio_AudioDevice;
HandleTo(sun_audio_AudioDevice);
#pragma pack()
#ifdef __cplusplus
extern "C" {
#endif
extern long sun_audio_AudioDevice_audioOpen(struct Hsun_audio_AudioDevice *);
extern void sun_audio_AudioDevice_audioClose(struct Hsun_audio_AudioDevice *);
extern void sun_audio_AudioDevice_audioWrite(struct Hsun_audio_AudioDevice *,HArrayOfByte *,long);
#ifdef __cplusplus
}
#endif
#endif