mirror of
https://github.com/nu774/fdkaac.git
synced 2025-06-05 23:29:14 +02:00
rename aacenc_result_t -> aacenc_frame_t, simplify write_sample()
This commit is contained in:
@@ -24,10 +24,10 @@ typedef struct aacenc_param_t {
|
||||
AACENC_PARAMS
|
||||
} aacenc_param_t;
|
||||
|
||||
typedef struct aacenc_result_t {
|
||||
typedef struct aacenc_frame_t {
|
||||
uint8_t *data;
|
||||
uint32_t len, size;
|
||||
} aacenc_result_t;
|
||||
uint32_t size, capacity;
|
||||
} aacenc_frame_t;
|
||||
|
||||
int aacenc_is_sbr_active(const aacenc_param_t *params);
|
||||
|
||||
@@ -42,6 +42,6 @@ int aacenc_init(HANDLE_AACENCODER *encoder, const aacenc_param_t *params,
|
||||
int aac_encode_frame(HANDLE_AACENCODER encoder,
|
||||
const pcm_sample_description_t *format,
|
||||
const int16_t *input, unsigned iframes,
|
||||
aacenc_result_t *output);
|
||||
aacenc_frame_t *output);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user