From ead7725fa693c7dd832b22f77b32847c81a70d72 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 25 Jan 2015 10:51:50 +0000 Subject: use omap (ordered map) for env hashes While the Ruby Hash class is ordered in 1.9+, the YAML specifications do not specify hashes as ordered by default. Thus we must explicitly declare ordering via !omap for interopability with non-Ruby tools. This makes the YAML output of dtas-sourcedit and dtas-sinkedit slightly more verbose Users of dtas-splitfx are also encouraged to declare !omap when creating their YAML files for interoperability. Ordering env is important because any implementation of built-in variable expansion is dependent on it. --- Documentation/dtas-splitfx.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Documentation') diff --git a/Documentation/dtas-splitfx.txt b/Documentation/dtas-splitfx.txt index 3c421a4..8e37523 100644 --- a/Documentation/dtas-splitfx.txt +++ b/Documentation/dtas-splitfx.txt @@ -38,8 +38,8 @@ to use ecasound(1), too. # FILE FORMAT * infile - string, the pathname of the original audio file -* env - hash of environment variables to set for all commands - env: +* env - ordered hash of environment variables to set for all commands + env: !omap FX: vol +3dB stats * comments - hash of common tags for all audio (e.g. ARTIST, ALBUM, YEAR) comments: -- cgit v1.2.3-24-ge0c7