]> git.sesse.net Git - mlt/blobdiff - src/framework/mlt_types.h
Fix and cleanup profile and preset dirs.
[mlt] / src / framework / mlt_types.h
index 62f4ca3cf11aae7ee8308f24f9ef5b5de653167f..3f79453ef5c2147882a8ac57d3d1b43d85ed59de 100644 (file)
@@ -27,7 +27,7 @@
 #define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
 #endif
 
-#include <stdint.h>
+#include <inttypes.h>
 
 #include "mlt_pool.h"
 
@@ -52,7 +52,9 @@ typedef enum
        mlt_audio_pcm = 1, /**< \deprecated signed 16-bit interleaved PCM */
        mlt_audio_s16 = 1, /**< signed 16-bit interleaved PCM */
        mlt_audio_s32,     /**< signed 32-bit non-interleaved PCM */
-       mlt_audio_float    /**< 32-bit non-interleaved floating point */
+       mlt_audio_float,   /**< 32-bit non-interleaved floating point */
+       mlt_audio_s32le,   /**< signed 32-bit interleaved PCM, may only used by producers */
+       mlt_audio_f32le    /**< 32-bit interleaved floating point, may only be used by producers */
 }
 mlt_audio_format;
 
@@ -126,4 +128,12 @@ typedef char *( *mlt_serialiser )( void *, int length );/**< pointer to serializ
 #define MLT_CONSUMER(x) ( ( mlt_consumer )( x ) )       /**< Cast to a Consumer pointer */
 #define MLT_FRAME(x)      ( ( mlt_frame )( x ) )        /**< Cast to a Frame pointer */
 
+#ifdef WIN32
+#include <pthread.h>
+/* Win32 compatibility function declarations */
+extern int usleep(unsigned int useconds);
+extern int nanosleep( const struct timespec * rqtp, struct timespec * rmtp );
+extern int setenv(const char *name, const char *value, int overwrite);
+#endif
+
 #endif