From 683adc13e460841d5b4723f93f1e336ce329166b Mon Sep 17 00:00:00 2001 From: Christian Spielberger Date: Wed, 29 May 2024 10:25:16 +0200 Subject: [PATCH] test: reset config in test_media_base --- test/call.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/call.c b/test/call.c index cf5bad7c42..03242edae3 100644 --- a/test/call.c +++ b/test/call.c @@ -1868,6 +1868,13 @@ static int test_media_base(enum audio_mode txmode, mem_deref(auplay); module_unload("ausine"); + conf_config()->audio.txmode = AUDIO_MODE_POLL; + conf_config()->audio.src_fmt = AUFMT_S16LE; + conf_config()->audio.channels_src = 0; + conf_config()->audio.play_fmt = AUFMT_S16LE; + conf_config()->audio.enc_fmt = AUFMT_S16LE; + conf_config()->audio.dec_fmt = AUFMT_S16LE; + if (fix.err) return fix.err;