19 lines
618 B
C++
19 lines
618 B
C++
#pragma once
|
|
|
|
#include <memory>
|
|
#include <modules/audio_processing/include/audio_processing.h>
|
|
|
|
namespace tc::audio {
|
|
class AudioProcessor : public std::enable_shared_from_this<AudioProcessor> {
|
|
public:
|
|
|
|
/**
|
|
* Accepts deinterleaved float audio with the range [-1, 1]. Each element
|
|
* of |data| points to a channel buffer, arranged according to
|
|
* |reverse_config|.
|
|
*/
|
|
void analyze_reverse_stream(const float* const* data,
|
|
const webrtc::StreamConfig& reverse_config);
|
|
private:
|
|
};
|
|
} |