Posts by StefG

by StefG
23 Jan 2019, 13:34
Forum: Troubleshooting
Topic: [SDL Mixer X] Seek and skip: review, clarifications, improvements, additional features
Replies: 6
Views: 986

Re: [SDL Mixer X] Seek and skip: review, clarifications, improvements, additional features

P.S. In my VLC the Frankenstein-MP3 song played correctly, but duration value wasn't persistent, but changed very weirdly... :crazy: Yes, that's what I experienced too with my VLC (Windows), and it also changed the current time value to wrong values. That's VLC doing what it always does best: rubbi...
by StefG
22 Jan 2019, 16:32
Forum: Troubleshooting
Topic: [SDL Mixer X] Seek and skip: review, clarifications, improvements, additional features
Replies: 6
Views: 986
  • 1

Re: [SDL Mixer X] Seek and skip: review, clarifications, improvements, additional features

I didn't spot any problem so far with my few tests. I put a patch and an example test program in the attached Zip file. Patch has to be applied with -p3 from project root (root = where there is README.txt, CMakeLists.txt, include/, src/ and so on; there is apparently a small difference between the b...
by StefG
21 Jan 2019, 15:28
Forum: Troubleshooting
Topic: [SDL Mixer X] Seek and skip: review, clarifications, improvements, additional features
Replies: 6
Views: 986

Re: [SDL Mixer X] Seek and skip: review, clarifications, improvements, additional features

Oh, that's your work in the official SDL_mixer too? The seekability over libMAD was made before me, however, my work is was retrieving the current position and full length in seconds. Ah, all right, that's how I understood it at first. Yeah, it's would be better to optimize existing seeking MP3 cod...
by StefG
19 Jan 2019, 19:16
Forum: Troubleshooting
Topic: [SDL Mixer X] Seek and skip: review, clarifications, improvements, additional features
Replies: 6
Views: 986

[SDL Mixer X] Seek and skip: review, clarifications, improvements, additional features

I use the terms 'seeking' for 'absolute seeking' and 'skipping' for 'relative seeking'. About `Mix_MusicSetPosition`, in the fact it's always used for absolute position and nothing relative, and always in seconds unit. Even on the side of official SDL Mixer this function works for absolute seconds ...
by StefG
14 Jan 2019, 18:12
Forum: Troubleshooting
Topic: [Fixed] [SDL Mixer X] AIFF files
Replies: 5
Views: 1008

Re: [Fixed] [SDL Mixer X] AIFF files

:cool: I hope we didn't break anything :angel: At the moment, I am working on improving seeking and skipping through audio files. The original SDL function Mix_MusicSetPosition() is an abomination of an API: sometimes it performs absolute seeking, sometimes relative skipping, sometimes it is about t...
by StefG
14 Jan 2019, 0:40
Forum: Troubleshooting
Topic: [Fixed] [SDL Mixer X] Building problems, CMake, ...
Replies: 12
Views: 1149

Re: [Fixed] [SDL Mixer X] Building problems, CMake, ...

Wohlstand wrote:Please test this, at me with FluidSynth 1 it builds fine! :)

I forgot to do it: I now confirm it builds OK here too (with FluidSynth 2).
by StefG
11 Jan 2019, 13:42
Forum: Troubleshooting
Topic: [Fixed] [SDL Mixer X] AIFF files
Replies: 5
Views: 1008

Re: [Fixed] [SDL Mixer X] AIFF files

The reason why I added the `deep_scan` thing are some weird AIFF files are invalid, but, VLC plays them... If I have kept them, I'll try to share them to you for analyze ;-) Yes, please. I gonna to review this stuff more accurate, for now I'm tired (at me is 3:01 AM, UTC+3) and I gonna to sleep. I ...
by StefG
10 Jan 2019, 19:55
Forum: Troubleshooting
Topic: [Fixed] [SDL Mixer X] Building problems, CMake, ...
Replies: 12
Views: 1149

Re: [Fixed] [SDL Mixer X] Building problems, CMake, ...

Long time I didn't touched FluidSynth thing as I worked on a way to make united MIDI sequencer module (splitted out from libADLMIDI and libOPNMIDI are was embedded parts) to use it with all MIDI synths to support same behavior include loop points of different formats and special events. I wanted to...
by StefG
10 Jan 2019, 18:45
Forum: Troubleshooting
Topic: [Fixed] [SDL Mixer X] AIFF files
Replies: 5
Views: 1008

[Fixed] [SDL Mixer X] AIFF files

Hello again, In the official SDL_mixer, the code for AIFF files in LoadMUS is awful. I doubt anyone even tried to play an AIFF file with it. Yours is much better. But still a few problems are present, or they are kind of corrected but not really for the good reason. (I will not always annoy you so m...
by StefG
10 Jan 2019, 13:05
Forum: Troubleshooting
Topic: [Fixed] [SDL Mixer X] Building problems, CMake, ...
Replies: 12
Views: 1149
  • 1

Re: [Fixed] [SDL Mixer X] Building problems, CMake, ...

It looks good now! I just found a minor problem with cmake .. -DUSE_MIDI_FLUIDSYNTH=ON ~/extsvn/SDL-Mixer-X.git/trunk/build $make clean && make [ 2%] Building C object CMakeFiles/SDL2_mixer_ext_Static.dir/src/codecs/load_aiff.c.o [ 4%] Building C object CMakeFiles/SDL2_mixer_ext_Static.dir/s...
by StefG
10 Jan 2019, 1:30
Forum: Troubleshooting
Topic: [Fixed] [SDL Mixer X] Building problems, CMake, ...
Replies: 12
Views: 1149

Re: [Fixed] [SDL Mixer X] Building problems, CMake, ...

Please try to build ;-) All right. So: cmake .. went fine, cmake .. -DUSE_MIDI=OFF went fine, but: cmake .. -DUSE_MIDI_OPNMIDI=OFF didn't. make failed with: ~/extsvn/SDL-Mixer-X.git/trunk/build $make Scanning dependencies of target SDL2_mixer_ext_Static [ 2%] Building C object CMakeFiles/SDL2_mixer...
by StefG
10 Jan 2019, 0:04
Forum: Troubleshooting
Topic: [Fixed] [SDL Mixer X] Building problems, CMake, ...
Replies: 12
Views: 1149

Re: [Fixed] [SDL Mixer X] Building problems, CMake, ...

Will check this out... I noticed mixer_x_deprecated.c is always built with all its functions enabled, but the functions it calls are defined in files which are not always built. In this case, codecs/music_timidity.c is not built, even though you had inserted #ifdef s into it so that it could be bui...
by StefG
9 Jan 2019, 18:25
Forum: Troubleshooting
Topic: [Fixed] [SDL Mixer X] Building problems, CMake, ...
Replies: 12
Views: 1149

Re: [Fixed] [SDL Mixer X] Building problems, CMake, ...

Alternatively, you can manually disable any unnecessary libraries to just use in-system stuff: cmake -DUSE_MIDI_ADLMIDI=OFF -DUSE_MIDI_OPNMIDI=OFF -DUSE_OPUS=OFF .. So, I tried disabling all MIDI support with cmake -DUSE_MIDI=OFF .. and I still hit the same errors as before with mixer_x_deprecated....
by StefG
7 Jan 2019, 17:13
Forum: Troubleshooting
Topic: [Fixed] [SDL Mixer X] Building problems, CMake, ...
Replies: 12
Views: 1149

[Fixed] [SDL Mixer X] Building problems, CMake, ...

Hello, I will list here the problems I meet while trying to build SDL_Mixer_X (standalone, as I am not not interested in the whole PGE project at the moment). My remarks are based on today's git version. Let's start with the first one I hit. Problem with Opus I run cmake, it detects Opus positively:...

Go to advanced search