diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2020-09-08 23:49:15 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2020-09-08 23:49:15 -0700 |
commit | 1f3db49e13f126bf047735a9ce84bccc8b3d75da (patch) | |
tree | 8bc0347bcc72b1e24365b7a5650649154076f429 /src/rmd_encode_audio_buffer.c | |
parent | cd2f6c3aca998c7e68aa6e4ccd0ad260426d28e8 (diff) |
encode_audio_buffer: s/sound/audio/ where appropriate
Largely mechanical cosmetic changes for more consistency
Diffstat (limited to 'src/rmd_encode_audio_buffer.c')
-rw-r--r-- | src/rmd_encode_audio_buffer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rmd_encode_audio_buffer.c b/src/rmd_encode_audio_buffer.c index 1aa9943..0be0e2f 100644 --- a/src/rmd_encode_audio_buffer.c +++ b/src/rmd_encode_audio_buffer.c @@ -37,7 +37,7 @@ #include <errno.h> -void *rmdEncodeSoundBuffer(ProgData *pdata) { +void *rmdEncodeAudioBuffer(ProgData *pdata) { int sampread = pdata->periodsize; #ifdef HAVE_LIBJACK void *jackbuf = NULL; @@ -46,7 +46,7 @@ void *rmdEncodeSoundBuffer(ProgData *pdata) { jackbuf = malloc(pdata->sound_framesize * pdata->jdata->buffersize); #endif - rmdThreadsSetName("rmdEncodeSound"); + rmdThreadsSetName("rmdEncodeAudio"); pdata->v_encoding_clean = 0; while (pdata->running) { @@ -136,7 +136,7 @@ void *rmdEncodeSoundBuffer(ProgData *pdata) { pthread_exit(&errno); } -void rmdSyncEncodeSoundBuffer(ProgData *pdata, signed char *buff) { +void rmdSyncEncodeAudioBuffer(ProgData *pdata, signed char *buff) { int sampread = (buff != NULL) ? pdata->periodsize : 0; float **vorbis_buffer = vorbis_analysis_buffer(&pdata->enc_data->m_vo_dsp, sampread); |