Added commands to voice sample. Test successfull refs #36 - Added commands to list input and output devices - Fixed some compiler errors on win - Voice confirmed working on windows and linux

Signed-off-by: Roland Winklmeier <roland.m.winklmeier@gmail.com>

refs #81
This commit is contained in:
Roland Winklmeier
2013-12-02 00:09:50 +01:00
committed by Mathew Sutcliffe
parent 45b9f60444
commit 0bae898db8
5 changed files with 44 additions and 18 deletions

View File

@@ -3,6 +3,9 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef BLACKMISC_AUDIODEVICE_H
#define BLACKMISC_AUDIODEVICE_H
/*!
\file
*/
@@ -11,8 +14,10 @@
#include <QString>
#ifndef BLACKMISC_AUDIODEVICE_H
#define BLACKMISC_AUDIODEVICE_H
#ifdef Q_OS_WIN
typedef short int16_t;
#endif
namespace BlackMisc
{
@@ -30,7 +35,7 @@ namespace BlackMisc
/*!
* Default constructor.
*/
CAudioDevice() : m_deviceIndex(-1), m_deviceName("") {}
CAudioDevice() : m_deviceIndex(0), m_deviceName("") {}
/*!