|
From: Yoda-JM <yo...@us...> - 2010-08-15 14:52:47
|
Module: performous
Branch: joinmenu
Commit: cb9219b0dfb92e14d7a6798a5d887e5dac149413
Author: Lasse Karkkainen <tro...@tr...>
Date: Sun Jul 18 10:18:40 2010 +0300
Fix init order bug that caused segfault on Alt+F4 from singing screen
---
game/audio.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/game/audio.cc b/game/audio.cc
index 81eec71..3d85777 100644
--- a/game/audio.cc
+++ b/game/audio.cc
@@ -249,10 +249,10 @@ struct Device {
};
struct Audio::Impl {
+ Output output;
portaudio::Init init;
boost::ptr_vector<Device> devices;
boost::ptr_vector<Analyzer> analyzers;
- Output output;
bool playback;
Impl(): playback() {
// Parse audio devices from config
|