Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
21
Src/pcm/avi_alaw_decoder.h
Normal file
21
Src/pcm/avi_alaw_decoder.h
Normal file
|
@ -0,0 +1,21 @@
|
|||
#pragma once
|
||||
#include "../nsavi/avi_header.h"
|
||||
#include "../Plugins/Input/in_avi/ifc_aviaudiodecoder.h"
|
||||
|
||||
class AVIALawDecoder : public ifc_aviaudiodecoder
|
||||
{
|
||||
public:
|
||||
AVIALawDecoder(const nsavi::audio_format *waveformat);
|
||||
|
||||
protected:
|
||||
RECVS_DISPATCH;
|
||||
private:
|
||||
/* ifc_aviaudiodecoder implementation */
|
||||
int OutputFrameSize(size_t *frame_size);
|
||||
int GetOutputProperties(unsigned int *sampleRate, unsigned int *channels, unsigned int *bitsPerSample, bool *isFloat);
|
||||
int DecodeChunk(uint16_t type, void **inputBuffer, size_t *inputBufferBytes, void *outputBuffer, size_t *outputBufferBytes);
|
||||
void Close();
|
||||
|
||||
private:
|
||||
const nsavi::audio_format *waveformat;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue