mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-14 05:05:43 +01:00
4b959a447a
When recording we should only write the amount of data read to output file instead of copying whole buffer. This fixes glitches appearing at the end of recorded file, when stopping recording. Fixes: https://github.com/alsa-project/alsa-utils/pull/150 Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 lines
549 B
Bash
Executable file
15 lines
549 B
Bash
Executable file
#!/bin/bash
|
|
|
|
#GDB="gdb --args"
|
|
#GDB="strace"
|
|
#GDB="valgrind --leak-check=yes --show-reachable=yes"
|
|
#GDB="perf stat"
|
|
PROG=./alsaucm
|
|
#PROG=/home/perex/git/pipewire/builddir/spa/plugins/alsa/spa-acp-tool
|
|
#PROG="$HOME/git/pulseaudio/build/src/daemon/pulseaudio -n -F $HOME/git/pulseaudio/build/src/daemon/default.pa -p $HOME/git/pulseaudio/build/src/modules/"
|
|
#PROG=pulseaudio
|
|
|
|
#ALSA_CONFIG_UCM="$HOME/alsa/alsa-ucm-conf/ucm" \
|
|
ALSA_CONFIG_UCM2="$HOME/alsa/alsa-ucm-conf/ucm2" \
|
|
LD_PRELOAD="$HOME/alsa/alsa-lib/src/.libs/libasound.so" \
|
|
$GDB $PROG "$@"
|