Tracktion / tracktion_engine

Tracktion Engine module
Other
1.19k stars 149 forks source link

`Track->insertWaveClip` can not working on MP3 file, but wave file is ok. #78

Closed imiskolee closed 2 years ago

imiskolee commented 2 years ago

Hi:

i tried API insertNewWaveClip for mp3 file, it's always no sound on playing, but can successfully render waveform from thumbanimal. not sure how to debug the issue.

imiskolee commented 2 years ago

I think it's maybe related to MP3 File used ProxyFile.

  1. I checked the tmp_proxy_xxxx && proxy_xxx wave file is ok.
  2. get waveform is ok
  3. no sound when playing, method WaveAudioNode::renderSection audioSampleRate always `0.0

did we need do something when that ProxyGeneratorJob finished ?

imiskolee commented 2 years ago

it's working after playbackContext->reallocate();