libobs: Remove set but not read variable
This commit is contained in:
parent
4252c8a069
commit
4f49968f92
@ -302,7 +302,6 @@ static void set_fixed_audio_buffering(struct obs_core_audio *audio,
|
|||||||
{
|
{
|
||||||
struct ts_info new_ts;
|
struct ts_info new_ts;
|
||||||
size_t total_ms;
|
size_t total_ms;
|
||||||
size_t ms;
|
|
||||||
int ticks;
|
int ticks;
|
||||||
|
|
||||||
if (audio_buffering_maxed(audio))
|
if (audio_buffering_maxed(audio))
|
||||||
@ -314,7 +313,6 @@ static void set_fixed_audio_buffering(struct obs_core_audio *audio,
|
|||||||
ticks = audio->max_buffering_ticks - audio->total_buffering_ticks;
|
ticks = audio->max_buffering_ticks - audio->total_buffering_ticks;
|
||||||
audio->total_buffering_ticks += ticks;
|
audio->total_buffering_ticks += ticks;
|
||||||
|
|
||||||
ms = ticks * AUDIO_OUTPUT_FRAMES * 1000 / sample_rate;
|
|
||||||
total_ms = audio->total_buffering_ticks * AUDIO_OUTPUT_FRAMES * 1000 /
|
total_ms = audio->total_buffering_ticks * AUDIO_OUTPUT_FRAMES * 1000 /
|
||||||
sample_rate;
|
sample_rate;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user