summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound
diff options
context:
space:
mode:
authorGravatarGravatar Scott Stone <tafoid@gmail.com>2016-11-24 09:24:01 -0500
committerGravatarGravatar Scott Stone <tafoid@gmail.com>2016-11-24 09:24:01 -0500
commit30cda1d3e5b9195fbd1f23a3af4480666c750a34 (patch)
tree82f7b4b6bb3c61335c495d0925b393b212f6f3f0 /src/devices/sound
parent7746690ddf1b6b806de046ec54fee954f09e182e (diff)
A round of spelling/typographical fixes to source comments (nw)
Diffstat (limited to 'src/devices/sound')
-rw-r--r--src/devices/sound/315-5641.h2
-rw-r--r--src/devices/sound/beep.h2
-rw-r--r--src/devices/sound/disc_wav.h2
-rw-r--r--src/devices/sound/discrete.h42
-rw-r--r--src/devices/sound/es1373.h4
-rw-r--r--src/devices/sound/fm.cpp4
-rw-r--r--src/devices/sound/fm.h4
-rw-r--r--src/devices/sound/fm2612.cpp2
-rw-r--r--src/devices/sound/fmopl.cpp2
-rw-r--r--src/devices/sound/k054539.h2
-rw-r--r--src/devices/sound/mea8000.h2
-rw-r--r--src/devices/sound/msm5205.h2
-rw-r--r--src/devices/sound/msm5232.cpp2
-rw-r--r--src/devices/sound/nes_apu.cpp2
-rw-r--r--src/devices/sound/nes_apu.h2
-rw-r--r--src/devices/sound/nes_defs.h2
-rw-r--r--src/devices/sound/pokey.cpp4
-rw-r--r--src/devices/sound/pokey.h2
-rw-r--r--src/devices/sound/s14001a.h2
-rw-r--r--src/devices/sound/saa1099.h2
-rw-r--r--src/devices/sound/tms36xx.h2
-rw-r--r--src/devices/sound/tms5110.h2
-rw-r--r--src/devices/sound/vlm5030.h2
-rw-r--r--src/devices/sound/ym2151.h2
-rw-r--r--src/devices/sound/ym2413.h2
-rw-r--r--src/devices/sound/ymdeltat.h6
-rw-r--r--src/devices/sound/ymf262.cpp2
27 files changed, 53 insertions, 53 deletions
diff --git a/src/devices/sound/315-5641.h b/src/devices/sound/315-5641.h
index e92d8fe5875..b26328629fa 100644
--- a/src/devices/sound/315-5641.h
+++ b/src/devices/sound/315-5641.h
@@ -3,7 +3,7 @@
/* Sega 315-5641 / D77591 / 9442CA010 */
// this is the PICO sound chip, we are not sure if it's the same as a 7759 or not, it requires FIFO logic
-// which the 7759 does _not_ have but it is possible that is handled somewhere else on the PICO hardawre.
+// which the 7759 does _not_ have but it is possible that is handled somewhere else on the PICO hardware.
#include "upd7759.h"
diff --git a/src/devices/sound/beep.h b/src/devices/sound/beep.h
index d8edefa834a..fe946cd0d2f 100644
--- a/src/devices/sound/beep.h
+++ b/src/devices/sound/beep.h
@@ -32,7 +32,7 @@ public:
private:
sound_stream *m_stream; /* stream number */
int m_enable; /* enable beep */
- int m_frequency; /* set frequency - this can be changed using the appropiate function */
+ int m_frequency; /* set frequency - this can be changed using the appropriate function */
int m_incr; /* initial wave state */
int16_t m_signal; /* current signal */
};
diff --git a/src/devices/sound/disc_wav.h b/src/devices/sound/disc_wav.h
index 37f00626dfa..c9d6ea36a6c 100644
--- a/src/devices/sound/disc_wav.h
+++ b/src/devices/sound/disc_wav.h
@@ -113,7 +113,7 @@ public:
double vInFall; // voltage that triggers the gate input to go low (0V) on fall
double vInRise; // voltage that triggers the gate input to go high (vGate) on rise
double clamp; // voltage is clamped to -clamp ... vb+clamp if clamp>= 0;
- int options; // bitmaped options
+ int options; // bitmapped options
};
enum {
IS_TYPE1 = 0x00,
diff --git a/src/devices/sound/discrete.h b/src/devices/sound/discrete.h
index 8c33fcd82c9..3cf24dbb712 100644
--- a/src/devices/sound/discrete.h
+++ b/src/devices/sound/discrete.h
@@ -378,7 +378,7 @@
***********************************************************************
*
* DISCRETE_CONSTANT - Single output, fixed at compile time.
- * This is usefull as a placeholder for
+ * This is useful as a placeholder for
* incomplete circuits.
*
* .----------.
@@ -446,7 +446,7 @@
* it if needed.
* If you need to access a stream from a discrete task, the stream node
* must be part of that task. If a given stream is used in two tasks or
- * a task and the main task, you must declare two stream nodes acccessing the
+ * a task and the main task, you must declare two stream nodes accessing the
* same stream input NUM.
*
* EXAMPLES: see scramble, frogger
@@ -479,7 +479,7 @@
* types above if needed, or use separately with 7492.
* DISC_OUT_IS_ENERGY - This will uses the x_time to
* anti-alias the count. Might be
- * usefull if not connected to other
+ * useful if not connected to other
* modules.
* DISC_OUT_HAS_XTIME - This will generate x_time if
* being used with DISC_CLK_IS_FREQ.
@@ -513,7 +513,7 @@
***********************************************************************
*
* DISCRETE_LFSR_NOISE - Noise waveform generator node, generates
- * psuedo random digital stream at the requested
+ * pseudo random digital stream at the requested
* clock frequency.
*
* Declaration syntax
@@ -767,7 +767,7 @@
*
***********************************************************************
*
- * DISCRETE_TRIANGLEW - Triagular waveform generator, generates
+ * DISCRETE_TRIANGLEW - Triangular waveform generator, generates
* equal ramp up/down at chosen frequency
*
* .------------.
@@ -1148,7 +1148,7 @@
* vInRise voltage that triggers the gate input to go high (vGate) on rise
* vInFall voltage that triggers the gate input to go low (0V) on fall
* clamp internal diode clamp: [-clamp ... vb+clamp] if clamp>= 0
- * options bitmaped options
+ * options bitmapped options
*
* There is a macro DEFAULT_CD40XX_VALUES(_vB) which may be used to initialize the
* structure with .... = { 5, DEFAULT_CD40XX_VALUES(5), DISC_OSC_INVERTER_IS_TYPE1}
@@ -1602,7 +1602,7 @@
* DISC_OUT_ACTIVE_HIGH 0x00 - output active high (DEFAULT)
*
* NOTE: A width of 0 seconds will output a pulse of 1 sample.
- * This is useful for a guaranteed minimun pulse, regardless
+ * This is useful for a guaranteed minimum pulse, regardless
* of the sample rate.
*
* EXAMPLES: see Polaris
@@ -1805,7 +1805,7 @@
=======================================================================
***********************************************************************
*
- * DISCRETE_COMP_ADDER - Selecatable parallel component adder.
+ * DISCRETE_COMP_ADDER - Selectable parallel component adder.
* The total netlist out will be the parallel sum of all
* components with their corresponding data bit = 1.
* Set cDefault to 0 if not used.
@@ -1906,7 +1906,7 @@
*
* v_junction table can be set to nullptr if you want all diodes to
* default to a 0.5V drop. Otherwise use a
- * table of doubles to specify juntion voltages.
+ * table of doubles to specify junction voltages.
*
* EXAMPLES: see dkong
*
@@ -2202,7 +2202,7 @@
* When the output of the function is 0, then the connection is held at 0V or gnd.
* When the output of the function is 1, then the function is an open circuit.
*
- * DISC_OP_AMP_TRIGGER_FUNCTION_NONE - Not used, cicuit open.
+ * DISC_OP_AMP_TRIGGER_FUNCTION_NONE - Not used, circuit open.
* DISC_OP_AMP_TRIGGER_FUNCTION_TRG0 - Gnd when trigger 0 is 0.
* DISC_OP_AMP_TRIGGER_FUNCTION_TRG0_INV - Gnd when trigger 0 is 1.
* DISC_OP_AMP_TRIGGER_FUNCTION_TRG1 - Gnd when trigger 1 is 0.
@@ -2773,7 +2773,7 @@
* DISCRETE_RCDISC5(NODE_11,NODE_10,10,100,CAP_U(1))
*
* When enabled by NODE_10, C discharges from 10v as indicated by RC
- * of 100R & 1uF. If not enabled, the capcitors keeps it load and may
+ * of 100R & 1uF. If not enabled, the capacitors keeps it load and may
* still be charged through input1. The switch is assumed to be a CD4066,
* thus if not enabled the output will be drawn by R to GND since
* the switch is in high impedance mode.
@@ -3028,8 +3028,8 @@
* rate, then the output may change state more then once
* during the sample. Using this flag will cause
* the output to be the number of falling edges that
- * happened during the sample. This is usefull to feed
- * to counter circuits. The Output Type flag is ingnored
+ * happened during the sample. This is useful to feed
+ * to counter circuits. The Output Type flag is ignored
* when this flag is used.
* DISC_555_OUT_COUNT_R - Same as DISC_555_OUT_COUNT_F but with rising edges.
* DISC_555_OUT_ENERGY - Same SQW, but will help reduce aliasing effects.
@@ -3184,7 +3184,7 @@
* v_pos; - B+ voltage of 555
* v_cc_source; - Voltage of the Constant Current source
* v_out_high; - High output voltage of 555 (Defaults to v_pos - 1.2V)
- * v_cc_junction; - The voltage drop of the Constant Current source transitor
+ * v_cc_junction; - The voltage drop of the Constant Current source transistor
* (0 if Op Amp)
* }
*
@@ -3303,7 +3303,7 @@
*
* Waveform Types:
* DISC_566_OUT_SQUARE - Pin 3 Square Wave Output (DEFAULT)
- * DISC_566_OUT_ENERGY - Pin 3 anti-alaised Square Wave Output
+ * DISC_566_OUT_ENERGY - Pin 3 anti-aliased Square Wave Output
* DISC_566_OUT_TRIANGLE - Pin 4 Triangle Wave Output
* DISC_566_OUT_LOGIC - Internal Flip/Flop Output
* DISC_566_COUNT_F - # of falling edges
@@ -3636,7 +3636,7 @@ enum
#define DISC_OP_AMP_FILTER_TYPE_MASK (0xf0 | DISC_OP_AMP_IS_NORTON) // Used only internally.
-/* Sallen-Key filter Opions */
+/* Sallen-Key filter Options */
#define DISC_SALLEN_KEY_LOW_PASS 0x01
#define DISC_SALLEN_KEY_HIGH_PASS 0x02
@@ -3700,7 +3700,7 @@ enum
#define DISC_566_OUT_AC 0x10
#define DISC_566_OUT_SQUARE 0x00 /* Squarewave */
-#define DISC_566_OUT_ENERGY 0x01 /* anti-alaised Squarewave */
+#define DISC_566_OUT_ENERGY 0x01 /* anti-aliased Squarewave */
#define DISC_566_OUT_TRIANGLE 0x02 /* Triangle waveform */
#define DISC_566_OUT_LOGIC 0x03 /* 0/1 logic output */
#define DISC_566_OUT_COUNT_F 0x04
@@ -3882,16 +3882,16 @@ struct discrete_schmitt_osc_desc
double trshRise; // voltage that triggers the gate input to go high (vGate) on rise
double trshFall; // voltage that triggers the gate input to go low (0V) on fall
double vGate; // the output high voltage of the gate that gets fedback through rFeedback
- int options; // bitmaped options
+ int options; // bitmapped options
};
struct discrete_comp_adder_table
{
int type;
- double cDefault; // Default componet. 0 if not used.
+ double cDefault; // Default component. 0 if not used.
int length;
- double c[DISC_LADDER_MAXRES]; // Componet table
+ double c[DISC_LADDER_MAXRES]; // Component table
};
@@ -4031,7 +4031,7 @@ struct discrete_555_cc_desc
double v_pos; /* B+ voltage of 555 */
double v_cc_source; /* Voltage of the Constant Current source */
double v_out_high; /* High output voltage of 555 (Defaults to v_pos - 1.2V) */
- double v_cc_junction; /* The voltage drop of the Constant Current source transitor (0 if Op Amp) */
+ double v_cc_junction; /* The voltage drop of the Constant Current source transistor (0 if Op Amp) */
};
diff --git a/src/devices/sound/es1373.h b/src/devices/sound/es1373.h
index f1f0ca8e8d8..615a63c3fc2 100644
--- a/src/devices/sound/es1373.h
+++ b/src/devices/sound/es1373.h
@@ -87,8 +87,8 @@ struct chan_info {
uint32_t buf_rptr; // Address to sample cache memory
uint16_t buf_count; // Number of samples that have been played
uint16_t buf_size; // Number of samples minus one to play
- uint32_t pci_addr; // PCI Addresss for system memory accesses
- uint16_t pci_count; // Number of 32 bits transfered
+ uint32_t pci_addr; // PCI Address for system memory accesses
+ uint16_t pci_count; // Number of 32 bits transferred
uint16_t pci_size; // Total number of words (32 bits) minus one in system memory
};
diff --git a/src/devices/sound/fm.cpp b/src/devices/sound/fm.cpp
index d5ecc730f27..e9910028bb6 100644
--- a/src/devices/sound/fm.cpp
+++ b/src/devices/sound/fm.cpp
@@ -643,7 +643,7 @@ struct FM_OPN
uint32_t eg_cnt; /* global envelope generator counter */
uint32_t eg_timer; /* global envelope generator counter works at frequency = chipclock/64/3 */
uint32_t eg_timer_add; /* step of eg_timer */
- uint32_t eg_timer_overflow;/* envelope generator timer overlfows every 3 samples (on real chip) */
+ uint32_t eg_timer_overflow;/* envelope generator timer overflows every 3 samples (on real chip) */
/* there are 2048 FNUMs that can be generated using FNUM/BLK registers
@@ -2982,7 +2982,7 @@ void * ym2608_init(void *param, device_t *device, int clock, int rate,
F2608->deltaT.status_change_which_chip = F2608;
F2608->deltaT.status_change_EOS_bit = 0x04; /* status flag: set bit2 on End Of Sample */
F2608->deltaT.status_change_BRDY_bit = 0x08; /* status flag: set bit3 on BRDY */
- F2608->deltaT.status_change_ZERO_bit = 0x10; /* status flag: set bit4 if silence continues for more than 290 miliseconds while recording the ADPCM */
+ F2608->deltaT.status_change_ZERO_bit = 0x10; /* status flag: set bit4 if silence continues for more than 290 milliseconds while recording the ADPCM */
/* ADPCM Rhythm */
F2608->pcmbuf = device->memregion("ym2608")->base();
diff --git a/src/devices/sound/fm.h b/src/devices/sound/fm.h
index 8db59a3642f..f5be86ad8a1 100644
--- a/src/devices/sound/fm.h
+++ b/src/devices/sound/fm.h
@@ -25,7 +25,7 @@
#define FM_INTERNAL_TIMER 0
/* --- speedup optimize --- */
-/* busy flag enulation , The definition of FM_GET_TIME_NOW() is necessary. */
+/* busy flag emulation , The definition of FM_GET_TIME_NOW() is necessary. */
#define FM_BUSY_FLAG_SUPPORT 1
/* --- external SSG(YM2149/AY-3-8910)emulator interface port */
@@ -38,7 +38,7 @@ struct ssg_callbacks
void (*reset)(void *param);
};
-/* --- external callback funstions for realtime update --- */
+/* --- external callback functions for realtime update --- */
#if FM_BUSY_FLAG_SUPPORT
#define TIME_TYPE attotime
diff --git a/src/devices/sound/fm2612.cpp b/src/devices/sound/fm2612.cpp
index f9b2e133904..026cbbf7cd1 100644
--- a/src/devices/sound/fm2612.cpp
+++ b/src/devices/sound/fm2612.cpp
@@ -660,7 +660,7 @@ struct fm2612_FM_OPN
uint32_t eg_cnt; /* global envelope generator counter */
uint32_t eg_timer; /* global envelope generator counter works at frequency = chipclock/144/3 */
uint32_t eg_timer_add; /* step of eg_timer */
- uint32_t eg_timer_overflow;/* envelope generator timer overlfows every 3 samples (on real chip) */
+ uint32_t eg_timer_overflow;/* envelope generator timer overflows every 3 samples (on real chip) */
/* there are 2048 FNUMs that can be generated using FNUM/BLK registers
diff --git a/src/devices/sound/fmopl.cpp b/src/devices/sound/fmopl.cpp
index d113a8ddec5..fe4d80a1bc6 100644
--- a/src/devices/sound/fmopl.cpp
+++ b/src/devices/sound/fmopl.cpp
@@ -255,7 +255,7 @@ struct FM_OPL
uint32_t eg_cnt; /* global envelope generator counter */
uint32_t eg_timer; /* global envelope generator counter works at frequency = chipclock/72 */
uint32_t eg_timer_add; /* step of eg_timer */
- uint32_t eg_timer_overflow; /* envelope generator timer overlfows every 1 sample (on real chip) */
+ uint32_t eg_timer_overflow; /* envelope generator timer overflows every 1 sample (on real chip) */
uint8_t rhythm; /* Rhythm mode */
diff --git a/src/devices/sound/k054539.h b/src/devices/sound/k054539.h
index 85b5d3b0d82..11991e1155b 100644
--- a/src/devices/sound/k054539.h
+++ b/src/devices/sound/k054539.h
@@ -59,7 +59,7 @@ public:
Note that the eight PCM channels of a K054539 do not have separate
volume controls. Considering the global attenuation equation may not
be entirely accurate, k054539_set_gain() provides means to control
- channel gain. It can be called anywhere but preferrably from
+ channel gain. It can be called anywhere but preferably from
DRIVER_INIT().
Parameters:
diff --git a/src/devices/sound/mea8000.h b/src/devices/sound/mea8000.h
index ec468a309fb..82723bbf5c7 100644
--- a/src/devices/sound/mea8000.h
+++ b/src/devices/sound/mea8000.h
@@ -27,7 +27,7 @@
#define NOISE_LEN 8192
-/* finite machine state controling frames */
+/* finite machine state controlling frames */
enum mea8000_state
{
MEA8000_STOPPED, /* nothing to do, timer disabled */
diff --git a/src/devices/sound/msm5205.h b/src/devices/sound/msm5205.h
index f45b4a67a99..edf38744227 100644
--- a/src/devices/sound/msm5205.h
+++ b/src/devices/sound/msm5205.h
@@ -58,7 +58,7 @@ public:
// if VCLK and reset or data is changed at the same time,
// call vclk_w after data_w and reset_w.
void vclk_w(int vclk);
- // option , selected pin seletor
+ // option , selected pin selector
void playmode_w(int select);
void change_clock_w(int32_t clock);
diff --git a/src/devices/sound/msm5232.cpp b/src/devices/sound/msm5232.cpp
index bae848d5414..7ffd927c055 100644
--- a/src/devices/sound/msm5232.cpp
+++ b/src/devices/sound/msm5232.cpp
@@ -249,7 +249,7 @@ void msm5232_device::init_tables()
#if 0
{
- /* rate tables (in miliseconds) */
+ /* rate tables (in milliseconds) */
static const int ATBL[8] = { 2,4,8,16, 32,64, 32,64};
static const int DTBL[16]= { 40,80,160,320, 640,1280, 640,1280,
333,500,1000,2000, 4000,8000, 4000,8000};
diff --git a/src/devices/sound/nes_apu.cpp b/src/devices/sound/nes_apu.cpp
index 3c5004ea2b3..39d8d32613d 100644
--- a/src/devices/sound/nes_apu.cpp
+++ b/src/devices/sound/nes_apu.cpp
@@ -9,7 +9,7 @@
Who Wants to Know? (wwtk@mail.com)
This core is written with the advise and consent of Matthew Conte and is
- released under the GNU Public License. This core is freely avaiable for
+ released under the GNU Public License. This core is freely available for
use in any freeware project, subject to the following terms:
Any modifications to this code must be duly noted in the source and
diff --git a/src/devices/sound/nes_apu.h b/src/devices/sound/nes_apu.h
index 62e07499646..067f98deffd 100644
--- a/src/devices/sound/nes_apu.h
+++ b/src/devices/sound/nes_apu.h
@@ -9,7 +9,7 @@
Who Wants to Know? (wwtk@mail.com)
This core is written with the advise and consent of Matthew Conte and is
- released under the GNU Public License. This core is freely avaiable for
+ released under the GNU Public License. This core is freely available for
use in any freeware project, subject to the following terms:
Any modifications to this code must be duly noted in the source and
diff --git a/src/devices/sound/nes_defs.h b/src/devices/sound/nes_defs.h
index 71614b31cd6..29a9de4c016 100644
--- a/src/devices/sound/nes_defs.h
+++ b/src/devices/sound/nes_defs.h
@@ -9,7 +9,7 @@
Who Wants to Know? (wwtk@mail.com)
This core is written with the advise and consent of Matthew Conte and is
- released under the GNU Public License. This core is freely avaiable for
+ released under the GNU Public License. This core is freely available for
use in any freeware project, subject to the following terms:
Any modifications to this code must be duly noted in the source and
diff --git a/src/devices/sound/pokey.cpp b/src/devices/sound/pokey.cpp
index 8c98cff60ec..bbbe51707d8 100644
--- a/src/devices/sound/pokey.cpp
+++ b/src/devices/sound/pokey.cpp
@@ -7,7 +7,7 @@
* Based on original info found in Ron Fries' Pokey emulator,
* with additions by Brad Oliver, Eric Smith and Juergen Buchmueller,
* paddle (a/d conversion) details from the Atari 400/800 Hardware Manual.
- * Polynome algorithms according to info supplied by Perry McFarlane.
+ * Polynomial algorithms according to info supplied by Perry McFarlane.
*
* 4.6:
* [1] http://ploguechipsounds.blogspot.de/2009/10/how-i-recorded-and-decoded-pokeys.html
@@ -28,7 +28,7 @@
* new RNG give this expected result now, bits #0-7 of the 9 bit poly.
* - reading the RNG returns the shift register contents ^ 0xff.
* That way resetting the Pokey with SKCTL (which resets the
- * polynome shifters to 0) returns the expected 0xff value.
+ * polynomial shifters to 0) returns the expected 0xff value.
* 4.4:
* - reversed sample values to make OFF channels produce a zero signal.
* actually de-reversed them; don't remember that I reversed them ;-/
diff --git a/src/devices/sound/pokey.h b/src/devices/sound/pokey.h
index 45d33b62e8d..5918bec7829 100644
--- a/src/devices/sound/pokey.h
+++ b/src/devices/sound/pokey.h
@@ -7,7 +7,7 @@
* Based on original info found in Ron Fries' Pokey emulator,
* with additions by Brad Oliver, Eric Smith and Juergen Buchmueller.
* paddle (a/d conversion) details from the Atari 400/800 Hardware Manual.
- * Polynome algorithms according to info supplied by Perry McFarlane.
+ * Polynomial algorithms according to info supplied by Perry McFarlane.
*
*****************************************************************************/
diff --git a/src/devices/sound/s14001a.h b/src/devices/sound/s14001a.h
index 1b1c8e1eda9..f73840102d9 100644
--- a/src/devices/sound/s14001a.h
+++ b/src/devices/sound/s14001a.h
@@ -120,7 +120,7 @@ private:
// input pins
bool m_bStart;
- uint8_t m_uWord; // 6 bit word noumber to be spoken
+ uint8_t m_uWord; // 6 bit word number to be spoken
// emulator variables
// statistics
diff --git a/src/devices/sound/saa1099.h b/src/devices/sound/saa1099.h
index b14e7142440..58b29c58989 100644
--- a/src/devices/sound/saa1099.h
+++ b/src/devices/sound/saa1099.h
@@ -61,7 +61,7 @@ struct saa1099_noise
/* vars to simulate the noise generator output */
double counter;
double freq;
- int level; /* noise polynomal shifter */
+ int level; /* noise polynomial shifter */
};
diff --git a/src/devices/sound/tms36xx.h b/src/devices/sound/tms36xx.h
index 21a1365b150..07b15cb45a4 100644
--- a/src/devices/sound/tms36xx.h
+++ b/src/devices/sound/tms36xx.h
@@ -124,7 +124,7 @@ private:
int m_counter[12]; // tone frequency counter
int m_frequency[12]; // tone frequency
int m_output; // output signal bits
- int m_enable; // mask which harmoics
+ int m_enable; // mask which harmonics
int m_tune_num; // tune currently playing
int m_tune_ofs; // note currently playing
diff --git a/src/devices/sound/tms5110.h b/src/devices/sound/tms5110.h
index ac7ec87d1d4..569b943a575 100644
--- a/src/devices/sound/tms5110.h
+++ b/src/devices/sound/tms5110.h
@@ -16,7 +16,7 @@
#define TMS5110_CMD_RESET (0) /* 0 0 0 x | 1 */
#define TMS5110_CMD_LOAD_ADDRESS (2) /* 0 0 1 x | 2 */
#define TMS5110_CMD_OUTPUT (4) /* 0 1 0 x | 3 */
-#define TMS5110_CMD_SPKSLOW (6) /* 0 1 1 x | 1 | Note: this command is undocumented on the datasheets, it only appears on the patents. It might not actually work properly on some of the real chips as manufactured. Acts the same as CMD_SPEAK, but makes the interpolator take three A cycles whereever it would normally only take one, effectively making speech of any given word take twice as long as normal. */
+#define TMS5110_CMD_SPKSLOW (6) /* 0 1 1 x | 1 | Note: this command is undocumented on the datasheets, it only appears on the patents. It might not actually work properly on some of the real chips as manufactured. Acts the same as CMD_SPEAK, but makes the interpolator take three A cycles wherever it would normally only take one, effectively making speech of any given word take twice as long as normal. */
#define TMS5110_CMD_READ_BIT (8) /* 1 0 0 x | 1 */
#define TMS5110_CMD_SPEAK (10) /* 1 0 1 x | 1 */
#define TMS5110_CMD_READ_BRANCH (12) /* 1 1 0 x | 1 */
diff --git a/src/devices/sound/vlm5030.h b/src/devices/sound/vlm5030.h
index a1f41e03434..88bbcc19f98 100644
--- a/src/devices/sound/vlm5030.h
+++ b/src/devices/sound/vlm5030.h
@@ -60,7 +60,7 @@ private:
uint8_t m_parameter;
uint8_t m_phase;
- /* state of option paramter */
+ /* state of option parameter */
int m_frame_size;
int m_pitch_offset;
uint8_t m_interp_step;
diff --git a/src/devices/sound/ym2151.h b/src/devices/sound/ym2151.h
index 960a906d2d0..0858a01abb9 100644
--- a/src/devices/sound/ym2151.h
+++ b/src/devices/sound/ym2151.h
@@ -187,7 +187,7 @@ private:
uint32_t eg_cnt; /* global envelope generator counter */
uint32_t eg_timer; /* global envelope generator counter works at frequency = chipclock/64/3 */
uint32_t eg_timer_add; /* step of eg_timer */
- uint32_t eg_timer_overflow; /* envelope generator timer overlfows every 3 samples (on real chip) */
+ uint32_t eg_timer_overflow; /* envelope generator timer overflows every 3 samples (on real chip) */
uint32_t lfo_phase; /* accumulated LFO phase (0 to 255) */
uint32_t lfo_timer; /* LFO timer */
diff --git a/src/devices/sound/ym2413.h b/src/devices/sound/ym2413.h
index 33f72db1ef8..aac803e46bc 100644
--- a/src/devices/sound/ym2413.h
+++ b/src/devices/sound/ym2413.h
@@ -130,7 +130,7 @@ private:
uint32_t eg_cnt; /* global envelope generator counter */
uint32_t eg_timer; /* global envelope generator counter works at frequency = chipclock/72 */
uint32_t eg_timer_add; /* step of eg_timer */
- uint32_t eg_timer_overflow; /* envelope generator timer overlfows every 1 sample (on real chip) */
+ uint32_t eg_timer_overflow; /* envelope generator timer overflows every 1 sample (on real chip) */
uint8_t rhythm; /* Rhythm mode */
diff --git a/src/devices/sound/ymdeltat.h b/src/devices/sound/ymdeltat.h
index 10c3df7c52e..364ef4d4fe6 100644
--- a/src/devices/sound/ymdeltat.h
+++ b/src/devices/sound/ymdeltat.h
@@ -15,7 +15,7 @@ typedef void (*STATUS_CHANGE_HANDLER)(void *chip, uint8_t status_bits);
/* DELTA-T (adpcm type B) struct */
-struct YM_DELTAT { /* AT: rearranged and tigntened structure */
+struct YM_DELTAT { /* AT: rearranged and tightened structure */
uint8_t *memory;
int32_t *output_pointer;/* pointer of output pointers */
int32_t *pan; /* pan : &output_pointer[pan] */
@@ -27,7 +27,7 @@ struct YM_DELTAT { /* AT: rearranged and tigntened structure */
uint32_t memory_size;
int output_range;
uint32_t now_addr; /* current address */
- uint32_t now_step; /* currect step */
+ uint32_t now_step; /* correct step */
uint32_t step; /* step */
uint32_t start; /* start address */
uint32_t limit; /* limit address */
@@ -62,7 +62,7 @@ struct YM_DELTAT { /* AT: rearranged and tigntened structure */
void * status_change_which_chip; /* this chip id */
uint8_t status_change_EOS_bit; /* 1 on End Of Sample (record/playback/cycle time of AD/DA converting has passed)*/
uint8_t status_change_BRDY_bit; /* 1 after recording 2 datas (2x4bits) or after reading/writing 1 data */
- uint8_t status_change_ZERO_bit; /* 1 if silence lasts for more than 290 miliseconds on ADPCM recording */
+ uint8_t status_change_ZERO_bit; /* 1 if silence lasts for more than 290 milliseconds on ADPCM recording */
/* neither Y8950 nor YM2608 can generate IRQ when PCMBSY bit changes, so instead of above,
** the statusflag gets ORed with PCM_BSY (below) (on each read of statusflag of Y8950 and YM2608)
diff --git a/src/devices/sound/ymf262.cpp b/src/devices/sound/ymf262.cpp
index c5829f69850..05af102bd85 100644
--- a/src/devices/sound/ymf262.cpp
+++ b/src/devices/sound/ymf262.cpp
@@ -228,7 +228,7 @@ struct OPL3
uint32_t eg_cnt; /* global envelope generator counter */
uint32_t eg_timer; /* global envelope generator counter works at frequency = chipclock/288 (288=8*36) */
uint32_t eg_timer_add; /* step of eg_timer */
- uint32_t eg_timer_overflow; /* envelope generator timer overlfows every 1 sample (on real chip) */
+ uint32_t eg_timer_overflow; /* envelope generator timer overflows every 1 sample (on real chip) */
uint32_t fn_tab[1024]; /* fnumber->increment counter */