Channel group doesn't make any sound

edited October 2015

Hi,

I have a little problem with channel group.
When I add a channel called metronome like this :

appDelegate.audioController.removeChannels([metronome])

The channel works fine and make sound BUT when I put this channel in a group to set it's volume like this:

appDelegate.audioController.addChannels([metronome])
let groupRef = appDelegate.audioController.createChannelGroup()
appDelegate.audioController.addChannels([metronome], toChannelGroup: groupRef)
appDelegate.audioController.setVolume(1, forChannelGroup: groupRef)

My channel metronome doesn't make any sound...
However,

channelGroupIsPlaying

return me

true

Comments

  • Out of curiosity, if you remove that first appDelegate.audioController.addChannels([metronome]) line, does it work then? Perhaps there's a bug in the way TAAE moves channels between groups (because what you're doing there is requiring TAAE to move the channel from the toplevel group to your new group)

  • edited October 2015

    It works, thank's !

Sign In or Register to comment.