[PATCH 1/2] scripts: Introduce helper utility benchmark_memory_usage.sh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux