Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Luc Tanguay <lucus@sympatico.ca>
To: alsa-devel@alsa-project.org
Subject: porting 0.5 to 0.9 app
Date: Wed, 08 May 2002 23:49:04 -0400	[thread overview]
Message-ID: <3CD9F1B0.9070806@sympatico.ca> (raw)

Hello,

I'm in the process of porting a 0.5.x app to 0.9.x.  The application is 
Soundtracker.  In this GTK app, I was able to retrieve the file 
descriptor using the 'snd_seq_file_descriptor' function.  The file 
descriptor was then used to establish a callback to process MIDI events. 
 To code looks like:

midi_file_tag = gdk_input_add( snd_seq_file_descriptor( midi_handle),
                 GDK_INPUT_READ,
                 (GdkInputFunction)midi_in_cb,
                 midi_handle);

How do I do the same thing with the new ALSA 0.9.x API ?

thanks


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth@sourceforge.net

             reply	other threads:[~2002-05-09  3:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-09  3:49 Luc Tanguay [this message]
2002-05-09  4:04 ` porting 0.5 to 0.9 app Paul Davis
2002-05-09  4:06 ` Paul Davis
2002-05-11  3:11   ` Luc Tanguay

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3CD9F1B0.9070806@sympatico.ca \
    --to=lucus@sympatico.ca \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox