summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-06-02 21:46:07 +1000
committerquou <quou@disroot.org>2024-06-02 21:47:26 +1000
commit62b4a3ededd237f4b4850d91c052585e2f687499 (patch)
tree25bf590a634c6c71f399cf9b1d620500f06b8b9f /config.h
parent2e761bdb8badecdbda2925a056a6d5aa3e3cac83 (diff)
Switched to luigi, parsing out FLAC metadata.
Diffstat (limited to 'config.h')
-rw-r--r--config.h36
1 files changed, 4 insertions, 32 deletions
diff --git a/config.h b/config.h
index 612984f..e19aa30 100644
--- a/config.h
+++ b/config.h
@@ -4,30 +4,12 @@
#define app_name "Twink Player"
#define default_window_w 1280
#define default_window_h 960
-#define ms_per_frame 40 /* 25 FPS */
-#define max_songs 1024
-#define song_filename_max 256
-#define song_name_max 256
-#define library_folder "/home/quou/music/"
-
-/* font */
-#define default_font_location "/usr/share/fonts/TTF/DejaVuSans.ttf"
-#define default_font_size 20
-
-/* theme */
-#define theme_text_colour make_colour(0x000000, 0xff)
-#define theme_background_colour make_colour(0xffffff, 0xff)
-#define theme_outline_colour make_colour(0x000000, 0xff)
-#define theme_hovered_colour make_colour(0xcacaca, 0xff)
-#define theme_active_colour make_colour(0xf0f8ff, 0xff)
-#define theme_outline_width 2
-#define theme_padding 2
-
-/* from here on are parametres that are not designed to
- * be changed. */
-#define memory_heap_size (1024 * 1024 * 8)
+#define memory_heap_size (1024 * 1024 * 512)
#define memory_size (memory_heap_size + (1024 * 1024 * 8))
+#define library_memory_size (1024 * 1024 * 256)
+
+#define library_path "/home/quou/music/"
#if defined(is64bit) && is64bit
#define allocation_default_alignment 8
@@ -35,14 +17,4 @@
#define allocation_default_alignment 4
#endif
-#define fbits 9
-
-#define rcache_enable 1
-#define rcache_default_cell_w 128
-#define rcache_default_cell_h 128
-#define rcache_gw (default_window_w / rcache_default_cell_w)
-#define rcache_gh (default_window_w / rcache_default_cell_h)
-#define rcache_cmd_buf_size (1024 * 1024)
-#define rcache_hash_seed 2166136261
-
#endif