*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> midi/mdGetName (3d)              
Title
Content
Arch
Section
 

Contents


mdGetName(3dm)							mdGetName(3dm)


NAME    [Toc]    [Back]

     mdGetName - return	a MIDI interface name

SYNOPSIS    [Toc]    [Back]

     #include <dmedia/midi.h>

     char *mdGetName(int index)

DESCRIPTION    [Toc]    [Back]

     mdGetName returns a pointer to the	interface name associated with index.
     If	index does not correspond to a configured MIDI interface, mdGetName
     returns NULL.  The	range of valid values for index	is dynamic and extends
     from 0 to one less	than number of configured interfaces (which is
     returned by mdInit(3dm)).

     The return	value of mdGetName can be used as an argument for any routines
     which expect an interface name, such as mdOpenInPort(3dm) and
     mdOpenOutPort(3dm).  This routine is also commonly	used to	build menus or
     lists of available	ports.

RETURN VALUE    [Toc]    [Back]

     mdGetName returns a pointer to an internal	data structure.	 The
     application must not alter	or free	the string.

SEE ALSO    [Toc]    [Back]

      
      
     mdIntro(3dm), mdInit(3dm),	mdOpenInPort(3dm), mdOpenOutPort


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
mdTell IRIX Return the MIDI port-specific timing information
mdGetDefault IRIX return the name of the default input or output interface
if_nameindex Tru64 Return an array of all interface names and indexes
mdGetStatus IRIX manipulate MIDI messages
midiplay OpenBSD play MIDI files
midisynth IRIX software MIDI synthesizer
umidi OpenBSD USB support for MIDI devices
mdSend IRIX send out MIDI data
startmidi IRIX start MIDI daemon
mdCountReaders IRIX count applications using a MIDI device
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service