Skip to content

Commit

Permalink
CodecFLAG log level to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
pschatzmann committed Nov 16, 2023
1 parent b60fefd commit 0d82acd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/AudioCodecs/CodecFLAC.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class FLACDecoder : public StreamingDecoder {

/// Stream Interface: Process a single frame - only relevant when input stream has been defined
bool copy() {
LOGI("copy");
LOGD("copy");
if (!is_active) {
LOGE("not active");
return false;
Expand Down Expand Up @@ -160,7 +160,7 @@ class FLACDecoder : public StreamingDecoder {
/// Callback which reads from stream
static FLAC__StreamDecoderReadStatus read_callback(const FLAC__StreamDecoder *decoder, FLAC__byte result_buffer[],size_t *bytes, void *client_data) {
FLAC__StreamDecoderReadStatus result = FLAC__STREAM_DECODER_READ_STATUS_CONTINUE;
LOGI("read_callback: %d", (int) *bytes);
LOGD("read_callback: %d", (int) *bytes);
FLACDecoder *self = (FLACDecoder *)client_data;
if (self == nullptr || !self->is_active) {
return FLAC__STREAM_DECODER_READ_STATUS_ABORT;
Expand Down Expand Up @@ -192,7 +192,7 @@ class FLACDecoder : public StreamingDecoder {

/// Output decoded result to final output stream
static FLAC__StreamDecoderWriteStatus write_callback(const FLAC__StreamDecoder *decoder, const FLAC__Frame *frame,const FLAC__int32 *const buffer[], void *client_data) {
LOGI("write_callback: %d", frame->header.blocksize);
LOGD("write_callback: %d", frame->header.blocksize);
FLACDecoder *self = (FLACDecoder *)client_data;

AudioInfo actual_info = self->audioInfo();
Expand Down

0 comments on commit 0d82acd

Please sign in to comment.