Great cinder block, very useful !!.
I am using the block to manage all my sound files, however, I am finding it hard to add multiple channel outputs to the lib, could you point out to the correct direction to adding multiple outputs.
I added ci::audio::OutputDeviceNodeRef node to the Track data structure, like this:
https://gist.github.com/ThomasLengeling/dd0ec421898cf323afb2
then I added a new setChannel function to control the channel index output.
void SoundManager::setChannel(unsigned int trackID, int channel)
{
if (mTracks.find(trackID) != mTracks.end()) {
mTracks[trackID]->mChannelRouterNode-> route(0, channel);
}
}
Thank you very much
Great cinder block, very useful !!.
I am using the block to manage all my sound files, however, I am finding it hard to add multiple channel outputs to the lib, could you point out to the correct direction to adding multiple outputs.
I added
ci::audio::OutputDeviceNodeRefnode to the Track data structure, like this:https://gist.github.com/ThomasLengeling/dd0ec421898cf323afb2
then I added a new setChannel function to control the channel index output.
Thank you very much