|
From: Arto Seppä <za...@us...> - 2010-08-19 22:14:57
|
Module: performous
Branch: master
Commit: 96004a4e6d352921481a86014aff4d739da1fcda
Author: Arto Seppä <za...@us...>
Date: Fri Aug 20 01:12:03 2010 +0300
Initialized 'out' in struct Params to fix issue with no audio input on OS X.
---
game/audio.cc | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/game/audio.cc b/game/audio.cc
index 1f33b17..119ba94 100644
--- a/game/audio.cc
+++ b/game/audio.cc
@@ -372,6 +372,7 @@ struct Audio::Impl {
std::string dev;
std::vector<std::string> mics;
} params = Params();
+ params.out = 0;
params.rate = 48000;
// Break into tokens:
std::map<std::string, std::string> keyvalues = parseKeyValuePairs(*it);
|