[pulseaudio-discuss] [PATCH 1/2] scripts: Introduce helper utility benchmark_memory_usage.sh
Tanu Kaskinen
tanuk at iki.fi
Fri Sep 11 06:04:05 PDT 2015
On Fri, 2015-09-11 at 14:56 +0200, Ahmed S. Darwish wrote:
> > > +PA_HOME="${_absolute_dirname%/scripts}"
> > > +[ -d "$PA_HOME/src" -a -d "$PA_HOME/scripts" ] ||
> > > + error "This script can only be executed from PulseAudio source tree"
> > > +
> > > +PA=${PA_HOME}/src/pulseaudio
> > > +PA_PLAY=${PA_HOME}/src/paplay
> >
> > paplay doesn't exist in the source tree. paplay is a symlink to pacat,
> > and the symlink is created only during installation. I would suggest
> > using pacat here, but pacat assumes that the file format is raw by
> > default, and the --file-format option doesn't seem to allow telling
> > pacat to autodetect the file format. I think the --file-format option
> > should be modified to support "auto" as one of the recognized values.
> >
>
> Just creating the symlink manually by the script (if it did not
> originally exist) should be sufficient?
Yes, that's much simpler :)
--
Tanu
More information about the pulseaudio-discuss
mailing list