create basic audio, towards sound sensors etc.
This commit is contained in:
38
examples/TinyAudio/premake4.lua
Normal file
38
examples/TinyAudio/premake4.lua
Normal file
@@ -0,0 +1,38 @@
|
||||
|
||||
project "App_TinyAudioExample"
|
||||
|
||||
language "C++"
|
||||
|
||||
kind "ConsoleApp"
|
||||
|
||||
includedirs {
|
||||
".",
|
||||
"../../src",
|
||||
}
|
||||
|
||||
defines {"B3_USE_STANDALONE_EXAMPLE", "__STK_REALTIME__"}
|
||||
files {
|
||||
"**.cpp",
|
||||
"**.h",
|
||||
"../StandaloneMain/main_console_single_example.cpp",
|
||||
}
|
||||
|
||||
if os.is("Windows") then
|
||||
links {"winmm","Wsock32","dsound"}
|
||||
defines {"WIN32","__WINDOWS_MM__","__LITTLE_ENDIAN__","__WINDOWS_DS__"}
|
||||
end
|
||||
|
||||
|
||||
if os.is("Linux") then initX11()
|
||||
defines {"__OS_LINUX__","__LINUX_ALSA__","__LITTLE_ENDIAN__"}
|
||||
links {"asound","pthread"}
|
||||
end
|
||||
|
||||
|
||||
if os.is("MacOSX") then
|
||||
links{"Cocoa.framework"}
|
||||
links{"CoreAudio.framework", "coreMIDI.framework", "Cocoa.framework"}
|
||||
|
||||
defines {"__OS_MACOSX__","__LITTLE_ENDIAN__"}
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user