summaryrefslogtreecommitdiff
path: root/test/run_output.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-08-07 18:14:54 +0200
committerMax Kellermann <max@musicpd.org>2017-08-07 18:14:54 +0200
commit33f67d418f8b703cc270a9ea71d574e258d552c3 (patch)
treed8218cc7b862c0df3f242de0e029b0a27fd26470 /test/run_output.cxx
parent07d1b3780d479f6baaa6a7ff990ed15e56500086 (diff)
test/run_output: use AudioOutput::{Begin,Finish}Destroy()
Diffstat (limited to 'test/run_output.cxx')
-rw-r--r--test/run_output.cxx5
1 files 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();