diff options
author | Max Kellermann <max@musicpd.org> | 2017-08-07 18:14:54 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2017-08-07 18:14:54 +0200 |
commit | 33f67d418f8b703cc270a9ea71d574e258d552c3 (patch) | |
tree | d8218cc7b862c0df3f242de0e029b0a27fd26470 /test/run_output.cxx | |
parent | 07d1b3780d479f6baaa6a7ff990ed15e56500086 (diff) |
test/run_output: use AudioOutput::{Begin,Finish}Destroy()
Diffstat (limited to 'test/run_output.cxx')
-rw-r--r-- | test/run_output.cxx | 5 |
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(); |