You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Added in JUCE audio resampling, and have lots of resampling debug code still in place.
This commit is contained in:
@@ -757,6 +757,17 @@ void FFmpegReader::ProcessAudioPacket(int requested_frame, int target_frame, int
|
||||
|
||||
// Add or update cache
|
||||
my_cache->Add(f.number, f);
|
||||
|
||||
// DEBUG
|
||||
// for (int s = start; s<samples; s++)
|
||||
// if (f.number == 1 && s > 500)
|
||||
// {
|
||||
// cout << iterate_channel_buffer[s] << endl;
|
||||
// }
|
||||
// else if (f.number == 2 && s < 34)
|
||||
// {
|
||||
// cout << iterate_channel_buffer[s] << endl;
|
||||
// }
|
||||
}
|
||||
|
||||
// Decrement remaining samples
|
||||
|
||||
Reference in New Issue
Block a user