From 1050ffc09e607d3a8e1e56ee74bde5326651ca73 Mon Sep 17 00:00:00 2001 From: Seppo Ingalsuo Date: Tue, 29 Oct 2024 15:39:47 +0200 Subject: [PATCH] Audio: Volume: Fix some typos in comment texts Changed adsress -> address, also the comments are edited to avoid to be mistaken as Doxygen. Signed-off-by: Seppo Ingalsuo --- src/audio/volume/volume_hifi3.c | 6 +++--- src/audio/volume/volume_hifi4.c | 6 +++--- src/audio/volume/volume_hifi4_with_peakvol.c | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/audio/volume/volume_hifi3.c b/src/audio/volume/volume_hifi3.c index 3a919cae6266..5f3d7f2275f3 100644 --- a/src/audio/volume/volume_hifi3.c +++ b/src/audio/volume/volume_hifi3.c @@ -80,7 +80,7 @@ static void vol_s24_to_s24_s32(struct processing_module *mod, struct input_strea const int inc = sizeof(ae_f32x2); int samples = channels_count * frames; - /** to ensure the adsress is 8-byte aligned and avoid risk of + /* to ensure the address is 8-byte aligned and avoid risk of * error loading of volume gain while the cd->vol would be set * as circular buffer */ @@ -219,7 +219,7 @@ static void vol_s32_to_s24_s32(struct processing_module *mod, struct input_strea ae_f32x2 *out = (ae_f32x2 *)audio_stream_wrap(sink, (char *)audio_stream_get_wptr(sink) + bsink->size); - /** to ensure the address is 8-byte aligned and avoid risk of + /* to ensure the address is 8-byte aligned and avoid risk of * error loading of volume gain while the cd->vol would be set * as circular buffer */ @@ -361,7 +361,7 @@ static void vol_s16_to_s16(struct processing_module *mod, struct input_stream_bu const int inc = sizeof(ae_f32x2); int samples = channels_count * frames; - /** to ensure the adsress is 8-byte aligned and avoid risk of + /* to ensure the address is 8-byte aligned and avoid risk of * error loading of volume gain while the cd->vol would be set * as circular buffer */ diff --git a/src/audio/volume/volume_hifi4.c b/src/audio/volume/volume_hifi4.c index 96259297b9c3..6acecb2fb9b5 100644 --- a/src/audio/volume/volume_hifi4.c +++ b/src/audio/volume/volume_hifi4.c @@ -80,7 +80,7 @@ static void vol_s24_to_s24_s32(struct processing_module *mod, struct input_strea const int inc = sizeof(ae_f32x2); int samples = channels_count * frames; - /** to ensure the adsress is 8-byte aligned and avoid risk of + /* to ensure the address is 8-byte aligned and avoid risk of * error loading of volume gain while the cd->vol would be set * as circular buffer */ @@ -219,7 +219,7 @@ static void vol_s32_to_s24_s32(struct processing_module *mod, struct input_strea ae_f32x2 *out = (ae_f32x2 *)audio_stream_wrap(sink, (char *)audio_stream_get_wptr(sink) + bsink->size); - /** to ensure the address is 8-byte aligned and avoid risk of + /* to ensure the address is 8-byte aligned and avoid risk of * error loading of volume gain while the cd->vol would be set * as circular buffer */ @@ -360,7 +360,7 @@ static void vol_s16_to_s16(struct processing_module *mod, struct input_stream_bu const int inc = sizeof(ae_f32x2); int samples = channels_count * frames; - /** to ensure the adsress is 8-byte aligned and avoid risk of + /* to ensure the address is 8-byte aligned and avoid risk of * error loading of volume gain while the cd->vol would be set * as circular buffer */ diff --git a/src/audio/volume/volume_hifi4_with_peakvol.c b/src/audio/volume/volume_hifi4_with_peakvol.c index cc85f6076b12..75e95d2e7dca 100644 --- a/src/audio/volume/volume_hifi4_with_peakvol.c +++ b/src/audio/volume/volume_hifi4_with_peakvol.c @@ -77,7 +77,7 @@ static void vol_s24_to_s24_s32(struct processing_module *mod, struct input_strea AE_SETCBEGIN1(cd->peak_vol); AE_SETCEND1(cd->peak_vol + channels_count * 2); - /** to ensure the adsress is 8-byte aligned and avoid risk of + /* to ensure the address is 8-byte aligned and avoid risk of * error loading of volume gain while the cd->vol would be set * as circular buffer */ @@ -244,7 +244,7 @@ static void vol_s32_to_s24_s32(struct processing_module *mod, struct input_strea AE_SETCBEGIN1(cd->peak_vol); AE_SETCEND1(cd->peak_vol + channels_count * 2); - /** to ensure the address is 8-byte aligned and avoid risk of + /* to ensure the address is 8-byte aligned and avoid risk of * error loading of volume gain while the cd->vol would be set * as circular buffer */ @@ -413,7 +413,7 @@ static void vol_s16_to_s16(struct processing_module *mod, struct input_stream_bu AE_SETCBEGIN1(cd->peak_vol); AE_SETCEND1(cd->peak_vol + channels_count * 4); - /** to ensure the adsress is 8-byte aligned and avoid risk of + /* to ensure the address is 8-byte aligned and avoid risk of * error loading of volume gain while the cd->vol would be set * as circular buffer */