added speed changes while maintaining audio pitch
This commit is contained in:
+2
-1
@@ -33,7 +33,8 @@ Clip::Clip(Sequence* s) :
|
||||
filter_graph(NULL),
|
||||
texture(NULL),
|
||||
fbo(NULL),
|
||||
autoscale(config.autoscale_by_default)
|
||||
autoscale(config.autoscale_by_default),
|
||||
maintain_audio_pitch(false)
|
||||
{
|
||||
reset();
|
||||
}
|
||||
|
||||
+2
-2
@@ -116,8 +116,8 @@ struct Clip
|
||||
long texture_frame;
|
||||
bool autoscale;
|
||||
|
||||
// audio playback variables
|
||||
// SwrContext* swr_ctx;
|
||||
// audio playback variables
|
||||
bool maintain_audio_pitch;
|
||||
int frame_sample_index;
|
||||
int audio_buffer_write;
|
||||
bool audio_reset;
|
||||
|
||||
Reference in New Issue
Block a user