mirror of
https://github.com/qrtc/ffmpeg-dev-go.git
synced 2025-10-07 08:30:58 +08:00
2023-10-22 11:46:19 CST W43D0
This commit is contained in:
@@ -6,11 +6,21 @@ package ffmpeg
|
||||
import "C"
|
||||
|
||||
// FFTSample
|
||||
type FFTSample C.FFTSample
|
||||
type FFTSample = C.FFTSample
|
||||
|
||||
// FFTComplex
|
||||
type FFTComplex C.struct_FFTComplex
|
||||
|
||||
// Custom: GetRe gets `FFTComplex.re` value.
|
||||
func (fc *FFTComplex) GetRe() FFTSample {
|
||||
return (FFTSample)(fc.re)
|
||||
}
|
||||
|
||||
// Custom: GetIm gets `FFTComplex.im` value.
|
||||
func (fc *FFTComplex) GetIm() FFTSample {
|
||||
return (FFTSample)(fc.im)
|
||||
}
|
||||
|
||||
// FFTContext
|
||||
type FFTContext C.struct_FFTContext
|
||||
|
||||
|
Reference in New Issue
Block a user