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

RageSoundDriver_OSS.cpp File Reference

#include "global.h"
#include "RageSoundDriver_OSS.h"
#include "RageLog.h"
#include "RageSound.h"
#include "RageSoundManager.h"
#include "RageUtil.h"
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <string.h>
#include <sys/ioctl.h>
#include <sys/soundcard.h>
#include <sys/select.h>

Defines

#define ALSA_SNDRV_OSS_VERSION   ((3<<16)|(8<<8)|(1<<4)|(0))

Variables

const int channels = 2
const int bytes_per_frame = channels*2
const int chunk_order = 12
const int num_chunks = 4
const int buffersize = num_chunks * (1 << (chunk_order-1))
const int buffersize_frames = buffersize/bytes_per_frame

Define Documentation

#define ALSA_SNDRV_OSS_VERSION   ((3<<16)|(8<<8)|(1<<4)|(0))
 


Variable Documentation

const int buffersize = num_chunks * (1 << (chunk_order-1))
 

const int buffersize_frames = buffersize/bytes_per_frame
 

const int bytes_per_frame = channels*2
 

const int channels = 2
 

const int chunk_order = 12
 

const int num_chunks = 4
 


Generated on Thu Jan 27 20:57:55 2005 for StepMania by doxygen 1.3.7