Current section
Files
Jump to
Current section
Files
c_src/membrane_aac_fdk_plugin/encoder.h
#pragma once
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wall"
#pragma GCC diagnostic ignored "-Wextra"
#pragma GCC diagnostic ignored "-Wunused-function"
#include <fdk-aac/aacenc_lib.h>
#pragma GCC diagnostic pop
#include <membrane/membrane.h>
#define MEMBRANE_LOG_TAG "Membrane.AAC.FDK.EncoderNative"
#include <membrane/log.h>
typedef struct _EncoderState {
HANDLE_AACENCODER handle;
unsigned char *aac_buffer;
int channels;
} State;
#include "_generated/encoder.h"