示例#1
0
func GetDepthSize(depth uint32) uint32 {
	return uint32(C.al_get_audio_depth_size(C.ALLEGRO_AUDIO_DEPTH(depth)))
}
示例#2
0
文件: audio.go 项目: beoran/algo
// Gets the size of (foe calculating the size of allocating a sample)
func (self AudioDepth) Size() uint {
	return uint(C.al_get_audio_depth_size(self.toC()))
}