Commit ecfa10e0 authored by Dipl.-Ing. Jonas Stienen's avatar Dipl.-Ing. Jonas Stienen
Browse files

linux compat tryouts, not finished yet

parent ccf262da
......@@ -2,6 +2,7 @@
#define __VA_AUDIODRIVERCONFIG_H__
// Includes
#include <VACoreDefinitions.h>
#include <VAStruct.h>
#include <string>
......@@ -11,7 +12,7 @@
* Dies schliet ein: Die Treiber-Architektur, das Audio-Gert, usw.
*/
class CVAAudioDriverConfig
class VACORE_API CVAAudioDriverConfig
{
public:
static const int AUTO = -1; // Literal fr automatische Werte
......
......@@ -45,6 +45,7 @@
#include "VASourceListenerMetrics.h"
#include "Drivers/Audio/VAAudioDriverBackend.h"
#include "Drivers/Audio/VAAudioDriverConfig.h"
#ifdef VACORE_WITH_AUDIO_BACKEND_ASIO
#include "Drivers/Audio/VAASIOBackend.h"
......@@ -3967,10 +3968,10 @@ void CVACoreImpl::PrintSceneState() {
void CVACoreImpl::InitializeAudioDriver()
{
//#ifdef VACORE_WITH_AUDIO_BACKEND_ASIO
#ifdef VACORE_WITH_AUDIO_BACKEND_ASIO
if( m_oCoreConfig.oAudioDriverConfig.sDriver == "ASIO" )
m_pAudioDriverBackend = new CVAASIOBackend( &m_oCoreConfig.oAudioDriverConfig );
//#endif
#endif
#ifdef VACORE_WITH_AUDIO_BACKEND_PORTAUDIO
if( m_oCoreConfig.oAudioDriverConfig.sDriver == "Portaudio" )
m_pAudioDriverBackend = new CVAPortaudioBackend( &m_oCoreConfig.oAudioDriverConfig );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment