Mixxx

SoundDevicePortAudio Class Reference

#include <sounddeviceportaudio.h>

Inheritance diagram for SoundDevicePortAudio:
Collaboration diagram for SoundDevicePortAudio:

List of all members.

Public Member Functions

 SoundDevicePortAudio (ConfigObject< ConfigValue > *config, SoundManager *sm, const PaDeviceInfo *deviceInfo, unsigned int devIndex)
 ~SoundDevicePortAudio ()
int open ()
int close ()
QString getError () const
int callbackProcess (unsigned long framesPerBuffer, float *output, short *in)

Detailed Description

Definition at line 37 of file sounddeviceportaudio.h.


Constructor & Destructor Documentation

SoundDevicePortAudio::SoundDevicePortAudio ( ConfigObject< ConfigValue > *  config,
SoundManager sm,
const PaDeviceInfo *  deviceInfo,
unsigned int  devIndex 
)

Definition at line 29 of file sounddeviceportaudio.cpp.

SoundDevicePortAudio::~SoundDevicePortAudio ( )

Definition at line 49 of file sounddeviceportaudio.cpp.


Member Function Documentation

int SoundDevicePortAudio::callbackProcess ( unsigned long  framesPerBuffer,
float *  output,
short *  in 
)

-------- ------------------------------------------------------ Purpose: This callback function gets called everytime the sound device runs out of samples (ie. when it needs more sound to play) -------- ------------------------------------------------------

Definition at line 296 of file sounddeviceportaudio.cpp.

Here is the call graph for this function:

int SoundDevicePortAudio::close ( ) [virtual]

Implements SoundDevice.

Definition at line 239 of file sounddeviceportaudio.cpp.

Here is the call graph for this function:

QString SoundDevicePortAudio::getError ( ) const [virtual]

Implements SoundDevice.

Definition at line 287 of file sounddeviceportaudio.cpp.

int SoundDevicePortAudio::open ( ) [virtual]

Implements SoundDevice.

Definition at line 54 of file sounddeviceportaudio.cpp.

Here is the call graph for this function:


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines