Re: [ecasound] New idea: Storing temporary files in a directory of choice

From: Kai Vehmanen <kvehmanen@email-addr-hidden>
Date: Sun Mar 28 2010 - 21:41:47 EEST

Hi,

another late reply.

On Fri, 26 Feb 2010, Klaus Schulz wrote:

> Sox provides a nice feature that I can set a parameter -temp at startup
>
> All temporary files generated by the program will be stored in a directory of choice.
>
> This way I can handle all activities e.g. in /dev/shm on a tmpfs.
>
> I won't have any disk access during operation.

There's actually very few uses of temp files in ecasound. Actually only
two features need them:
  - 'cs-edit' command
  - ogg input

... otherwise no temporary files are created. And for these two uses (and
any possible future new use), ecasound honors the "TMPDIR" environment
variable.

OTOH, I just noted this is not documented anywhere, so I now did that and
ecasound(1) now has:
--cut--
         dit(TMPDIR)
         Some functions of Ecasound (e.g. "cs-edit" interactive command) require
         creation of temporary files. By default, these files are created under
         "/tmp", but this can be overridden by setting the em(TMPDIR) environment
         variable.
--cut--

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Mon Mar 29 00:15:03 2010

This archive was generated by hypermail 2.1.8 : Mon Mar 29 2010 - 00:15:04 EEST