* File Plugin seems to drop data when writing to FIFO
[not found] <1592471753636013985-webhooks-bot@alsa-project.org>
@ 2020-06-18 9:15 ` GitHub issues - opened
0 siblings, 0 replies; only message in thread
From: GitHub issues - opened @ 2020-06-18 9:15 UTC (permalink / raw)
To: alsa-devel
alsa-project/alsa-lib issue #63 was opened from riggiding:
Hi,
we're using the file plugin to pipe data for use in a vu-meter application. This worked well but since updating to 1.1.4.1 the data received is incomplete (tested using sine test tones and Audacity to playback / inspect the data that went through the fifo).
**When writing to a normal file all is fine.**
Also tried using tee, same result.
Any hints or ideas would be great!
**The fifo is created by:**
#! /bin/sh
if [ ! -p "$ALSA_FIFO" ]; then
# create a fifo for alsa -> vumeter
mkfifo "$ALSA_FIFO"
chmod 666 "$ALSA_FIFO"
fi
cat <>"$ALSA_FIFO"
**asound.conf:**
pcm.hiface {
type hw
card 0
device 0
}
pcm.vumeter {
type rate
slave {
pcm "alsaFifo"
rate 44100
format "S16_LE"
}
}
pcm.alsaFifo {
type file
slave.pcm "null"
file "/tmp/alsa-fifo"
}
pcm.alsaFifoTee {
type empty
slave.pcm "tee:null,'/tmp/alsa-fifo',raw"
}
pcm.direct {
type route
slave.pcm "split_direct"
ttable.0.0 1
ttable.1.1 1
ttable.0.2 1
ttable.1.3 1
}
pcm.split_direct {
type multi
slaves.a.pcm "hiface"
slaves.a.channels 2
slaves.b.pcm "vumeter"
slaves.b.channels 2
bindings.0.slave a
bindings.0.channel 0
bindings.1.slave a
bindings.1.channel 1
bindings.2.slave b
bindings.2.channel 0
bindings.3.slave b
bindings.3.channel 1
}
Issue URL : https://github.com/alsa-project/alsa-lib/issues/63
Repository URL: https://github.com/alsa-project/alsa-lib
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-06-18 9:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1592471753636013985-webhooks-bot@alsa-project.org>
2020-06-18 9:15 ` File Plugin seems to drop data when writing to FIFO GitHub issues - opened
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.