Previous Thread
Next Thread
Print Thread
#109242 - 03/23/17 02:26 PM First 0.4 seconds of songs missing  
Joined: Mar 2017
Posts: 2
zenzero-2001 Offline
Member
zenzero-2001  Offline
Member

Joined: Mar 2017
Posts: 2
Hello

I'm currently using the latest version of the M1 source code as downloaded from this forum. I've successfully compiled it for Linux Mint 64-bit. I have PusleAudio disabled on my system and am using the ALSA output.

I have noticed a couple of bugs with the program. One bug is the naming of the files for the wave logging, they are out of sequence. I fixed this by a simple modification of the m1snd_run function in m1.snd.cpp. Inside the M1_CMD_SONGJMP case, I moved the line "cmd1=parm" to immediately after the call of waveLogStop instead of after WaveLogStart:


DLLEXPORT int m1snd_run(int command, int iparm)
{
.
.
.
if (b_pause)
{
flushframes = 2;
}

waveLogStop();
cmd1 = iparm;

waveLogInit(wavelog, games[curgame].zipname, iparm);
waveLogStart();

if (cur_board)
{
.
.
.
}
.
.
.
}


The second bug I am stuck on and would greatly appreciate any ideas. Approximately the first 0.4 seconds of a song are omitted. This happens with every song I have tried so far, including the songs in OutRun and Super Hang-On. The missing part is audible during normal playback and with the logged wave. The missing part can be confirmed by comparing the M1 wave log to the wave log of VGMPlay.

I tried the SDL driver, but it did not help. I haven't tried PulseAudio yet (that would require re-enabling it). Can anybody confirm this problem with their setup?

Many thanks

#109243 - 03/23/17 07:06 PM Re: First 0.4 seconds of songs missing [Re: zenzero-2001]  
Joined: Mar 2017
Posts: 2
zenzero-2001 Offline
Member
zenzero-2001  Offline
Member

Joined: Mar 2017
Posts: 2
Okay, I tried PulseAudio and that didn't help.

I tried Daytona USA and that does not suffer from the problem! So, it looks like it could be something to do with the particular hardware for OutRun and Super Hang-On. They use similar hardware. I will look into it.

On a vaguely related issue, does anybody know why Magical Sound Shower sounds wrong out of VGMPlay and M1? I already know about the corrupted ROM shipped with the original game (see bottom of page: https://github.com/djyt/cannonball/wiki/Cannonball-Manual). Compared to the CD releases and the song as heard inside MAME, Magical Sound Shower from VGMPlay and M1 sounds dull and lifeless.

Many thanks.

Last edited by zenzero-2001; 03/23/17 07:06 PM.

Moderated by  R. Belmont 

Who's Online Now
1 registered members (anikom15), 13 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,341
Posts107,801
Members4,739
Most Online225
May 26th, 2014
Powered by UBB.threads™ PHP Forum Software 7.6.0
Page Time: 0.021s Queries: 14 (0.006s) Memory: 4.9281 MB (Peak: 5.0879 MB) Zlib enabled. Server Time: 2017-05-30 05:32:28 UTC