Re: [linux-audio-dev] HOw to create an ALSA out port

From: Jens M Andreasen <jens.andreasen@email-addr-hidden>
Date: Tue Jul 26 2005 - 22:17:49 EEST

On Tue, 2005-07-26 at 20:43 +0200, Jens M Andreasen wrote:

> snd_rawmidi_write(handle_out,gm_reset,sizeof(gm_reset));
>
> // snd_rawmidi_drain(handle_out);
> snd_rawmidi_close(handle_out);

On second thought you'd better uncomment:

    // snd_rawmidi_drain(handle_out);

... since it is the write that will block, and not the close operation.

/jens
Received on Wed Jul 27 00:15:15 2005

This archive was generated by hypermail 2.1.8 : Wed Jul 27 2005 - 00:15:15 EEST