Mixxx

/home/maxime/Projets/Mixxx/1.10/mixxx/src/recording/defs_recording.h

Go to the documentation of this file.
00001 #ifndef __RECORDING_DEFS_H__
00002 #define __RECORDING_DEFS_H__
00003 
00004 #define RECORDING_PREF_KEY "[Recording]"
00005 #define ENCODING_WAVE "WAV"
00006 #define ENCODING_FLAC "FLAC"
00007 #define ENCODING_AIFF "AIFF"
00008 #define ENCODING_OGG  "OGG"
00009 #define ENCODING_MP3 "MP3"
00010 
00011 #define RECORD_OFF 0.0f
00012 #define RECORD_READY 1.0f
00013 #define RECORD_ON 2.0f
00014 
00015 //File options for preferences Splitting
00016 #define SPLIT_650MB "650 MB (CD)"
00017 #define SPLIT_700MB "700 MB (CD)"
00018 #define SPLIT_1024MB "1 GB"
00019 #define SPLIT_2048MB "2 GB"
00020 #define SPLIT_4096MB "4 GB"
00021 
00022 // Byte conversions
00023 // Instead of multiplying megabytes with 1024 to get kilobytes
00024 // I use 1000
00025 // Once the recording size has reached
00026 // there's enough room to add closing frames by
00027 // the encoder
00028 #define SIZE_650MB  650000000   //bytes
00029 #define SIZE_700MB  750000000   //bytes
00030 #define SIZE_1GB    1000000000  //bytes
00031 #define SIZE_2GB    2000000000  //bytes
00032 #define SIZE_4GB    4000000000l //bytes
00033 
00034 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines