Package: libwine-alsa
Version: 0.9.7-1
Severity: normal
Tags: patch upstream

Hi,

While trying to use fluidsynth for synthesizing midi stream from a
windows application, I discovered that wine considers it as a fm
synthesizer. I also got this message:

err:midi:MIDI_AlsaToWindowsDeviceType Cannot determine the type (alsa type is 
100000) of this midi device. Assuming FM Synth

The attached patch makes wine consider it as a generic midi port, please
apply and report upstream.

Regards,
Samuel

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages libwine-alsa depends on:
ii  libasound2                    1.0.10-2   ALSA library
ii  libc6                         2.3.5-13   GNU C Library: Shared libraries an
ii  libwine                       0.9.7-1    Windows API Implementation (Librar

libwine-alsa recommends no packages.

-- no debconf information

-- 
Samuel Thibault <[EMAIL PROTECTED]>
<P> moo
<N> moo ?
<D> P: keski t'arrive? :))
<P> moooo
<N> moooooo ?
<P> rien le net marche je suis content :)
 -+- #ens-mim - accro du net -+-
--- wine/dlls/winmm/winealsa/midi.c-orig        2006-02-11 11:10:56.000000000 
+0100
+++ wine/dlls/winmm/winealsa/midi.c     2006-02-11 11:10:56.000000000 +0100
@@ -158,7 +158,7 @@
     if (type & (SND_SEQ_PORT_TYPE_DIRECT_SAMPLE|SND_SEQ_PORT_TYPE_SAMPLE))
         return MOD_SYNTH;
 
-    if (type & SND_SEQ_PORT_TYPE_MIDI_GENERIC)
+    if (type & (SND_SEQ_PORT_TYPE_MIDI_GENERIC|SND_SEQ_PORT_TYPE_APPLICATION))
         return MOD_MIDIPORT;
     
     ERR("Cannot determine the type (alsa type is %x) of this midi device. 
Assuming FM Synth\n", type);

Reply via email to