Closed covarianttensor closed 5 years ago
Unrelated to this issue (and I didn't want to open a new "discussion"):
😜 Unfortunately based on 3e63531 as 851bfcc (and later) will fail the compilation with the following error:
libs/osc/composer/OscContentComposer.cpp: In function 'void __tcf_0()':
libs/osc/composer/OscContentComposer.cpp:28:12: error: definition of static data member 'OscContentComposer::mBlank' of dllimport'd class
QByteArray OscContentComposer::mBlank(4, 0);
^
libs/osc/composer/OscContentComposer.cpp: In constructor 'OscContentComposer::OscContentComposer()':
libs/osc/composer/OscContentComposer.cpp:27:8: error: definition of static data member 'OscContentComposer::mHeaderBufferSize' of dllimport'd class
qint32 OscContentComposer::mHeaderBufferSize = 128;
^
make[1]: *** [Makefile.Release:2018: release/OscContentComposer.o] Error 1
make[1]: Leaving directory '/tmp/CasterSoundboard/CasterSoundboard'
make: *** [Makefile:34: release] Error 2
EDIT: Another screenshot 😄
Oh, that's because under windows the Windows c++ msvc don't like uninitialized static constants. being initialized outsize their class. I made some changes not in this repo to get it to compile under windows. I will probably back-port those changes to this repo. At any rate, if you want something pre-compiled for windows, you can download windows version from the project's sourceforge page here: https://sourceforge.net/projects/castersb/?source=navbar
By the way, are you trying to compile under Windows? I just assumed from the screenshots.
No, I was compiling it with MXE :)
Alright, I'll back-port my alterations, give me about a day.
New feature lets you control the soundboard by using anything capable of sending OSC messages. I recommend you use TouchOSC and run it on your tablet or phone (iOS/Android) to control the soundboard. I made a test layout and added it to the repo so you can see how it works. Please note, only one player is in the layout.
I'm requesting people to create layouts for as many devices as possible to be added to the repo so other people can use them.
As always, please look for bugs. I will document how to use the api in the wiki when I have time. I've been working non-stop to add this feature.
Please update your builds.
PS: Your *.caster soundbaord profiles are not gonna work with this new build because I made major changes to the backed implementation of the soundboard players. Please create new ones. Sorry for the inconvenience.