diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-08-24 22:56:00 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-08-25 00:06:16 +0000 |
commit | 4bb0b33402635da9702c255f11dbf3b18e4d28f0 (patch) | |
tree | b73e7a58e06eeef26126a0fff45b05537eb98130 /lib | |
parent | 14d97ba79e36672101640321af618c018e11fbc3 (diff) | |
download | dtas-4bb0b33402635da9702c255f11dbf3b18e4d28f0.tar.gz |
We maintain most everything else, so we should maintain this, too.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/dtas/player.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/dtas/player.rb b/lib/dtas/player.rb index e055fa5..b39989b 100644 --- a/lib/dtas/player.rb +++ b/lib/dtas/player.rb @@ -111,6 +111,10 @@ class DTAS::Player e = v["env"] and @srcenv = e end + if v = hash["format"] + @format = DTAS::Format.load(v) + end + if sinks = hash["sinks"] sinks.each do |sink_hsh| sink = DTAS::Sink.load(sink_hsh) |