You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Refactored the audio waveform generation into the Timeline class. Added the ability to set the volume, and the ability to mix layers of audio samples together. Also, made the waveform's have a transparent background, so they can be layered on top of other layers.
This commit is contained in:
@@ -872,7 +872,7 @@ void FFmpegReader::ProcessAudioPacket(int requested_frame, int target_frame, int
|
||||
f = CreateFrame(starting_frame_number);
|
||||
|
||||
// Add samples for current channel to the frame
|
||||
f->AddAudio(channel_filter, start, iterate_channel_buffer, samples, 1.0f);
|
||||
f->AddAudio(true, channel_filter, start, iterate_channel_buffer, samples, 1.0f);
|
||||
|
||||
#pragma omp critical (openshot_cache)
|
||||
// Add or update cache
|
||||
|
||||
Reference in New Issue
Block a user