mirror of
https://github.com/overte-org/overte.git
synced 2025-04-12 01:43:03 +02:00
30 lines
590 B
C++
30 lines
590 B
C++
//
|
|
// AudioData.h
|
|
// interface
|
|
//
|
|
// Created by Stephen Birarda on 1/29/13.
|
|
// Copyright (c) 2013 HighFidelity, Inc. All rights reserved.
|
|
//
|
|
|
|
#ifndef __interface__AudioData__
|
|
#define __interface__AudioData__
|
|
|
|
#include <iostream>
|
|
#include "AudioSource.h"
|
|
#include "head.h"
|
|
|
|
class AudioData {
|
|
public:
|
|
Head *linkedHead;
|
|
AudioSource **sources;
|
|
|
|
int16_t *samplesToQueue;
|
|
|
|
AudioData(int numberOfSources, int bufferLength);
|
|
~AudioData();
|
|
|
|
private:
|
|
int _numberOfSources;
|
|
};
|
|
|
|
#endif /* defined(__interface__AudioData__) */
|