Main Page | Modules | Data Structures | File List | Data Fields | Globals

remix_time.h

Go to the documentation of this file.
00001 /*
00002  * libremix -- An audio mixing and sequencing library.
00003  *
00004  * Copyright (C) 2001 Commonwealth Scientific and Industrial Research
00005  * Organisation (CSIRO), Australia.
00006  * Copyright (C) 2003 Conrad Parker
00007  *
00008  * This library is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU Lesser General Public
00010  * License as published by the Free Software Foundation; either
00011  * version 2 of the License, or (at your option) any later version.
00012  *
00013  * This library is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016  * Lesser General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU Lesser General Public
00019  * License along with this library; if not, write to the Free Software
00020  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00021  *
00022  */
00023 
00029 /*
00030  * Conrad Parker <conrad@metadecks.org>, August 2001
00031  */
00032 
00033 #ifndef __REMIX_TIME_H__
00034 #define __REMIX_TIME_H__
00035 
00036 #include <remix/remix_types.h>
00037 
00038 #if defined(__cplusplus)
00039 extern "C" {
00040 #endif
00041 
00042 /* Time */
00043 RemixTime remix_time_convert (RemixEnv * env, RemixTime time,
00044                               RemixTimeType old_type, RemixTimeType new_type);
00045 RemixTime remix_time_zero (RemixTimeType type);
00046 RemixTime remix_time_invalid (RemixTimeType type);
00047 int remix_time_is_invalid (RemixTimeType type, RemixTime time);
00048 RemixTime remix_time_add (RemixTimeType type, RemixTime t1, RemixTime t2);
00049 RemixTime remix_time_sub (RemixTimeType type, RemixTime t1, RemixTime t2);
00050 RemixTime remix_time_min (RemixTimeType type, RemixTime t1, RemixTime t2);
00051 RemixTime remix_time_max (RemixTimeType type, RemixTime t1, RemixTime t2);
00052 int remix_time_eq (RemixTimeType type, RemixTime t1, RemixTime t2);
00053 int remix_time_gt (RemixTimeType type, RemixTime t1, RemixTime t2);
00054 int remix_time_lt (RemixTimeType type, RemixTime t1, RemixTime t2);
00055 int remix_time_ge (RemixTimeType type, RemixTime t1, RemixTime t2);
00056 int remix_time_le (RemixTimeType type, RemixTime t1, RemixTime t2);
00057 
00058 
00059 #if defined(__cplusplus)
00060 }
00061 #endif
00062 
00063 #endif /* __REMIX_TIME_H__ */

Generated on Fri Jan 9 08:44:16 2004 for remix by doxygen 1.3.4