diff options
author | Mathias Johanson <mathias@alkit.se> | 2014-05-23 12:19:53 (GMT) |
---|---|---|
committer | Mathias Johanson <mathias@alkit.se> | 2014-05-23 12:19:53 (GMT) |
commit | 53058d65f917bca3379444b72c22e4ae09a7465e (patch) | |
tree | b5582a0d5ccc9a5d6973ed8414df1cfcbfcef337 /src/uscxml/plugins/invoker | |
parent | e89b49ff12256ead8f0b4d265a2244099cf72708 (diff) | |
download | uscxml-53058d65f917bca3379444b72c22e4ae09a7465e.zip uscxml-53058d65f917bca3379444b72c22e4ae09a7465e.tar.gz uscxml-53058d65f917bca3379444b72c22e4ae09a7465e.tar.bz2 |
crash in audio device close fixed
Diffstat (limited to 'src/uscxml/plugins/invoker')
-rw-r--r-- | src/uscxml/plugins/invoker/miles/MilesSessionInvoker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uscxml/plugins/invoker/miles/MilesSessionInvoker.cpp b/src/uscxml/plugins/invoker/miles/MilesSessionInvoker.cpp index da9ff18..b29e827 100644 --- a/src/uscxml/plugins/invoker/miles/MilesSessionInvoker.cpp +++ b/src/uscxml/plugins/invoker/miles/MilesSessionInvoker.cpp @@ -629,7 +629,7 @@ void MilesSessionInvoker::processAudio() { if(audio_dev_playback) miles_audio_device_close(MILES_AUDIO_IO_OPENAL, audio_dev_playback, 0); if(audio_dev) - miles_audio_device_close(MILES_AUDIO_IO_OPENAL, audio_dev_playback, 1); + miles_audio_device_close(MILES_AUDIO_IO_OPENAL, audio_dev, 1); miles_audio_codec_destroy_encoder(audio_encoder); audio_available = 0; sendaudio_enabled = 0; |