Re: [AD] Win32 MIDI input driver

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> One thing I am unsure of is wether or not the driver names returned by 
> Windows are plain 7 bit ISO strings, or UTF8 and if they should be 
> converted to a different encoding before being stored in Allegro's MIDI 
> driver struct.

Well, the Windows strings are `null terminated' according to MSDN, which I 
guess means that they're 7 bit ISO. Does Allegro store driver names in 
plain ASCII format? I seem to recall that it does, but I'm not 100% sure.

> Documentation patch to follow.

Not very exciting, but here she is. I'll wait a little longer before 
applying it.

Index: docs/src/allegro._tx
===================================================================
RCS file: /cvsroot/alleg/allegro/docs/src/allegro._tx,v
retrieving revision 1.245
diff -u -r1.245 allegro._tx
--- docs/src/allegro._tx	17 Aug 2004 19:44:36 -0000	1.245
+++ docs/src/allegro._tx	20 Aug 2004 08:00:31 -0000
@@ -6920,7 +6920,7 @@
    If set, this function is called by the MIDI input driver whenever a new 
    byte of MIDI data becomes available. It runs in an interrupt context, 
so 
    it must execute very quickly and all the code/data must be locked. This
-   currently works only under DOS.
+   currently works only under DOS and Windows.





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/