Example #1
0
func (h *HGE) Music_SetChannelVolume(music *sound.Music, channel, volume int) {
	music.SetChannelVolume(channel, volume)
}
Example #2
0
func (h *HGE) Music_GetChannelVolume(music *sound.Music, channel int) int {
	return music.ChannelVolume(channel)
}
Example #3
0
func (h *HGE) Music_SetInstrVolume(music *sound.Music, instr int, volume int) {
	music.SetInstrVolume(instr, volume)
}
Example #4
0
func (h *HGE) Music_GetInstrVolume(music *sound.Music, instr int) int {
	return music.InstrVolume(instr)
}
Example #5
0
func (h *HGE) Music_SetPos(music *sound.Music, order, row int) {
	music.SetPos(order, row)
}
Example #6
0
func (h *HGE) Music_GetPos(music *sound.Music) (order, row int, ok bool) {
	return music.Pos()
}
Example #7
0
func (h *HGE) Music_GetLength(music *sound.Music) int {
	return music.Len()
}
Example #8
0
func (h *HGE) Music_GetAmplification(music *sound.Music) int {
	return music.Amplification()
}
Example #9
0
func (h *HGE) Music_SetAmplification(music *sound.Music, ampl int) {
	music.SetAmplification(ampl)
}
Example #10
0
func (h *HGE) Music_Play(music *sound.Music, loop bool, a ...interface{}) sound.Channel {
	return music.Play(loop, a...)
}
Example #11
0
func (h *HGE) Music_Free(music *sound.Music) {
	music.Free()
}