22#ifndef H2_AUDIO_OUTPUT_H
23#define H2_AUDIO_OUTPUT_H
26#include <core/config.h>
45 virtual int init(
unsigned nBufferSize ) = 0;
66 static QStringList
getDevices() {
return QStringList(); }
Base abstract class for audio output classes.
virtual int getLatency()
Approximate audio latency (in frames) A reasonable approximation is the buffer time on most audio sys...
static QStringList getDevices()
virtual unsigned getSampleRate()=0
virtual int init(unsigned nBufferSize)=0
virtual int getXRuns() const
Get the number of XRuns that occurred since the audio driver has started.
virtual void disconnect()=0
virtual float * getOut_L()=0
virtual float * getOut_R()=0
virtual unsigned getBufferSize()=0
int(* audioProcessCallback)(uint32_t, void *)