diff mbox series

[03/11] audio: rename hardware store to backend

Message ID 20221218171539.11193-3-vr_qemu@t-online.de (mailing list archive)
State New, archived
Headers show
Series audio: more improvements | expand

Commit Message

Volker Rümelin Dec. 18, 2022, 5:15 p.m. UTC
Use a consistent friendly name for the HWVoiceOut and HWVoiceIn
structures.

Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
---
 audio/audio_template.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Thomas Huth Dec. 29, 2022, 9:39 a.m. UTC | #1
On 18/12/2022 18.15, Volker Rümelin wrote:
> Use a consistent friendly name for the HWVoiceOut and HWVoiceIn
> structures.
> 
> Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
> ---
>   audio/audio_template.h | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/audio/audio_template.h b/audio/audio_template.h
> index ee320a2e3f..ac744d3484 100644
> --- a/audio/audio_template.h
> +++ b/audio/audio_template.h
> @@ -509,8 +509,8 @@ SW *glue (AUD_open_, TYPE) (
>           HW *hw = sw->hw;
>   
>           if (!hw) {
> -            dolog ("Internal logic error voice `%s' has no hardware store\n",
> -                   SW_NAME (sw));
> +            dolog("Internal logic error: voice `%s' has no backend\n",
> +                  SW_NAME(sw));
>               goto fail;
>           }
>   

Reviewed-by: Thomas Huth <thuth@redhat.com>
diff mbox series

Patch

diff --git a/audio/audio_template.h b/audio/audio_template.h
index ee320a2e3f..ac744d3484 100644
--- a/audio/audio_template.h
+++ b/audio/audio_template.h
@@ -509,8 +509,8 @@  SW *glue (AUD_open_, TYPE) (
         HW *hw = sw->hw;
 
         if (!hw) {
-            dolog ("Internal logic error voice `%s' has no hardware store\n",
-                   SW_NAME (sw));
+            dolog("Internal logic error: voice `%s' has no backend\n",
+                  SW_NAME(sw));
             goto fail;
         }