From bd53002a2bf51d48992613601719d180fed09975 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Tue, 8 Sep 2020 23:50:32 -0700 Subject: cache_audio: s/sound/audio/ where appropriate Despite this listing already being named rmd_cache_audio, it used sound instead of audio for the api. --- src/rmd_cache_audio.c | 4 ++-- src/rmd_cache_audio.h | 4 ++-- src/rmd_threads.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/rmd_cache_audio.c b/src/rmd_cache_audio.c index 58892b6..76101f9 100644 --- a/src/rmd_cache_audio.c +++ b/src/rmd_cache_audio.c @@ -39,7 +39,7 @@ -void *rmdCacheSoundBuffer(ProgData *pdata) { +void *rmdCacheAudioBuffer(ProgData *pdata) { size_t write_size = pdata->periodsize * pdata->sound_framesize; #ifdef HAVE_LIBJACK @@ -51,7 +51,7 @@ void *rmdCacheSoundBuffer(ProgData *pdata) { } #endif - rmdThreadsSetName("rmdCacheSound"); + rmdThreadsSetName("rmdCacheAudio"); //We are simply going to throw sound on the disk. //It's sound is tiny compared to that of image, so diff --git a/src/rmd_cache_audio.h b/src/rmd_cache_audio.h index 1ba3221..377bc0a 100644 --- a/src/rmd_cache_audio.h +++ b/src/rmd_cache_audio.h @@ -31,12 +31,12 @@ /** -* Sound caching thread. Simply writes the pcm buffers on disk +* Audio caching thread. Simply writes the pcm buffers on disk * * \param pdata ProgData struct containing all program data * */ -void *rmdCacheSoundBuffer(ProgData *pdata); +void *rmdCacheAudioBuffer(ProgData *pdata); #endif diff --git a/src/rmd_threads.c b/src/rmd_threads.c index dcc9f51..7facba0 100644 --- a/src/rmd_threads.c +++ b/src/rmd_threads.c @@ -94,7 +94,7 @@ void rmdThreads(ProgData *pdata) { else pthread_create( &sound_cache_t, NULL, - (void *)rmdCacheSoundBuffer, + (void *)rmdCacheAudioBuffer, (void *)pdata); } -- cgit v1.2.3