-
2d0a10c645
remove ./
main
filifa
2024-09-07 21:09:04 -05:00
-
38016be3d3
add width and height flags
filifa
2024-09-07 20:56:02 -05:00
-
d13abec803
add soft cut duration flag
filifa
2024-09-07 20:43:46 -05:00
-
ebb4d7102b
use CheckErr
filifa
2024-09-07 19:45:50 -05:00
-
6a85dcb816
update readme
filifa
2024-09-07 19:33:41 -05:00
-
92c3b48fa7
refactor preset validation
filifa
2024-09-07 19:26:26 -05:00
-
96e962b56a
adjust usage message
filifa
2024-09-07 19:22:10 -05:00
-
1e87393d07
don't crash when no presets are passed
filifa
2024-09-07 19:20:09 -05:00
-
6d045ff304
pass presets with args
filifa
2024-09-07 19:16:08 -05:00
-
d59a2859b6
use projectm_pcm_get_max_samples to set buffer size
filifa
2024-09-07 15:54:40 -05:00
-
afb198052e
remove bufio
filifa
2024-09-05 23:16:14 -05:00
-
6f5f8b1818
move buffering stuff to root
filifa
2024-09-05 22:40:31 -05:00
-
3882ffe4f7
get rid of bufSize
filifa
2024-09-05 22:21:12 -05:00
-
23cb23de15
update readme
filifa
2024-09-04 21:55:33 -05:00
-
54f1665325
replace panic with log.Fatal
filifa
2024-09-04 21:38:23 -05:00
-
82e2b05925
refactor stdin check
filifa
2024-09-04 21:35:38 -05:00
-
9d16b2970c
refactor main loop
filifa
2024-09-04 21:31:52 -05:00
-
6410b5ee6f
refactor preset validation
filifa
2024-09-04 21:13:42 -05:00
-
9e01387460
add comments
filifa
2024-09-04 21:10:30 -05:00
-
3981512edb
remove script flag
filifa
2024-09-04 20:28:42 -05:00
-
663accda2a
allow passing in multiple presets
filifa
2024-09-04 20:27:01 -05:00
-
2b8eaeee49
add flag for smooth transitions
filifa
2024-09-04 20:04:47 -05:00
-
a53928ef5e
validate presets
filifa
2024-09-03 22:38:13 -05:00
-
e0c4715cd5
simplify json format
filifa
2024-09-03 22:25:40 -05:00
-
4a9b17f4ed
refactor preset loading
filifa
2024-09-02 23:33:35 -05:00
-
75ba1e8134
simplify script loading
filifa
2024-09-02 23:26:10 -05:00
-
86ef3a0e82
move script loading to root
filifa
2024-09-02 23:22:56 -05:00
-
5c95c5346f
handle single presets
filifa
2024-09-02 23:10:46 -05:00
-
56d3c2c555
make -p and -s mutually exclusive
filifa
2024-09-02 22:52:54 -05:00
-
ee984f7d72
handle no script being passed
filifa
2024-09-02 22:49:29 -05:00
-
87394e7263
don't cycle rapidly when held
filifa
2024-09-02 22:44:24 -05:00
-
dbbbceaa49
make loading script a method of window
filifa
2024-09-02 22:42:44 -05:00
-
9e8aff813e
cycle in reverse with left
filifa
2024-09-02 22:31:25 -05:00
-
21c0e3f447
cycle through presets with right
filifa
2024-09-02 22:17:11 -05:00
-
bf6bf28635
add program description
filifa
2024-09-02 21:03:17 -05:00
-
f0b432614d
use different strategy from stackoverflow
filifa
2024-08-25 22:00:01 -05:00
-
583a50be79
add more details
filifa
2024-08-25 21:03:57 -05:00
-
db3b2efb1e
remove ld_library_path in example
filifa
2024-08-25 18:57:34 -05:00
-
f30eb1c678
remove -L directive
filifa
2024-08-25 18:16:53 -05:00
-
efa8e8b27a
remove -I flag
filifa
2024-08-25 17:45:48 -05:00
-
d9a2582c69
update example pipeline
filifa
2024-08-24 22:41:14 -05:00
-
f2f49013f1
don't import C in root
filifa
2024-08-24 22:03:37 -05:00
-
bcc683ede7
add copyright header
filifa
2024-08-24 21:24:16 -05:00
-
e48b6418e9
add readme stub
filifa
2024-08-24 21:24:09 -05:00
-
32e0e553a0
use cobra
filifa
2024-08-24 21:05:15 -05:00
-
edaf47d893
pass window struct to event functions
filifa
2024-08-24 20:14:00 -05:00
-
4aaf8e6638
move window stuff to own file
filifa
2024-08-24 19:53:39 -05:00
-
622e85a4f6
make render a method of milkdropwindow
filifa
2024-08-24 19:42:45 -05:00
-
4a9d73ef04
refactor window creation
filifa
2024-08-24 19:38:27 -05:00
-
01e888ad25
make handleWindowEvent function
filifa
2024-08-24 19:18:59 -05:00
-
85c55e5a21
refactor main loop
filifa
2024-08-24 19:13:02 -05:00
-
1d81506ef6
make window resizable
filifa
2024-08-24 18:33:07 -05:00
-
b1ac211369
remove sleep call
filifa
2024-08-24 18:27:13 -05:00
-
5299d653aa
free preset memory
filifa
2024-08-24 18:05:53 -05:00
-
b67aae3289
use array
filifa
2024-08-24 16:26:01 -05:00
-
c715f42c71
start cleanup
filifa
2024-08-24 14:37:44 -05:00
-
7c377aa79b
change window name
filifa
2024-08-24 14:03:55 -05:00
-
59bebc7e00
handle eof
filifa
2024-08-24 13:51:27 -05:00
-
5bba14b556
don't use bufio
filifa
2024-08-22 22:49:05 -05:00
-
f0cd273a5f
set buffer size for reader
filifa
2024-08-22 22:44:12 -05:00
-
15d3f6200f
reduce buffer size
filifa
2024-08-22 22:36:45 -05:00
-
e5172787a1
read data as int16
filifa
2024-08-22 22:27:04 -05:00
-
b9257adf5f
read a preset
filifa
2024-08-22 21:37:56 -05:00
-
c709e012bf
read stdin
filifa
2024-08-22 21:23:53 -05:00
-
a9a6211521
render default preset
filifa
2024-08-22 20:08:28 -05:00
-
a67aa7a4ae
set window size
filifa
2024-08-22 19:54:02 -05:00
-
908d12ccc9
use cgo and newest libprojectm
filifa
2024-08-22 19:50:06 -05:00
-
1905515311
initial commit
filifa
2024-08-19 21:53:48 -05:00