Remove whitespace lines
This commit is contained in:
@@ -27,31 +27,31 @@
|
||||
|
||||
|
||||
namespace lime {
|
||||
|
||||
|
||||
|
||||
|
||||
struct AudioBuffer {
|
||||
|
||||
|
||||
hl_type* t;
|
||||
int bitsPerSample;
|
||||
int channels;
|
||||
ArrayBufferView* data;
|
||||
int sampleRate;
|
||||
|
||||
|
||||
vdynamic* __srcAudio;
|
||||
vdynamic* __srcBuffer;
|
||||
vdynamic* __srcCustom;
|
||||
vdynamic* __srcHowl;
|
||||
vdynamic* __srcSound;
|
||||
vdynamic* __srcVorbisFile;
|
||||
|
||||
|
||||
AudioBuffer (value audioBuffer);
|
||||
~AudioBuffer ();
|
||||
value Value (value audioBuffer);
|
||||
value Value ();
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -7,20 +7,20 @@
|
||||
|
||||
|
||||
namespace lime {
|
||||
|
||||
|
||||
|
||||
|
||||
class VorbisFile {
|
||||
|
||||
|
||||
|
||||
|
||||
public:
|
||||
|
||||
|
||||
static OggVorbis_File* FromBytes (Bytes* bytes);
|
||||
static OggVorbis_File* FromFile (const char* path);
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -7,19 +7,19 @@
|
||||
|
||||
|
||||
namespace lime {
|
||||
|
||||
|
||||
|
||||
|
||||
class OGG {
|
||||
|
||||
|
||||
|
||||
|
||||
public:
|
||||
|
||||
|
||||
static bool Decode (Resource *resource, AudioBuffer *audioBuffer);
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -7,19 +7,19 @@
|
||||
|
||||
|
||||
namespace lime {
|
||||
|
||||
|
||||
|
||||
|
||||
struct RIFF_Header {
|
||||
|
||||
|
||||
char chunkID[4];
|
||||
unsigned int chunkSize; //size not including chunkSize or chunkID
|
||||
char format[4];
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
struct WAVE_Format {
|
||||
|
||||
|
||||
char subChunkID[4];
|
||||
unsigned int subChunkSize;
|
||||
short audioFormat;
|
||||
@@ -28,29 +28,29 @@ namespace lime {
|
||||
unsigned int byteRate;
|
||||
short blockAlign;
|
||||
short bitsPerSample;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
struct WAVE_Data {
|
||||
|
||||
|
||||
char subChunkID[4]; //should contain the word data
|
||||
unsigned int subChunkSize; //Stores the size of the data block
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
class WAV {
|
||||
|
||||
|
||||
|
||||
|
||||
public:
|
||||
|
||||
|
||||
static bool Decode (Resource *resource, AudioBuffer *audioBuffer);
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user