From 33f67d418f8b703cc270a9ea71d574e258d552c3 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 7 Aug 2017 18:14:54 +0200 Subject: [PATCH] test/run_output: use AudioOutput::{Begin,Finish}Destroy() --- test/run_output.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/run_output.cxx b/test/run_output.cxx index ba772e6b2..9f6a87a60 100644 --- a/test/run_output.cxx +++ b/test/run_output.cxx @@ -7,7 +7,7 @@ * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, + * This program is distributed in the hope that it will useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -140,7 +140,8 @@ try { /* cleanup and exit */ - audio_output_free(ao); + ao->BeginDestroy(); + ao->FinishDestroy(); config_global_finish();