summaryrefslogtreecommitdiff
path: root/src/rmd_encode_audio_buffer.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-11-10 20:33:29 -0800
committerVito Caputo <vcaputo@pengaru.com>2020-11-11 23:55:52 -0800
commit72a0ce71285034853c1720b738db348fdcec5228 (patch)
treea0a368319fad24d6757d7af458b8884f07c5f0f8 /src/rmd_encode_audio_buffer.c
parent371ad8abf4494837a77ab6c443c0d534652e3dbd (diff)
*: add _us suffixes to {frame,period}time names
Make the names reflect their units of microseconds
Diffstat (limited to 'src/rmd_encode_audio_buffer.c')
-rw-r--r--src/rmd_encode_audio_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rmd_encode_audio_buffer.c b/src/rmd_encode_audio_buffer.c
index 4e20a1c..db4629f 100644
--- a/src/rmd_encode_audio_buffer.c
+++ b/src/rmd_encode_audio_buffer.c
@@ -175,5 +175,5 @@ void rmdSyncEncodeAudioBuffer(ProgData *pdata, signed char *buff)
if (!pdata->running)
pdata->enc_data->m_ogg_vs.e_o_s = 1;
- pdata->avd -= pdata->periodtime;
+ pdata->avd -= pdata->periodtime_us;
}
© All Rights Reserved