Csound and CsoundAC API  5.17
Data Fields
csRtAudioParams Struct Reference

Real-time audio parameters structure. More...

#include <csound.h>

Data Fields

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

Detailed Description

Real-time audio parameters structure.

Field Documentation

int csRtAudioParams::bufSamp_HW

total buffer size (-B) in sample frames

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