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