OpenGothic
Open source reimplementation of Gothic I and II
Loading...
Searching...
No Matches
Dx8::Mixer Class Referencefinal

#include <mixer.h>

Public Member Functions

 Mixer ()
 
 ~Mixer ()
 
void mix (int16_t *out, size_t samples)
 
void setVolume (float v)
 
void setMusic (const Music &m, DMUS_EMBELLISHT_TYPES embellishment=DMUS_EMBELLISHT_NORMAL)
 
void setMusicVolume (float v)
 
int64_t currentPlayTime () const
 

Detailed Description

Definition at line 17 of file mixer.h.

Constructor & Destructor Documentation

◆ Mixer()

Mixer::Mixer ( )

Definition at line 20 of file mixer.cpp.

◆ ~Mixer()

Mixer::~Mixer ( )

Definition at line 28 of file mixer.cpp.

Member Function Documentation

◆ currentPlayTime()

int64_t Mixer::currentPlayTime ( ) const

Definition at line 46 of file mixer.cpp.

◆ mix()

void Mixer::mix ( int16_t *  out,
size_t  samples 
)

Definition at line 253 of file mixer.cpp.

◆ setMusic()

void Mixer::setMusic ( const Music m,
DMUS_EMBELLISHT_TYPES  embellishment = DMUS_EMBELLISHT_NORMAL 
)

Definition at line 33 of file mixer.cpp.

◆ setMusicVolume()

void Mixer::setMusicVolume ( float  v)

Definition at line 41 of file mixer.cpp.

◆ setVolume()

void Mixer::setVolume ( float  v)

Definition at line 307 of file mixer.cpp.


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