COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :
Old 12-21-2017, 01:21 PM   #1
1eqinfinity
Human being with feelings
 
Join Date: Apr 2014
Posts: 84
Default NUM_CHANNELS for standalone

Hello everyone!
I've been digging a bit in channels configuration for standalone versions of plugins built with WDL-OL. One of my plugins uses 32 stereo channels. If I set NUM_CHANNELS bigger than 2 in app_resource.h, there are no audio callbacks for the plugin because of incorrect channel config for my audio device (RtApi :: probeDeviceOpen can not open audio device).
Perhaps I'm missing something. I'd like to make it more flexible. Can anyone give me a tip? Is there any way to add any number of input channels and configure it at the runtime so that it'll work on any hardware? (Preferably without modifying RtAudio source code) I think it would be nice to get current number of available channels and modify plugin behavior from then on. But I don't see a way to make it by the means of WDL yet.
__________________
soundcloud.com/crimsonbrain
1eqinfinity is offline   Reply With Quote
Old 12-21-2017, 01:41 PM   #2
olilarkin
Human being with feelings
 
olilarkin's Avatar
 
Join Date: Apr 2009
Location: Huddersfield, UK
Posts: 1,114
Default

this definitely needs improvement
__________________
VirtualCZ | pMix | Endless Series | WDL-OL | Linkedin | Facebook
Available for Audio Dev tuition via Skype (IPlug/JUCE/C++)
olilarkin is offline   Reply With Quote
Old 12-28-2017, 02:05 AM   #3
1eqinfinity
Human being with feelings
 
Join Date: Apr 2014
Posts: 84
Default

It would be nice to improve it. I have some ideas, I hope I'll have time to implement them.
There's a lack of flexibility in standalone devices and drivers setup in general. If I have some problem with the chosen audio driver on my system, the app will just crash right away.
__________________
soundcloud.com/crimsonbrain
1eqinfinity is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 12:29 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.