增加输入PCM帧的接口

在使用faac库的前提下,增加输入PCM帧的接口
This commit is contained in:
lyg1949 2020-06-24 08:52:45 +08:00 committed by GitHub
parent c49812fe73
commit 791c773ae0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,6 +98,16 @@ API_EXPORT void API_CALL mk_media_input_h265(mk_media ctx, void *data, int len,
*/
API_EXPORT void API_CALL mk_media_input_aac(mk_media ctx, void *data, int len, uint32_t dts, void *adts);
#ifdef ENABLE_FAAC
/**
* PCM音频
* @param ctx
* @param data PCM数据
* @param len PCM数据字节数
* @param dts
*/
API_EXPORT void API_CALL mk_media_input_PCM(mk_media ctx, void *Data, int len, uint32_t pts);
#endif //ENABLE_FAAC
/**
* G711音频
* @param ctx