20 #ifndef __JackOSSAdapter__    21 #define __JackOSSAdapter__    26 #include "JackAudioAdapterInterface.h"    27 #include "JackPlatformPlug.h"    28 #include "JackError.h"    35 typedef jack_default_audio_sample_t jack_sample_t;
    37 #define OSS_DRIVER_DEF_DEV      "/dev/dsp"    38 #define OSS_DRIVER_DEF_FS       48000    39 #define OSS_DRIVER_DEF_BLKSIZE  1024    40 #define OSS_DRIVER_DEF_NPERIODS 2    41 #define OSS_DRIVER_DEF_BITS     16    42 #define OSS_DRIVER_DEF_INS      2    43 #define OSS_DRIVER_DEF_OUTS     2    52     enum { kRead = 1, kWrite = 2, kReadWrite = 3 };
    58         char fCaptureDriverName[JACK_CLIENT_NAME_SIZE+1];
    59         char fPlaybackDriverName[JACK_CLIENT_NAME_SIZE+1];
    67         unsigned int fSampleSize;
    72         unsigned int fInputBufferSize;
    73         unsigned int fOutputBufferSize;
    78         float** fInputSampleBuffer;
    79         float** fOutputSampleBuffer;
    86         void SetSampleFormat();
    87         void DisplayDeviceInfo();
   101         int SetBufferSize(jack_nframes_t buffer_size);
   113 #include "JackCompilerDeps.h"   114 #include "driver_interface.h" 
The base class for runnable objects, that have an  Init  and  Execute  method to be called in a threa...
Base class for audio adapters.
Darwin threads. Real-time threads are actually "time constraint" threads.