Previous 15994 Revisions Next

r1853 Thursday 6th March, 2008 at 17:02:07 UTC by Wilbert Pol
[ODYSSEY2] Some audio tweaks.
[src/mess/video]odyssey2.c

src/mess/video/odyssey2.c
r1852r1853
558558
559559static void *odyssey2_sh_start(int clock, const struct CustomSound_interface *config)
560560{
561   odyssey2_sh_channel = stream_create(0, 1, Machine->sample_rate, 0, odyssey2_sh_update );
561   odyssey2_sh_channel = stream_create(0, 1, clock/(I824X_LINE_CLOCKS*4), 0, odyssey2_sh_update );
562562   return (void *) ~0;
563563}
564564
r1852r1853
584584      {
585585         *buffer = 0;
586586         *buffer = signal & 0x1;
587         period = (o2_vdc.s.sound & 0x20) ? 11 : 44;
587         period = (o2_vdc.s.sound & 0x20) ? 1 : 4;
588588         if( ++count >= period )
589589         {
590590            count = 0;

Previous 15994 Revisions Next


© 1998-2018 The MESS Team