Ref T730, namespace for BlackCore::Afv

* added namespace
* removed some *.pri files and added files to blackcore.pro
* added copyright etc.
This commit is contained in:
Klaus Basan
2019-09-19 00:56:54 +02:00
committed by Mat Sutcliffe
parent d064da13b5
commit 384aa3ce19
46 changed files with 2985 additions and 2916 deletions

View File

@@ -1,3 +1,13 @@
/* Copyright (C) 2019
* swift project Community / Contributors
*
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
* directory of this distribution. No part of swift project, including this file, may be copied, modified, propagated,
* or distributed except according to the terms contained in the LICENSE file.
*/
//! \file
#include "pinknoisegenerator.h"
int PinkNoiseGenerator::readSamples(QVector<qint16> &samples, qint64 count)

View File

@@ -1,3 +1,13 @@
/* Copyright (C) 2019
* swift project Community / Contributors
*
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
* directory of this distribution. No part of swift project, including this file, may be copied, modified, propagated,
* or distributed except according to the terms contained in the LICENSE file.
*/
//! \file
#ifndef PINKNOISEGENERATOR_H
#define PINKNOISEGENERATOR_H
@@ -9,11 +19,13 @@
#include <array>
//! Pink noise generator
class BLACKSOUND_EXPORT PinkNoiseGenerator : public ISampleProvider
{
Q_OBJECT
public:
//! Noise generator
PinkNoiseGenerator(QObject *parent = nullptr) : ISampleProvider(parent) {}
virtual int readSamples(QVector<qint16> &samples, qint64 count) override;
@@ -26,4 +38,4 @@ private:
double m_gain = 0.0;
};
#endif // PINKNOISEGENERATOR_H
#endif // guard

View File

@@ -5,11 +5,13 @@
#include "sampleprovider.h"
#include "resourcesound.h"
//! A sample provider
class BLACKSOUND_EXPORT ResourceSoundSampleProvider : public ISampleProvider
{
Q_OBJECT
public:
//! Ctor
ResourceSoundSampleProvider(const ResourceSound &resourceSound, QObject *parent = nullptr);
virtual int readSamples(QVector<qint16> &samples, qint64 count) override;