view src/amidi-plug/backend-dummy/b-dummy.h @ 884:4fd90f2d1832 trunk

[svn] improve support for static playlist: - make use of Playlist.attribute. - now xspf plugin is capable of embedding static playlist marker. user can specify at "Save Playlist" dialog. - all meaningful mtime value will be preserved even if a playlist file is handled as static playlist.
author yaz
date Wed, 21 Mar 2007 02:32:49 -0700
parents e1c6b223431e
children
line wrap: on
line source

/*
*
* Author: Giacomo Lozito <james@develia.org>, (C) 2005-2006
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
*
*/

#ifndef _B_DUMMY_H
#define _B_DUMMY_H 1


#include "../i_common.h"
#include "../i_configure_file.h"
#include <glib/gprintf.h>
#include "../pcfg/i_pcfg.h"
#include "../i_midievent.h"


typedef struct
{
  FILE * file;

  gint ppq;
  gdouble usec_per_tick;
  guint tick_offset;

  GTimer * timer_seq;
}
sequencer_client_t;


void i_sleep( guint );
void i_printf( FILE * , const gchar * , ... );
void i_cfg_read( i_cfg_get_file_cb );
void i_cfg_free( void );

#endif /* !_B_DUMMY_H */