示例#1
0
文件: core.go 项目: pigulon/go-openal
func (self *Source) Play() {
	C.alSourcePlay(self.handle)
}
示例#2
0
// Renamed, was SourcePlay.
func (self Source) Play() {
	C.alSourcePlay(C.ALuint(self))
}
示例#3
0
func (source Source) Play() error {
	C.alSourcePlay(source.source)
	return GetError()
}
示例#4
0
文件: source.go 项目: nzlov/goal
/*
 * Source based playback calls
 */
func (source Source) Play() {
	C.alSourcePlay(C.ALuint(source))
}
示例#5
0
func (s *source) setToPlay() {
	C.alSourcePlay(s.id)
	s.isPlaying = true
}