- Code: Select all
gb.sound.command(1,0,0); // select sound 0 for channel 0
I get this:
error: no matching function for call to 'Sound::command(int, int, int)'
What's wrong here?
(I defined an instrument and an instrument set before, no errors there)
gb.sound.command(1,0,0); // select sound 0 for channel 0
Sound::command(uint8_t cmd, uint8_t X, int8_t Y, uint8_t i)
gb.sound.command(command, X, Y, channel)
gb.sound.command(CMD_VOLUME, 0, 0, 1)
Return to Programming Questions
Users browsing this forum: No registered users and 6 guests