2023-10-31 09:16:44 CST W44D2

This commit is contained in:
aggresss
2023-10-31 09:16:44 +08:00
parent f00ecdba54
commit e20be69f17
51 changed files with 645 additions and 78 deletions

View File

@@ -77,6 +77,7 @@ const (
AV_CH_LAYOUT_22POINT2 = uint64(C.AV_CH_LAYOUT_22POINT2)
)
// AVMatrixEncoding
type AVMatrixEncoding = C.enum_AVMatrixEncoding
const (
@@ -105,7 +106,9 @@ func AvGetExtendedChannelLayout(name string, channelLayout *uint64, nbChannels *
(*C.uint64_t)(channelLayout), (*C.int32_t)(nbChannels)))
}
const AV_CH_LAYOUT_MAX_STRING_SIZE = 256
const (
AV_CH_LAYOUT_MAX_STRING_SIZE = 256
)
// AvGetChannelLayoutString returns a description of a channel layout.
func AvGetChannelLayoutString(nbChannels int32, channelLayout uint64) string {