summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/audio
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/audio')
-rw-r--r--src/mess/audio/channelf.c4
-rw-r--r--src/mess/audio/channelf.h2
-rw-r--r--src/mess/audio/special.c10
-rw-r--r--src/mess/audio/svision.c5
-rw-r--r--src/mess/audio/vc4000.c10
-rw-r--r--src/mess/audio/wswan.c40
6 files changed, 33 insertions, 38 deletions
diff --git a/src/mess/audio/channelf.c b/src/mess/audio/channelf.c
index 8c806a1b004..09cd7786dfd 100644
--- a/src/mess/audio/channelf.c
+++ b/src/mess/audio/channelf.c
@@ -16,9 +16,9 @@ channelf_sound_device::channelf_sound_device(const machine_config &mconfig, cons
m_envelope(0),
m_sample_counter(0),
m_forced_ontime(0),
- m_min_ontime(0)
+ m_min_ontime(0)
{
-
+
}
//-------------------------------------------------
diff --git a/src/mess/audio/channelf.h b/src/mess/audio/channelf.h
index 9bdbb628c16..339e26ca1c0 100644
--- a/src/mess/audio/channelf.h
+++ b/src/mess/audio/channelf.h
@@ -12,7 +12,7 @@ class channelf_sound_device : public device_t,
{
public:
channelf_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
-
+
void sound_w(int mode);
protected:
// device-level overrides
diff --git a/src/mess/audio/special.c b/src/mess/audio/special.c
index 8afb2c6a915..d5d13c96f32 100644
--- a/src/mess/audio/special.c
+++ b/src/mess/audio/special.c
@@ -24,10 +24,10 @@ const device_type SPECIMX = &device_creator<specimx_sound_device>;
specimx_sound_device::specimx_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SPECIMX, "Specialist MX Custom", tag, owner, clock),
- device_sound_interface(mconfig, *this),
- m_mixer_channel(NULL)
+ device_sound_interface(mconfig, *this),
+ m_mixer_channel(NULL)
{
- memset(m_specimx_input, 0, sizeof(int)*3);
+ memset(m_specimx_input, 0, sizeof(int)*3);
}
@@ -79,10 +79,8 @@ void specimx_sound_device::sound_stream_update(sound_stream &stream, stream_samp
void specimx_sound_device::set_input(int index, int state)
{
if (m_mixer_channel!=NULL)
- {
+ {
m_mixer_channel->update();
}
m_specimx_input[index] = state;
}
-
-
diff --git a/src/mess/audio/svision.c b/src/mess/audio/svision.c
index fa9673c63e7..0913c08dd57 100644
--- a/src/mess/audio/svision.c
+++ b/src/mess/audio/svision.c
@@ -22,8 +22,8 @@ const device_type SVISION = &device_creator<svision_sound_device>;
svision_sound_device::svision_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SVISION, "Super Vision Custom", tag, owner, clock),
- device_sound_interface(mconfig, *this),
- m_mixer_channel(NULL)
+ device_sound_interface(mconfig, *this),
+ m_mixer_channel(NULL)
{
}
@@ -263,4 +263,3 @@ void svision_sound_device::soundport_w(int which, int offset, int data)
break;
}
}
-
diff --git a/src/mess/audio/vc4000.c b/src/mess/audio/vc4000.c
index 587891a46e8..80736eeecb1 100644
--- a/src/mess/audio/vc4000.c
+++ b/src/mess/audio/vc4000.c
@@ -12,11 +12,11 @@ const device_type VC4000 = &device_creator<vc4000_sound_device>;
vc4000_sound_device::vc4000_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, VC4000, "VC 4000 Custom", tag, owner, clock),
- device_sound_interface(mconfig, *this),
- m_channel(NULL),
- m_size(0),
- m_pos(0),
- m_level(0)
+ device_sound_interface(mconfig, *this),
+ m_channel(NULL),
+ m_size(0),
+ m_pos(0),
+ m_level(0)
{
memset(m_reg, 0, sizeof(UINT8)*1);
}
diff --git a/src/mess/audio/wswan.c b/src/mess/audio/wswan.c
index b3cdbf33181..e5d442efbdc 100644
--- a/src/mess/audio/wswan.c
+++ b/src/mess/audio/wswan.c
@@ -25,25 +25,25 @@ const device_type WSWAN = &device_creator<wswan_sound_device>;
wswan_sound_device::wswan_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, WSWAN, "WonderSwan Custom", tag, owner, clock),
- device_sound_interface(mconfig, *this),
- m_channel(NULL),
- m_sweep_step(0),
- m_sweep_time(0),
- m_sweep_count(0),
- m_noise_type(0),
- m_noise_reset(0),
- m_noise_enable(0),
- m_sample_address(0),
- m_audio2_voice(0),
- m_audio3_sweep(0),
- m_audio4_noise(0),
- m_mono(0),
- m_voice_data(0),
- m_output_volume(0),
- m_external_stereo(0),
- m_external_speaker(0),
- m_noise_shift(0),
- m_master_volume(0)
+ device_sound_interface(mconfig, *this),
+ m_channel(NULL),
+ m_sweep_step(0),
+ m_sweep_time(0),
+ m_sweep_count(0),
+ m_noise_type(0),
+ m_noise_reset(0),
+ m_noise_enable(0),
+ m_sample_address(0),
+ m_audio2_voice(0),
+ m_audio3_sweep(0),
+ m_audio4_noise(0),
+ m_mono(0),
+ m_voice_data(0),
+ m_output_volume(0),
+ m_external_stereo(0),
+ m_external_speaker(0),
+ m_noise_shift(0),
+ m_master_volume(0)
{
}
@@ -246,5 +246,3 @@ WRITE8_MEMBER( wswan_sound_device::wswan_sound_port_w )
break;
}
}
-
-