go-fdkaac
go-fdkaac copied to clipboard
can't decode aac successfully
hi, this is a nice repo, I just use the ExampleAacDecoder_RAW in the example_test.go, so I wanna print the PCM by 'fmt.Println(pcm)', however I got the following result, seems the PCM is full of zero, it is so weird, can you fix it?
SampleRate: 44100
FrameSize: 1024
NumChannels: 2
AacSampleRate: 44100
Profile: 1
AudioObjectType: 2
ChannelConfig: 2
Bitrate: 31352
AacSamplesPerFrame: 1024
AacNumChannels: 2
ExtensionAudioObjectType: 0
ExtensionSamplingRate: 0
NumLostAccessUnits: 0
NumTotalBytes: 91
NumBadBytes: 0
NumTotalAccessUnits: 1
NumBadAccessUnits: 0
SampleBits: 16
PCM: 4096
PCM: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0......0000]
I'm experiencing the same problem. Were you able to solve it?
I tried use InitAdts.And the same problem
