mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-19 15:52:53 +00:00
clang format
This commit is contained in:
parent
2478a1355f
commit
bfed3d5e68
@ -1,7 +1,8 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
#include "Csv/CsvStream.h"
|
||||||
|
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
#include "Csv/CsvStream.h"
|
|
||||||
|
|
||||||
class ParsedCsvRow
|
class ParsedCsvRow
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#include <foxen/flac.h>
|
|
||||||
#include "FlacDecoder.h"
|
#include "FlacDecoder.h"
|
||||||
|
|
||||||
|
#include <foxen/flac.h>
|
||||||
|
|
||||||
class fx_flac_raii
|
class fx_flac_raii
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@ -14,12 +15,12 @@ public:
|
|||||||
free(ptr);
|
free(ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
operator fx_flac_t* ()
|
operator fx_flac_t*()
|
||||||
{
|
{
|
||||||
return ptr;
|
return ptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
fx_flac_t* ptr;
|
fx_flac_t* ptr;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -35,7 +36,6 @@ public:
|
|||||||
: m_data(data),
|
: m_data(data),
|
||||||
m_length(length)
|
m_length(length)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned int GetFrameCount() override
|
unsigned int GetFrameCount() override
|
||||||
@ -48,7 +48,7 @@ public:
|
|||||||
return static_cast<unsigned int>(fx_flac_get_streaminfo(*m_flac.get(), FLAC_KEY_SAMPLE_RATE));
|
return static_cast<unsigned int>(fx_flac_get_streaminfo(*m_flac.get(), FLAC_KEY_SAMPLE_RATE));
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned int GetNumChannels() override
|
unsigned int GetNumChannels() override
|
||||||
{
|
{
|
||||||
return static_cast<unsigned int>(fx_flac_get_streaminfo(*m_flac.get(), FLAC_KEY_N_CHANNELS));
|
return static_cast<unsigned int>(fx_flac_get_streaminfo(*m_flac.get(), FLAC_KEY_N_CHANNELS));
|
||||||
}
|
}
|
||||||
|
@ -18,4 +18,4 @@ public:
|
|||||||
virtual unsigned int GetNumChannels() = 0;
|
virtual unsigned int GetNumChannels() = 0;
|
||||||
|
|
||||||
static std::unique_ptr<FlacDecoder> Create(void* data, size_t length);
|
static std::unique_ptr<FlacDecoder> Create(void* data, size_t length);
|
||||||
};
|
};
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include <ostream>
|
|
||||||
#include "Sound/WavTypes.h"
|
#include "Sound/WavTypes.h"
|
||||||
|
|
||||||
|
#include <ostream>
|
||||||
|
|
||||||
class WavWriter
|
class WavWriter
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user