@@ -40,3 +40,3 @@ typedef void (f_sample) (void *dst, const struct st_sample *src, int samples);
-/* 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];
@@ -357,3 +357,3 @@ static void set_algorithm( OPL_CH *CH)
-/* ---------- frequency counter for operater update ---------- */
+/* ---------- frequency counter for operator update ---------- */
static inline void CALC_FCSLOT(OPL_CH *CH,OPL_SLOT *SLOT)
@@ -642,3 +642,3 @@ static int OPLOpenTable( void )
- /* make sinwave table (total level offet) */
+ /* make sinwave table (total level offset) */
/* degree 0 = degree 180 = off */
@@ -1077,3 +1077,3 @@ FM_OPL *OPLCreate(int clock, int rate)
int state_size;
- int max_ch = 9; /* normaly 9 channels */
+ int max_ch = 9; /* normally 9 channels */
@@ -1094,3 +1094,3 @@ FM_OPL *OPLCreate(int clock, int rate)
OPL->max_ch = max_ch;
- /* init grobal tables */
+ /* init global tables */
OPL_initialize(OPL);
@@ -71,3 +71,3 @@ typedef struct fm_opl_f {
int max_ch; /* maximum channel */
- /* Rhythm sention */
+ /* Rhythm section */
uint8_t rhythm; /* Rhythm mode , key flag */
@@ -156,3 +156,3 @@ unsigned int gus_read(GUSEmuState * state, int port, int size)
int offset = 2 * (GUSregb(FunkSelReg3x3) & 0x0f);
- offset += ((int) GUSregb(VoiceSelReg3x2) & 0x1f) << 5; /* = Voice*32 + Funktion*2 */
+ offset += ((int) GUSregb(VoiceSelReg3x2) & 0x1f) << 5; /* = Voice*32 + Function*2 */
value_read = GUSregw(offset);
@@ -355,3 +355,3 @@ void gus_write(GUSEmuState * state, int port, int size, unsigned int data)
offset = 2 * (GUSregb(FunkSelReg3x3) & 0x0f);
- offset += (GUSregb(VoiceSelReg3x2) & 0x1f) << 5; /* = Voice*32 + Funktion*2 */
+ offset += (GUSregb(VoiceSelReg3x2) & 0x1f) << 5; /* = Voice*32 + Function*2 */
GUSregw(offset) = (uint16_t) ((GUSregw(offset) & readmask) | writedata);
@@ -420,3 +420,3 @@ enum {
-/* Pin widget capabilies */
+/* Pin widget capabilities */
#define AC_PINCAP_IMP_SENSE (1<<0) /* impedance sense capable */
@@ -485,3 +485,3 @@ enum {
-/* Processing capabilies */
+/* Processing capabilities */
#define AC_PCAP_BENIGN (1<<0)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> --- 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(-)