[DEV] start separate harware file
This commit is contained in:
parent
3f1ac849a8
commit
1e10cc276b
29
data/hardwareIOs.json
Normal file
29
data/hardwareIOs.json
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
microphone:{
|
||||
io:"input",
|
||||
map-on:{
|
||||
interface:"coreIOS",
|
||||
name:"default",
|
||||
},
|
||||
frequency:48000,
|
||||
channel-map:[
|
||||
"front-left", "front-right"
|
||||
],
|
||||
type:"int16",
|
||||
nb-chunk:1024
|
||||
},
|
||||
speaker:{
|
||||
io:"output",
|
||||
map-on:{
|
||||
interface:"coreIOS",
|
||||
name:"default",
|
||||
},
|
||||
frequency:48000,
|
||||
channel-map:[
|
||||
"front-left", "front-right",
|
||||
],
|
||||
type:"int16",
|
||||
nb-chunk:1024,
|
||||
volume-name:"MASTER"
|
||||
}
|
||||
}
|
29
data/hardwareMacOs.json
Normal file
29
data/hardwareMacOs.json
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
microphone:{
|
||||
io:"input",
|
||||
map-on:{
|
||||
interface:"coreOSX",
|
||||
name:"default",
|
||||
},
|
||||
frequency:48000,
|
||||
channel-map:[
|
||||
"front-left", "front-right"
|
||||
],
|
||||
type:"int16",
|
||||
nb-chunk:1024
|
||||
},
|
||||
speaker:{
|
||||
io:"output",
|
||||
map-on:{
|
||||
interface:"coreOSX",
|
||||
name:"default",
|
||||
},
|
||||
frequency:48000,
|
||||
channel-map:[
|
||||
"front-left", "front-right",
|
||||
],
|
||||
type:"int16",
|
||||
nb-chunk:1024,
|
||||
volume-name:"MASTER"
|
||||
}
|
||||
}
|
29
data/hardwareWindows.json
Normal file
29
data/hardwareWindows.json
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
microphone:{
|
||||
io:"input",
|
||||
map-on:{
|
||||
interface:"ds",
|
||||
name:"default",
|
||||
},
|
||||
frequency:44100,
|
||||
channel-map:[
|
||||
"front-left", "front-right"
|
||||
],
|
||||
type:"int16",
|
||||
nb-chunk:1024
|
||||
},
|
||||
speaker:{
|
||||
io:"output",
|
||||
map-on:{
|
||||
interface:"ds",
|
||||
name:"default",
|
||||
},
|
||||
frequency:44100,
|
||||
channel-map:[
|
||||
"front-left", "front-right",
|
||||
],
|
||||
type:"int16",
|
||||
nb-chunk:1024,
|
||||
volume-name:"MASTER"
|
||||
}
|
||||
}
|
@ -15,7 +15,20 @@ def create(target):
|
||||
'test/debug.cpp'
|
||||
])
|
||||
|
||||
myModule.copy_folder('data/*')
|
||||
if target.name=="Windows":
|
||||
myModule.copy_file('data/hardwareWindows.json', 'hardware.json')
|
||||
elif target.name=="Linux":
|
||||
myModule.copy_file('data/hardwareLinux.json', 'hardware.json')
|
||||
elif target.name=="MacOs":
|
||||
myModule.copy_file('data/hardwareMacOs.json', 'hardware.json')
|
||||
elif target.name=="IOs":
|
||||
myModule.copy_file('data/hardwareIOs.json', 'hardware.json')
|
||||
elif target.name=="Android":
|
||||
myModule.copy_file('data/hardwareAndroid.json', 'hardware.json')
|
||||
else:
|
||||
debug.warning("unknow target for AIRTAudio : " + target.name);
|
||||
|
||||
myModule.copy_file('data/virtual.json', 'virtual.json')
|
||||
myModule.add_module_depend(['river', 'gtest', 'etk'])
|
||||
|
||||
# add the currrent module at the
|
||||
|
Loading…
Reference in New Issue
Block a user