[SDL] More MIDI woes

Mason Wheeler masonwheeler at yahoo.com
Sun Feb 10 11:09:45 PST 2008


> It 
looks 
ok 
when 
I 
view 
the 
HTML 
part 
in 
HTML 
mode. 
Looking 
at 
the  source, 
it 
turns 
out 
that 
both
> text 
and 
HTML 
parts 
are 
formatted 
like this 
- 
it's 
just 
that 
HTML 
normally 
translates 
any 
amount 
and 

> kind 
of whitespace 
into 
a 
single 
space.
I'm using Yahoo!Mail.  Trying something new here.  Let's see if this fixes it...


> Actually, 
it's 
pretty 
much 
futile 
to 
try 
to 
implement 
looping 
outside the 
player 
anyway. 
It 
just 
can't 
work
> reliably, 
unless 
you 
can 
do 
it from 
within 
a 
callback 
that 
runs 
in 
the 
context 
of 
the 
MIDI 
player.
That's precisely how I'm doing it, and it works fine.  Thankfully, SDL_Mixer has a hook that makes this easy.

>Is 
this 
Timidity 
(software 
integrated 
in 
SDL_mixer) 
or 
one 
of 
the native 
MIDI 
drivers 
you're 
using?
>(Didn't 
find 
any 
"skip 
initial silence" 
logic 
in 
either 
version, 
but 
anyway...)
I don't have Timidity installed, so I assume it's talking directly to the Windows driver.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20080210/94a10db9/attachment.html 


More information about the SDL mailing list