add remind

This commit is contained in:
2024-09-16 20:45:58 +08:00
parent dcc7309aa4
commit e3609aab14

View File

@@ -135,8 +135,8 @@ func (d *DBStruct) GetMainTitle() (uint32, error) {
return uint32(mainTitle), nil return uint32(mainTitle), nil
} }
// GetTitleInfo 从蓝光光盘获取标题信息 0为全部 // GetTitleInfo 从蓝光光盘获取标题信息 需要先调用 GetTitles() 获取标题列表
// GetTitleInfo Get title info from a Blu-ray disc 0 for all // GetTitleInfo Get title info from a Blu-ray disc. GetTitles() must be called first to get the title list
func (d *DBStruct) GetTitleInfo(titleIdx uint32, angle uint) (*BlurayTitleInfo, error) { func (d *DBStruct) GetTitleInfo(titleIdx uint32, angle uint) (*BlurayTitleInfo, error) {
cTitleInfo := C.bd_get_title_info(d.bd, C.uint32_t(titleIdx), C.uint(angle)) cTitleInfo := C.bd_get_title_info(d.bd, C.uint32_t(titleIdx), C.uint(angle))
if cTitleInfo == nil { if cTitleInfo == nil {