mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 12:46:57 +02:00
refactor constructor in AudioInjector
This commit is contained in:
parent
e83710e45e
commit
e4a734fc78
1 changed files with 2 additions and 5 deletions
|
@ -22,12 +22,9 @@ const float BUFFER_SEND_INTERVAL_USECS = (BUFFER_LENGTH_SAMPLES / SAMPLE_RATE) *
|
|||
|
||||
AudioInjector::AudioInjector(const char* filename) :
|
||||
_numTotalBytesAudio(0),
|
||||
_position(),
|
||||
_bearing(0),
|
||||
_attenuationModifier(255)
|
||||
{
|
||||
_position[0] = 0.0f;
|
||||
_position[1] = 0.0f;
|
||||
_position[2] = 0.0f;
|
||||
_attenuationModifier(255) {
|
||||
|
||||
std::fstream sourceFile;
|
||||
|
||||
|
|
Loading…
Reference in a new issue