From nobody Thu Nov 28 12:52:10 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1692774025066775.8571942197954; Wed, 23 Aug 2023 00:00:25 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qYhli-0004FO-JB; Wed, 23 Aug 2023 02:55:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qYhlg-0004F1-7L for qemu-devel@nongnu.org; Wed, 23 Aug 2023 02:55:04 -0400 Received: from isrv.corpit.ru ([86.62.121.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qYhle-0001MJ-95 for qemu-devel@nongnu.org; Wed, 23 Aug 2023 02:55:03 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 5DE701C40C for ; Wed, 23 Aug 2023 09:54:22 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id D37A0212AE; Wed, 23 Aug 2023 09:54:02 +0300 (MSK) Received: (nullmailer pid 1919487 invoked by uid 1000); Wed, 23 Aug 2023 06:54:00 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Michael Tokarev Subject: [PATCH 18/24] audio: spelling fixes Date: Wed, 23 Aug 2023 09:53:29 +0300 Message-Id: <20230823065335.1919380-17-mjt@tls.msk.ru> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230823055155.1917375-1-mjt@tls.msk.ru> References: <20230823055155.1917375-1-mjt@tls.msk.ru> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=86.62.121.231; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZM-MESSAGEID: 1692774025695100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: Michael Tokarev Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- audio/mixeng.h | 2 +- hw/audio/fmopl.c | 8 ++++---- hw/audio/fmopl.h | 2 +- hw/audio/gusemu_hal.c | 4 ++-- hw/audio/intel-hda-defs.h | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/audio/mixeng.h b/audio/mixeng.h index f9de7cffeb..a5f56d2c26 100644 --- a/audio/mixeng.h +++ b/audio/mixeng.h @@ -39,5 +39,5 @@ typedef void (t_sample) (struct st_sample *dst, const voi= d *src, int samples); typedef void (f_sample) (void *dst, const struct st_sample *src, int sampl= es); =20 -/* indices: [stereo][signed][swap endiannes][8, 16 or 32-bits] */ +/* indices: [stereo][signed][swap endianness][8, 16 or 32-bits] */ extern t_sample *mixeng_conv[2][2][2][3]; extern f_sample *mixeng_clip[2][2][2][3]; diff --git a/hw/audio/fmopl.c b/hw/audio/fmopl.c index 8a71a569fa..a63ad0f04d 100644 --- a/hw/audio/fmopl.c +++ b/hw/audio/fmopl.c @@ -356,5 +356,5 @@ static void set_algorithm( OPL_CH *CH) } =20 -/* ---------- frequency counter for operater update ---------- */ +/* ---------- frequency counter for operator update ---------- */ static inline void CALC_FCSLOT(OPL_CH *CH,OPL_SLOT *SLOT) { @@ -641,5 +641,5 @@ static int OPLOpenTable( void ) } =20 - /* make sinwave table (total level offet) */ + /* make sinwave table (total level offset) */ /* degree 0 =3D degree 180 =3D off */ SIN_TABLE[0] =3D SIN_TABLE[SIN_ENT/2] =3D &TL_TABLE[EG_ENT-1]; @@ -1076,5 +1076,5 @@ FM_OPL *OPLCreate(int clock, int rate) FM_OPL *OPL; int state_size; - int max_ch =3D 9; /* normaly 9 channels */ + int max_ch =3D 9; /* normally 9 channels */ =20 if( OPL_LockTable() =3D=3D-1) return NULL; @@ -1093,5 +1093,5 @@ FM_OPL *OPLCreate(int clock, int rate) OPL->rate =3D rate; OPL->max_ch =3D max_ch; - /* init grobal tables */ + /* init global tables */ OPL_initialize(OPL); /* reset chip */ diff --git a/hw/audio/fmopl.h b/hw/audio/fmopl.h index e008e72d7a..89086b93f4 100644 --- a/hw/audio/fmopl.h +++ b/hw/audio/fmopl.h @@ -70,5 +70,5 @@ typedef struct fm_opl_f { OPL_CH *P_CH; /* pointer of CH */ int max_ch; /* maximum channel */ - /* Rhythm sention */ + /* Rhythm section */ uint8_t rhythm; /* Rhythm mode , key flag */ /* time tables */ diff --git a/hw/audio/gusemu_hal.c b/hw/audio/gusemu_hal.c index 5b9a14ee21..f159978b49 100644 --- a/hw/audio/gusemu_hal.c +++ b/hw/audio/gusemu_hal.c @@ -155,5 +155,5 @@ unsigned int gus_read(GUSEmuState * state, int port, in= t size) { int offset =3D 2 * (GUSregb(FunkSelReg3x3) & 0= x0f); - offset +=3D ((int) GUSregb(VoiceSelReg3x2) & 0x1f) << 5; /= * =3D Voice*32 + Funktion*2 */ + offset +=3D ((int) GUSregb(VoiceSelReg3x2) & 0x1f) << 5; /= * =3D Voice*32 + Function*2 */ value_read =3D GUSregw(offset); } @@ -354,5 +354,5 @@ void gus_write(GUSEmuState * state, int port, int size,= unsigned int data) break; /* reset flag active? */ offset =3D 2 * (GUSregb(FunkSelReg3x3) & 0x0f); - offset +=3D (GUSregb(VoiceSelReg3x2) & 0x1f) << 5; /* = =3D Voice*32 + Funktion*2 */ + offset +=3D (GUSregb(VoiceSelReg3x2) & 0x1f) << 5; /* = =3D Voice*32 + Function*2 */ GUSregw(offset) =3D (uint16_t) ((GUSregw(offset) & rea= dmask) | writedata); } diff --git a/hw/audio/intel-hda-defs.h b/hw/audio/intel-hda-defs.h index 2e37e5b874..261bdb48ff 100644 --- a/hw/audio/intel-hda-defs.h +++ b/hw/audio/intel-hda-defs.h @@ -419,5 +419,5 @@ enum { #define AC_UNSOL_RES_CP_READY (1<<0) /* content protection */ =20 -/* Pin widget capabilies */ +/* Pin widget capabilities */ #define AC_PINCAP_IMP_SENSE (1<<0) /* impedance sense capable */ #define AC_PINCAP_TRIG_REQ (1<<1) /* trigger required */ @@ -484,5 +484,5 @@ enum { #define AC_PWRST_D3 0x03 =20 -/* Processing capabilies */ +/* Processing capabilities */ #define AC_PCAP_BENIGN (1<<0) #define AC_PCAP_NUM_COEF (0xff<<8) --=20 2.39.2