Skip to content

Commit

Permalink
test: reset config in test_media_base
Browse files Browse the repository at this point in the history
  • Loading branch information
cspiel1 committed May 29, 2024
1 parent e095312 commit 683adc1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/call.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 683adc1

Please sign in to comment.