Csound API  6.07
csRtAudioParams Struct Reference

Real-time audio parameters structure. More...

#include <csound.h>

Data Fields

char * devName
 device name (NULL/empty: default) More...
int devNum
 device number (0-1023), 1024: default More...
unsigned int bufSamp_SW
 buffer fragment size (-b) in sample frames More...
int bufSamp_HW
 total buffer size (-B) in sample frames More...
int nChannels
 number of channels More...
int sampleFormat
 sample format (AE_SHORT etc.) More...
float sampleRate
 sample rate in Hz More...

Detailed Description

Real-time audio parameters structure.

Field Documentation

int csRtAudioParams::bufSamp_HW

total buffer size (-B) in sample frames

unsigned int csRtAudioParams::bufSamp_SW

buffer fragment size (-b) in sample frames

char* csRtAudioParams::devName

device name (NULL/empty: default)

int csRtAudioParams::devNum

device number (0-1023), 1024: default

int csRtAudioParams::nChannels

number of channels

int csRtAudioParams::sampleFormat

sample format (AE_SHORT etc.)

float csRtAudioParams::sampleRate

sample rate in Hz