mirror of
https://github.com/overte-org/overte.git
synced 2025-07-13 14:58:51 +02:00
28 lines
632 B
C++
28 lines
632 B
C++
//
|
|
// AudioRingBufferTests.h
|
|
// tests/audio/src
|
|
//
|
|
// Created by Yixin Wang on 6/24/2014
|
|
// 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
|
|
//
|
|
|
|
#ifndef hifi_AudioRingBufferTests_h
|
|
#define hifi_AudioRingBufferTests_h
|
|
|
|
#include <QtTest/QtTest>
|
|
|
|
#include "AudioRingBuffer.h"
|
|
|
|
|
|
class AudioRingBufferTests : public QObject {
|
|
Q_OBJECT
|
|
private slots:
|
|
void runAllTests();
|
|
private:
|
|
void assertBufferSize(const AudioRingBuffer& buffer, int samples);
|
|
};
|
|
|
|
#endif // hifi_AudioRingBufferTests_h
|