Set WIVRN_USE_PIPEWIRE in wivrn_config.h
This commit is contained in:
@@ -125,7 +125,6 @@ else()
|
||||
"audio/linux/*.cpp")
|
||||
list(APPEND PLATFORM_SOURCE ${CLIENT_PIPEWIRE_SOURCE})
|
||||
target_link_libraries(wivrn PkgConfig::libpipewire)
|
||||
target_compile_definitions(wivrn PRIVATE WIVRN_USE_PIPEWIRE)
|
||||
endif()
|
||||
|
||||
target_sources(wivrn PRIVATE ${PLATFORM_SOURCE})
|
||||
|
||||
@@ -19,13 +19,15 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "wivrn_config.h"
|
||||
|
||||
#ifdef __ANDROID__
|
||||
#include "android/audio.h"
|
||||
namespace wivrn
|
||||
{
|
||||
using audio = ::wivrn::android::audio;
|
||||
}
|
||||
#elif defined(WIVRN_USE_PIPEWIRE)
|
||||
#elif WIVRN_USE_PIPEWIRE
|
||||
#include "linux/audio.h"
|
||||
namespace wivrn
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user