1
0
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:
nu774
2013-10-30 11:58:30 +09:00
parent c5eec15549
commit d533c8e002
3 changed files with 18 additions and 20 deletions

View File

@@ -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