From 3a2d5e68acb2ac0f8b09b896907a692b1c48c6b3 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 21 Sep 2017 11:07:02 +0200 Subject: audio: move libswresample wrapper out of audio filter code Move it from af_lavrresample.c to a new aconverter.c file, which is independent from the filter chain code. It also doesn't use mp_audio, and thus has no GPL dependencies. Preparation for later commits. Not particularly well tested, so have fun. --- audio/audio.h | 1 + 1 file changed, 1 insertion(+) (limited to 'audio/audio.h') diff --git a/audio/audio.h b/audio/audio.h index a8370a0eb7..a4d9134a20 100644 --- a/audio/audio.h +++ b/audio/audio.h @@ -86,6 +86,7 @@ int mp_audio_to_avframe(struct mp_audio *frame, struct AVFrame *avframe); struct mp_aframe; struct mp_audio *mp_audio_from_aframe(struct mp_aframe *aframe); void mp_audio_config_from_aframe(struct mp_audio *dst, struct mp_aframe *src); +struct mp_aframe *mp_audio_to_aframe(struct mp_audio *mpa); struct mp_audio_pool; struct mp_audio_pool *mp_audio_pool_create(void *ta_parent); -- cgit v1.2.3