CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::AudioInternal Class Reference

#include <cxAudioImpl.h>

Inheritance diagram for cx::AudioInternal:

Signals

void playSoundInternalSignal (QString file)
 

Public Member Functions

 AudioInternal (QObject *parent=NULL)
 
void playSound (QString file)
 

Detailed Description

Helper class for playing sounds in the main thread even if calls are made from other threads.

Play requests too close to the last play is ignored. mMinTimeBetweenEachSound limits this.

Definition at line 32 of file cxAudioImpl.h.

Constructor & Destructor Documentation

cx::AudioInternal::AudioInternal ( QObject *  parent = NULL)

Definition at line 25 of file cxAudioImpl.cpp.

Member Function Documentation

void cx::AudioInternal::playSound ( QString  file)

Definition at line 32 of file cxAudioImpl.cpp.

void cx::AudioInternal::playSoundInternalSignal ( QString  file)
signal

The documentation for this class was generated from the following files: