Avionics
Dropship Simulator
Devices::Bass Class Reference

#include <BASS.h>

Collaboration diagram for Devices::Bass:
[legend]

Public Member Functions

void Initialize (Logger *prmLogger, BassConfig *prmConfig, Bus *prmBus)
 
void FrameMove ()
 
void Destroy () const
 
void Play (std::string trigger, float freq=-1.0f, float vol=1.0f)
 
bool IsPlaying () const
 
void StopAll () const
 
HSTREAM PlayStream (std::string filename) const
 
bool StreamIsPlaying (HSTREAM streamHandle) const
 

Private Member Functions

void EnumerateDevices () const
 

Private Attributes

Loggerlogger = nullptr
 
BassConfigconfig = nullptr
 
Busbus = nullptr
 
HCHANNEL lastPlaying = NULL
 

Detailed Description

Definition at line 37 of file BASS.h.

Member Function Documentation

◆ Destroy()

void Devices::Bass::Destroy ( ) const

Definition at line 110 of file BASS.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ EnumerateDevices()

void Devices::Bass::EnumerateDevices ( ) const
private

Definition at line 5 of file BASS.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FrameMove()

void Devices::Bass::FrameMove ( )

Definition at line 69 of file BASS.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Initialize()

void Devices::Bass::Initialize ( Logger prmLogger,
BassConfig prmConfig,
Bus prmBus 
)

Definition at line 19 of file BASS.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsPlaying()

bool Devices::Bass::IsPlaying ( ) const

Definition at line 213 of file BASS.cpp.

Here is the caller graph for this function:

◆ Play()

void Devices::Bass::Play ( std::string  trigger,
float  freq = -1.0f,
float  vol = 1.0f 
)

Definition at line 126 of file BASS.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PlayStream()

HSTREAM Devices::Bass::PlayStream ( std::string  filename) const

Definition at line 226 of file BASS.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ StopAll()

void Devices::Bass::StopAll ( ) const

Definition at line 218 of file BASS.cpp.

Here is the caller graph for this function:

◆ StreamIsPlaying()

bool Devices::Bass::StreamIsPlaying ( HSTREAM  streamHandle) const

Definition at line 247 of file BASS.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ bus

Bus* Devices::Bass::bus = nullptr
private

Definition at line 42 of file BASS.h.

◆ config

BassConfig* Devices::Bass::config = nullptr
private

Definition at line 41 of file BASS.h.

◆ lastPlaying

HCHANNEL Devices::Bass::lastPlaying = NULL
private

Definition at line 44 of file BASS.h.

◆ logger

Logger* Devices::Bass::logger = nullptr
private

Definition at line 40 of file BASS.h.


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