mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-11 22:17:17 +03:00
update cspot
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
// Copyright (c) Kuba Szczodrzyński 2022-1-12.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "BaseCodec.h"
|
||||
#include "alac_wrapper.h"
|
||||
|
||||
class ALACDecoder : public BaseCodec {
|
||||
private:
|
||||
alac_codec_s* alacCodec;
|
||||
int16_t *pcmData;
|
||||
|
||||
public:
|
||||
ALACDecoder();
|
||||
~ALACDecoder();
|
||||
bool setup(uint32_t sampleRate, uint8_t channelCount, uint8_t bitDepth) override;
|
||||
uint8_t *decode(uint8_t *inData, uint32_t inLen, uint32_t &outLen) override;
|
||||
};
|
||||
Reference in New Issue
Block a user