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