1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

(automated whitespace clean-up)

This commit is contained in:
jules 2012-03-20 16:00:06 +00:00
parent dcb8351844
commit 56bbab1537
231 changed files with 0 additions and 231 deletions

View file

@ -23,7 +23,6 @@
==============================================================================
*/
void AudioDataConverters::convertFloatToInt16LE (const float* source, void* dest, int numSamples, const int destBytesPerSample)
{
const double maxVal = (double) 0x7fff;

View file

@ -23,7 +23,6 @@
==============================================================================
*/
AudioSampleBuffer::AudioSampleBuffer (const int numChannels_,
const int numSamples) noexcept
: numChannels (numChannels_),

View file

@ -23,7 +23,6 @@
==============================================================================
*/
namespace MidiBufferHelpers
{
inline int getEventTime (const void* const d) noexcept

View file

@ -23,7 +23,6 @@
==============================================================================
*/
namespace MidiFileHelpers
{
void writeVariableLengthInt (OutputStream& out, unsigned int v)

View file

@ -23,7 +23,6 @@
==============================================================================
*/
MidiKeyboardState::MidiKeyboardState()
{
zerostruct (noteStates);

View file

@ -23,7 +23,6 @@
==============================================================================
*/
namespace MidiHelpers
{
inline uint8 initialByte (const int type, const int channel) noexcept

View file

@ -23,7 +23,6 @@
==============================================================================
*/
MidiMessageSequence::MidiMessageSequence()
{
}

View file

@ -23,7 +23,6 @@
==============================================================================
*/
BufferingAudioSource::BufferingAudioSource (PositionableAudioSource* source_,
TimeSliceThread& backgroundThread_,
const bool deleteSourceWhenDeleted,

View file

@ -23,7 +23,6 @@
==============================================================================
*/
ChannelRemappingAudioSource::ChannelRemappingAudioSource (AudioSource* const source_,
const bool deleteSourceWhenDeleted)
: source (source_, deleteSourceWhenDeleted),

View file

@ -23,7 +23,6 @@
==============================================================================
*/
IIRFilterAudioSource::IIRFilterAudioSource (AudioSource* const inputSource,
const bool deleteInputWhenDeleted)
: input (inputSource, deleteInputWhenDeleted)

View file

@ -23,7 +23,6 @@
==============================================================================
*/
MixerAudioSource::MixerAudioSource()
: tempBuffer (2, 0),
currentSampleRate (0.0),

View file

@ -23,7 +23,6 @@
==============================================================================
*/
ResamplingAudioSource::ResamplingAudioSource (AudioSource* const inputSource,
const bool deleteInputWhenDeleted,
const int numChannels_)

View file

@ -23,7 +23,6 @@
==============================================================================
*/
ReverbAudioSource::ReverbAudioSource (AudioSource* const inputSource, const bool deleteInputWhenDeleted)
: input (inputSource, deleteInputWhenDeleted),
bypass (false)

View file

@ -23,7 +23,6 @@
==============================================================================
*/
ToneGeneratorAudioSource::ToneGeneratorAudioSource()
: frequency (1000.0),
sampleRate (44100.0),

View file

@ -23,7 +23,6 @@
==============================================================================
*/
SynthesiserSound::SynthesiserSound()
{
}

View file

@ -23,7 +23,6 @@
==============================================================================
*/
AudioDeviceManager::AudioDeviceSetup::AudioDeviceSetup()
: sampleRate (0),
bufferSize (0),

View file

@ -23,7 +23,6 @@
==============================================================================
*/
AudioIODevice::AudioIODevice (const String& deviceName, const String& typeName_)
: name (deviceName),
typeName (typeName_)

View file

@ -23,7 +23,6 @@
==============================================================================
*/
AudioIODeviceType::AudioIODeviceType (const String& name)
: typeName (name)
{

View file

@ -23,7 +23,6 @@
==============================================================================
*/
MidiMessageCollector::MidiMessageCollector()
: lastCallbackTime (0),
sampleRate (44100.0001)

View file

@ -23,7 +23,6 @@
==============================================================================
*/
struct MidiOutput::PendingMessage
{
PendingMessage (const void* const data, const int len, const double timeStamp)

View file

@ -23,7 +23,6 @@
==============================================================================
*/
AudioSourcePlayer::AudioSourcePlayer()
: source (nullptr),
sampleRate (0),

View file

@ -23,7 +23,6 @@
==============================================================================
*/
AudioTransportSource::AudioTransportSource()
: source (nullptr),
resamplerSource (nullptr),

View file

@ -23,7 +23,6 @@
==============================================================================
*/
AudioFormat::AudioFormat (const String& name, const StringArray& extensions)
: formatName (name),
fileExtensions (extensions)

View file

@ -23,6 +23,5 @@
==============================================================================
*/
AudioPluginFormat::AudioPluginFormat() noexcept {}
AudioPluginFormat::~AudioPluginFormat() {}

View file

@ -23,7 +23,6 @@
==============================================================================
*/
AudioPluginFormatManager::AudioPluginFormatManager()
{
}

View file

@ -23,7 +23,6 @@
==============================================================================
*/
AudioProcessor::AudioProcessor()
: playHead (nullptr),
sampleRate (0),

View file

@ -23,7 +23,6 @@
==============================================================================
*/
AudioProcessorEditor::AudioProcessorEditor (AudioProcessor* const owner_)
: owner (owner_)
{

View file

@ -23,7 +23,6 @@
==============================================================================
*/
const int AudioProcessorGraph::midiChannelIndex = 0x1000;
//==============================================================================

View file

@ -23,7 +23,6 @@
==============================================================================
*/
class ProcessorParameterPropertyComp : public PropertyComponent,
public AudioProcessorListener,
public Timer

View file

@ -23,7 +23,6 @@
==============================================================================
*/
PluginDescription::PluginDescription()
: uid (0),
isInstrument (false),

View file

@ -23,7 +23,6 @@
==============================================================================
*/
KnownPluginList::KnownPluginList() {}
KnownPluginList::~KnownPluginList() {}

View file

@ -23,7 +23,6 @@
==============================================================================
*/
PluginDirectoryScanner::PluginDirectoryScanner (KnownPluginList& listToAddTo,
AudioPluginFormat& formatToLookFor,
FileSearchPath directoriesToSearch,

View file

@ -23,7 +23,6 @@
==============================================================================
*/
PluginListComponent::PluginListComponent (KnownPluginList& listToEdit,
const File& deadMansPedalFile_,
PropertiesFile* const propertiesToUse_)

View file

@ -23,7 +23,6 @@
==============================================================================
*/
class SimpleDeviceManagerInputLevelMeter : public Component,
public Timer
{

View file

@ -23,7 +23,6 @@
==============================================================================
*/
struct AudioThumbnail::MinMaxValue
{
MinMaxValue() noexcept

View file

@ -23,7 +23,6 @@
==============================================================================
*/
class AudioThumbnailCache::ThumbnailCacheEntry
{
public:

View file

@ -23,7 +23,6 @@
==============================================================================
*/
class MidiKeyboardUpDownButton : public Button
{
public:

View file

@ -23,7 +23,6 @@
==============================================================================
*/
AudioProcessorPlayer::AudioProcessorPlayer()
: processor (nullptr),
sampleRate (0),

View file

@ -23,7 +23,6 @@
==============================================================================
*/
AbstractFifo::AbstractFifo (const int capacity) noexcept
: bufferSize (capacity)
{

View file

@ -23,7 +23,6 @@
==============================================================================
*/
DynamicObject::DynamicObject()
{
}

View file

@ -23,7 +23,6 @@
==============================================================================
*/
NamedValueSet::NamedValue::NamedValue() noexcept
{
}

View file

@ -23,7 +23,6 @@
==============================================================================
*/
PropertySet::PropertySet (const bool ignoreCaseOfKeyNames)
: properties (ignoreCaseOfKeyNames),
fallbackProperties (nullptr),

View file

@ -23,7 +23,6 @@
==============================================================================
*/
DirectoryIterator::DirectoryIterator (const File& directory,
bool isRecursive_,
const String& wildCard_,

View file

@ -23,7 +23,6 @@
==============================================================================
*/
File::File (const String& fullPathName)
: fullPath (parseAbsolutePath (fullPathName))
{

View file

@ -23,7 +23,6 @@
==============================================================================
*/
int64 juce_fileSetPosition (void* handle, int64 pos);
//==============================================================================

View file

@ -23,7 +23,6 @@
==============================================================================
*/
int64 juce_fileSetPosition (void* handle, int64 pos);
//==============================================================================

View file

@ -23,7 +23,6 @@
==============================================================================
*/
FileSearchPath::FileSearchPath()
{
}

View file

@ -23,7 +23,6 @@
==============================================================================
*/
TemporaryFile::TemporaryFile (const String& suffix, const int optionFlags)
{
createTempFile (File::getSpecialLocation (File::tempDirectory),

View file

@ -23,7 +23,6 @@
==============================================================================
*/
class JSONParser
{
public:

View file

@ -23,7 +23,6 @@
==============================================================================
*/
FileLogger::FileLogger (const File& logFile_,
const String& welcomeMessage,
const int maxInitialFileSizeBytes)

View file

@ -23,7 +23,6 @@
==============================================================================
*/
Logger::Logger()
{
}

View file

@ -23,7 +23,6 @@
==============================================================================
*/
namespace
{
inline size_t bitToIndex (const int bit) noexcept { return (size_t) (bit >> 5); }

View file

@ -23,7 +23,6 @@
==============================================================================
*/
class Expression::Term : public SingleThreadedReferenceCountedObject
{
public:

View file

@ -23,7 +23,6 @@
==============================================================================
*/
Random::Random (const int64 seedValue) noexcept
: seed (seedValue)
{

View file

@ -23,7 +23,6 @@
==============================================================================
*/
MemoryBlock::MemoryBlock() noexcept
: size (0)
{

View file

@ -23,7 +23,6 @@
==============================================================================
*/
Result::Result (const String& message) noexcept
: errorMessage (message)
{

View file

@ -23,7 +23,6 @@
==============================================================================
*/
namespace
{
int64 getRandomSeedFromMACAddresses()

View file

@ -23,7 +23,6 @@
==============================================================================
*/
MACAddress::MACAddress()
: asInt64 (0)
{

View file

@ -23,7 +23,6 @@
==============================================================================
*/
bool NamedPipe::openExisting (const String& pipeName)
{
currentPipeName = pipeName;

View file

@ -23,7 +23,6 @@
==============================================================================
*/
URL::URL()
{
}

View file

@ -23,7 +23,6 @@
==============================================================================
*/
char InputStream::readByte()
{
char temp = 0;

View file

@ -23,7 +23,6 @@
==============================================================================
*/
MemoryInputStream::MemoryInputStream (const void* const sourceData,
const size_t sourceDataSize,
const bool keepInternalCopy)

View file

@ -23,7 +23,6 @@
==============================================================================
*/
MemoryOutputStream::MemoryOutputStream (const size_t initialSize)
: data (internalBlock),
position (0),

View file

@ -23,7 +23,6 @@
==============================================================================
*/
#if JUCE_DEBUG
struct DanglingStreamChecker

View file

@ -23,7 +23,6 @@
==============================================================================
*/
SubregionStream::SubregionStream (InputStream* const sourceStream,
const int64 startPositionInSourceStream_,
const int64 lengthOfSourceStream_,

View file

@ -23,7 +23,6 @@
==============================================================================
*/
const SystemStats::CPUFlags& SystemStats::getCPUFlags()
{
static CPUFlags cpuFlags;

View file

@ -23,7 +23,6 @@
==============================================================================
*/
StringPool& Identifier::getPool()
{
static StringPool pool;

View file

@ -23,7 +23,6 @@
==============================================================================
*/
LocalisedStrings::LocalisedStrings (const String& fileContents)
{
loadFromText (fileContents);

View file

@ -23,7 +23,6 @@
==============================================================================
*/
StringPairArray::StringPairArray (const bool ignoreCase_)
: ignoreCase (ignoreCase_)
{

View file

@ -23,7 +23,6 @@
==============================================================================
*/
StringPool::StringPool() noexcept {}
StringPool::~StringPool() {}

View file

@ -23,7 +23,6 @@
==============================================================================
*/
ChildProcess::ChildProcess() {}
ChildProcess::~ChildProcess() {}

View file

@ -23,7 +23,6 @@
==============================================================================
*/
Thread::Thread (const String& threadName_)
: threadName (threadName_),
threadHandle (nullptr),

View file

@ -23,7 +23,6 @@
==============================================================================
*/
ThreadPoolJob::ThreadPoolJob (const String& name)
: jobName (name),
pool (nullptr),

View file

@ -23,7 +23,6 @@
==============================================================================
*/
TimeSliceThread::TimeSliceThread (const String& threadName)
: Thread (threadName),
clientBeingCalled (nullptr)

View file

@ -23,7 +23,6 @@
==============================================================================
*/
PerformanceCounter::PerformanceCounter (const String& name_,
const int runsPerPrintout,
const File& loggingFile)

View file

@ -23,7 +23,6 @@
==============================================================================
*/
RelativeTime::RelativeTime (const double seconds_) noexcept
: seconds (seconds_)
{

View file

@ -23,7 +23,6 @@
==============================================================================
*/
UnitTest::UnitTest (const String& name_)
: name (name_), runner (nullptr)
{

View file

@ -23,7 +23,6 @@
==============================================================================
*/
XmlDocument::XmlDocument (const String& documentText)
: originalText (documentText),
input (nullptr),

View file

@ -23,7 +23,6 @@
==============================================================================
*/
XmlElement::XmlAttributeNode::XmlAttributeNode (const XmlAttributeNode& other) noexcept
: name (other.name),
value (other.value)

View file

@ -23,7 +23,6 @@
==============================================================================
*/
class GZIPCompressorOutputStream::GZIPCompressorHelper
{
public:

View file

@ -23,7 +23,6 @@
==============================================================================
*/
class ZipFile::ZipEntryHolder
{
public:

View file

@ -23,7 +23,6 @@
==============================================================================
*/
BlowFish::BlowFish (const void* const keyData, const int keyBytes)
{
jassert (keyData != nullptr);

View file

@ -23,7 +23,6 @@
==============================================================================
*/
namespace PrimesHelpers
{
void createSmallSieve (const int numBits, BigInteger& result)

View file

@ -23,7 +23,6 @@
==============================================================================
*/
RSAKey::RSAKey()
{
}

View file

@ -23,7 +23,6 @@
==============================================================================
*/
class MD5Generator
{
public:

View file

@ -23,7 +23,6 @@
==============================================================================
*/
class SHA256Processor
{
public:

View file

@ -23,7 +23,6 @@
==============================================================================
*/
ApplicationProperties::ApplicationProperties()
: commonSettingsAreReadOnly (0)
{

View file

@ -23,7 +23,6 @@
==============================================================================
*/
namespace PropertyFileConstants
{
static const int magicNumber = (int) ByteOrder::littleEndianInt ("PROP");

View file

@ -23,7 +23,6 @@
==============================================================================
*/
UndoManager::UndoManager (const int maxNumberOfUnitsToKeep,
const int minimumTransactions)
: totalUnitsStored (0),

View file

@ -23,7 +23,6 @@
==============================================================================
*/
Value::ValueSource::ValueSource()
{
}

View file

@ -23,7 +23,6 @@
==============================================================================
*/
class ValueTree::SharedObject : public ReferenceCountedObject
{
public:

View file

@ -23,7 +23,6 @@
==============================================================================
*/
class ActionMessage : public Message
{
public:

View file

@ -23,7 +23,6 @@
==============================================================================
*/
class AsyncUpdater::AsyncUpdaterMessage : public CallbackMessage
{
public:

View file

@ -23,7 +23,6 @@
==============================================================================
*/
ChangeBroadcaster::ChangeBroadcaster() noexcept
{
// are you trying to create this object before or after juce has been intialised??

View file

@ -23,7 +23,6 @@
==============================================================================
*/
InterprocessConnection::InterprocessConnection (const bool callbacksOnMessageThread,
const uint32 magicMessageHeaderNumber)
: Thread ("Juce IPC connection"),

View file

@ -23,7 +23,6 @@
==============================================================================
*/
InterprocessConnectionServer::InterprocessConnectionServer()
: Thread ("Juce IPC server")
{

View file

@ -23,7 +23,6 @@
==============================================================================
*/
JUCEApplicationBase::CreateInstanceFunction JUCEApplicationBase::createInstance = 0;
JUCEApplicationBase* JUCEApplicationBase::appInstance = nullptr;

View file

@ -23,7 +23,6 @@
==============================================================================
*/
static SpinLock deletedAtShutdownLock;
DeletedAtShutdown::DeletedAtShutdown()

View file

@ -23,7 +23,6 @@
==============================================================================
*/
MessageListener::MessageListener() noexcept
{
// are you trying to create a messagelistener before or after juce has been intialised??

View file

@ -23,7 +23,6 @@
==============================================================================
*/
Message::Message() noexcept : messageRecipient (nullptr) {}
Message::~Message() {}

Some files were not shown because too many files have changed in this diff Show more