home *** CD-ROM | disk | FTP | other *** search
/ BUG 15 / BUGCD1998_06.ISO / aplic / jbuilder / jruntime.z / sun_audio_AudioDevice.h < prev    next >
C/C++ Source or Header  |  1997-08-25  |  1KB  |  46 lines

  1. /* DO NOT EDIT THIS FILE - it is machine generated */
  2. #include <native.h>
  3. /* Header for class sun_audio_AudioDevice */
  4.  
  5. #ifndef _Included_sun_audio_AudioDevice
  6. #define _Included_sun_audio_AudioDevice
  7. struct Hjava_util_Vector;
  8.  
  9. #pragma pack(4)
  10.  
  11. typedef struct Classsun_audio_AudioDevice {
  12.     struct Hjava_util_Vector *streams;
  13.     struct HArrayOfByte *ulaw;
  14.     struct HArrayOfInt *linear;
  15.     long dev;
  16. #undef sun_audio_AudioDevice_MSCLICK
  17. #define sun_audio_AudioDevice_MSCLICK 50L
  18. #undef sun_audio_AudioDevice_MSMARGIN
  19. #define sun_audio_AudioDevice_MSMARGIN 16L
  20. #undef sun_audio_AudioDevice_BYTES_PER_SAMPLE
  21. #define sun_audio_AudioDevice_BYTES_PER_SAMPLE 1L
  22. #undef sun_audio_AudioDevice_SAMPLE_RATE
  23. #define sun_audio_AudioDevice_SAMPLE_RATE 8000L
  24. #undef sun_audio_AudioDevice_ULAW_BIAS
  25. #define sun_audio_AudioDevice_ULAW_BIAS 132L
  26. #undef sun_audio_AudioDevice_ULAW_CLIP
  27. #define sun_audio_AudioDevice_ULAW_CLIP 32635L
  28. /* Inaccessible static: ULAW_TAB */
  29. /* Inaccessible static: ULAW_LUT */
  30. /* Inaccessible static: device */
  31. } Classsun_audio_AudioDevice;
  32. HandleTo(sun_audio_AudioDevice);
  33.  
  34. #pragma pack()
  35.  
  36. #ifdef __cplusplus
  37. extern "C" {
  38. #endif
  39. extern long sun_audio_AudioDevice_audioOpen(struct Hsun_audio_AudioDevice *);
  40. extern void sun_audio_AudioDevice_audioClose(struct Hsun_audio_AudioDevice *);
  41. extern void sun_audio_AudioDevice_audioWrite(struct Hsun_audio_AudioDevice *,HArrayOfByte *,long);
  42. #ifdef __cplusplus
  43. }
  44. #endif
  45. #endif
  46.