libretro / beetle-pce-fast-libretro

Standalone fork of Mednafen PCE Fast to libretro
GNU General Public License v2.0
29 stars 55 forks source link

noise only on audio tracks with latest commit b3827d #54

Closed ghost closed 7 years ago

ghost commented 7 years ago

https://github.com/libretro/beetle-pce-fast-libretro/commit/b3827d92fdbfde9d146dfbffe0abc400ac0a09a6

this does load and now plays cue files with .wav files, but breaks .ogg and other audio format (noise only)

sergiobenrocha2 commented 7 years ago

You probably have a malformed cue sheet. It should be something like this for .ogg:

FILE "Akumajou Dracula X - Chi no Rondo (Japan) (FABT, FACT) (Track 01).ogg" OGG
  TRACK 01 AUDIO
    INDEX 01 00:00:00

Or

FILE "Akumajou Dracula X - Chi no Rondo (Japan) (FABT, FACT) (Track 01).ogg" VORBIS
  TRACK 01 AUDIO
    INDEX 01 00:00:00

This will not work, which I think it's your case:

FILE "Akumajou Dracula X - Chi no Rondo (Japan) (FABT, FACT) (Track 01).ogg" WAVE
  TRACK 01 AUDIO
    INDEX 01 00:00:00
ghost commented 7 years ago

done, fixed cue sheet-although i do not understand the necessity of this when it comes to retroarch.

sergiobenrocha2 commented 7 years ago

Take a look at http://wiki.hydrogenaud.io/index.php?title=Cue_sheet#Most_often_used

"Valid file types are WAVE, MP3, AIFF, BINARY and MOTOROLA. Other formats, such as the lossless formats WavPack or FLAC, can also be used under the WAVE file type."

cue sheet is not a very strong standard. It make sense to use OGG for .ogg files when you have MP3 for .mp3.