Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

DeviceOSS.cpp File Reference

#include "generic.h"
#include "DeviceOSS.h"
#include "Application.h"
#include <wx/spinctrl.h>
#include <wx/statline.h>
#include <unistd.h>
#include <fcntl.h>
#include <time.h>
#include <sys/ioctl.h>
#include <sys/soundcard.h>

Classes

class  OSSConfigDlg
 Main configuration dialog. More...


Defines

#define DEF_BUF_COUNT   10
#define DEF_LATENCY_MULT   10
#define DEF_DEVICE_STRING   "/dev/dsp"

Functions

const wxString OSSDeviceName ("*nix OSS device")
 Device name.

void * play_thread (void *data)
 Playback thread code.

void * push_thread (void *data)
 Push thread code.


Define Documentation

#define DEF_BUF_COUNT   10
 

#define DEF_DEVICE_STRING   "/dev/dsp"
 

#define DEF_LATENCY_MULT   10
 


Function Documentation

const wxString OSSDeviceName "*nix OSS device"   ) 
 

Device name.

void* play_thread void *  data  ) 
 

Playback thread code.

This thread plays the head of the cyclic buffer with the wave device.

Parameters:
data Unused.
Returns:
Unused.

void* push_thread void *  data  ) 
 

Push thread code.

This thread uses the supplied callback function to generate wave data and push it to the cyclic buffer.

Parameters:
data Unused.
Returns:
Unused.


Generated on Wed Jul 28 17:17:42 2004 for FinalMix by doxygen 1.3.5