Fix replay video/audio desync, fix dummy audio when dropping audio input, give each audio stream a new name so it can be replaced with pipewire graphs
This commit is contained in:
6
build.sh
6
build.sh
@@ -1,8 +1,8 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
dependencies="glew libavcodec libavformat libavutil x11 xcomposite glfw3 libpulse-simple libswresample"
|
||||
dependencies="glew libavcodec libavformat libavutil x11 xcomposite glfw3 libpulse libswresample"
|
||||
includes="$(pkg-config --cflags $dependencies) -I/opt/cuda/targets/x86_64-linux/include"
|
||||
libs="$(pkg-config --libs $dependencies) /usr/lib64/libcuda.so -ldl -pthread -lm"
|
||||
g++ -c src/sound.cpp -O2 $includes -DPULSEAUDIO=1
|
||||
g++ -c src/main.cpp -O2 $includes -DPULSEAUDIO=1
|
||||
g++ -c src/sound.cpp -O2 $includes
|
||||
g++ -c src/main.cpp -O2 $includes
|
||||
g++ -o gpu-screen-recorder -O2 sound.o main.o -s $libs
|
||||
|
||||
Reference in New Issue
Block a user