diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2020-09-08 23:50:32 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2020-09-08 23:50:32 -0700 |
commit | bd53002a2bf51d48992613601719d180fed09975 (patch) | |
tree | 39998f35101cb3854599c63caac58faf9e188573 | |
parent | 1f3db49e13f126bf047735a9ce84bccc8b3d75da (diff) |
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.
-rw-r--r-- | src/rmd_cache_audio.c | 4 | ||||
-rw-r--r-- | src/rmd_cache_audio.h | 4 | ||||
-rw-r--r-- | src/rmd_threads.c | 2 |
3 files changed, 5 insertions, 5 deletions
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); } |