mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-10 01:36:26 +02:00
23 lines
672 B
C++
23 lines
672 B
C++
//
|
|
// AudioSourceTone.cpp
|
|
// hifi
|
|
//
|
|
// Created by Craig Hansen-Sturm on 8/10/14.
|
|
// Copyright 2014 High Fidelity, Inc.
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
//
|
|
|
|
#include <assert.h>
|
|
#include <math.h>
|
|
#include <SharedUtil.h>
|
|
#include "AudioRingBuffer.h"
|
|
#include "AudioFormat.h"
|
|
#include "AudioBuffer.h"
|
|
#include "AudioPan.h"
|
|
|
|
float32_t AudioPan::ONE_MINUS_EPSILON = 1.0f - EPSILON;
|
|
float32_t AudioPan::ZERO_PLUS_EPSILON = 0.0f + EPSILON;
|
|
float32_t AudioPan::ONE_HALF_MINUS_EPSILON = 0.5f - EPSILON;
|
|
float32_t AudioPan::ONE_HALF_PLUS_EPSILON = 0.5f + EPSILON;
|