ADPCM in AudioEncoderServer with WAVEncoder #2001
-
I'm currently running a streaming server using the following statement:
This produces a PCM stream. I'm trying to switch to ADPCM, but I couldn't find any implementation (or example) that will compile without errors for the following WAVEncoder constructor:
Any help will be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Please read the codecs wiki and don't ignore the codec related blogs mentioned at the end |
Beta Was this translation helpful? Give feedback.
-
I still don't quite understand: using the code from the blog compiles w/o any issues: #include "AudioTools.h"
#include "AudioTools/AudioCodecs/CodecWAV.h"
#include "AudioTools/AudioCodecs/CodecADPCM.h"
ADPCMEncoder adpcm_encoder(AV_CODEC_ID_ADPCM_IMA_WAV);
WAVEncoder wav_encoder(adpcm_encoder, AudioFormat::ADPCM); |
Beta Was this translation helpful? Give feedback.
Please read the codecs wiki and don't ignore the codec related blogs mentioned at the end