diff options
author | Ivan Vangelista <mesgnet@yahoo.it> | 2014-09-04 17:49:30 +0000 |
---|---|---|
committer | Ivan Vangelista <mesgnet@yahoo.it> | 2014-09-04 17:49:30 +0000 |
commit | 016990765fc2125c0e3f07e65ac3653345b345d4 (patch) | |
tree | f34de5167dafbaadd6ab554eaccb1cd9a3f97cf2 /src/mame/audio/vicdual.c | |
parent | 3092a095e58b288b0478b51ba3794b6591b07dfd (diff) |
samples_device: converted to use inline config and delegates. Will probably need clean compile. (nw)
Diffstat (limited to '')
-rw-r--r-- | src/mame/audio/vicdual.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/mame/audio/vicdual.c b/src/mame/audio/vicdual.c index d82608ce7f1..ac8b0725b66 100644 --- a/src/mame/audio/vicdual.c +++ b/src/mame/audio/vicdual.c @@ -110,15 +110,11 @@ static const char *const frogs_sample_names[] = 0 }; -static const samples_interface frogs_samples_interface = -{ - 5, /* 5 channels */ - frogs_sample_names -}; - MACHINE_CONFIG_FRAGMENT( frogs_audio ) - MCFG_SAMPLES_ADD("samples", frogs_samples_interface) + MCFG_SOUND_ADD("samples", SAMPLES, 0) + MCFG_SAMPLES_CHANNELS(5) + MCFG_SAMPLES_NAMES(frogs_sample_names) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.35) MCFG_SOUND_ADD("discrete", DISCRETE, 0) |