#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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|