midi_seek man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

midi_seek(3)			Allegro manual			  midi_seek(3)

NAME
       midi_seek - Seeks to the given midi_pos in the current MIDI file. Alle‐
       gro game programming library.

SYNOPSIS
       #include <allegro.h>

       int midi_seek(int target);

DESCRIPTION
       Seeks to the given midi_pos in the current MIDI file. If the target  is
       earlier	in the file than the current midi_pos it seeks from the begin‐
       ning; otherwise it seeks from the current position.

RETURN VALUE
       Returns zero if it could successfully seek to the  requested  position.
       Otherwise,  a  return value of 1 means it stopped playing, and midi_pos
       is set to the negative length of the MIDI file (so  you	can  use  this
       function	 to  determine the length of a MIDI file). A return value of 2
       means the MIDI file looped back to the start.

SEE ALSO
       play_midi(3), midi_pos(3)

Allegro				 version 4.4.2			  midi_seek(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net