コード例 #1
0
ファイル: audio.go プロジェクト: b1naryth1ef/allegro
func (m *Mixer) GetDepth() uint32 {
	return uint32(C.al_get_mixer_depth((*C.ALLEGRO_MIXER)(unsafe.Pointer(m))))
}
コード例 #2
0
ファイル: audio.go プロジェクト: beoran/algo
// Returns the depth of the mixer
func (self *Mixer) Depth() AudioDepth {
	return AudioDepth(C.al_get_mixer_depth(self.handle))
}