about summary refs log tree commit homepage
diff options
authorEric Wong <normalperson@yhbt.net>2013-08-26 09:40:14 +0000
committerEric Wong <normalperson@yhbt.net>2013-08-26 09:40:21 +0000
commit7c3f3053dc93dbde03fb1f2c715676ad296ededb (patch)
parent3df12aeda7b480edf40da61f98cd2887a09eeb7b (diff)
This release refactors dtas-player internals and adds lightly-tested
avconv (from libav) and ffmpeg support.  It should also be much easier
for us to add direct support for other non-SoX decoders in the future.

The "source ed" and "source cat" protocol commands now both require a
SOURCENAME argument, one of "sox", "av" (avconv), or "ff" (ffmpeg).
"source ed" also supports a new "tryorder" integer parameter to control
the order in which sox, av, and ff are tried.

dtas-console now displays ReplayGain status and allows controlling
ReplayGain mode, fallback_gain, and preamp values via hotkeys.

There are also many corner-case bugfixes and small minor features, see
"git log" for details.

Eric Wong (40):
      README: include a pointer to the plain-text docs
      set REPLAYGAIN_* vars for source command as documented
      dtas-*edit: properly fall back to 'vi' as documented
      use require_relative for loading 1.9 compatibility
      dtas-console: implement better ReplayGain and format support
      dtas-console: swap 'j' / 'k' bindings to match docs
      doc: document new dtas-console key bindings
      Rakefile: rsync task uploads gzipped files, too
      test_rg_integration: avoid unused variable warning
      unix_client: remove non-SOCK_SEQPACKET support
      tests: use unix_client in tests to kill some redundant code
      command: remove kill, we no longer rely on it
      player: remove unreachable branch
      split out source handling to prepare for avconv/ffmpeg support
      format: decouple from soxi
      preliminary support for avconv/avprobe from libav
      source/av: handle multiple audio streams w/ proper sample rate
      dtas-console: always show ReplayGain line
      format: fix switching to floating point samples
      player: fix logic around sink death/respawns
      doc: add note about increased wakeups with dtas-console
      process: allow passing env to qx
      process: remove redundant "xs" method
      process (qx): disambiguate err/err_str, add no_raise
      cleanup multi-source handling between sox and av
      player: flesh out multi-source in protocol/sourceedit
      dtas-{sink,source}edit: reduce redundant code
      player: sink ed pipe_size= disallows nils
      player: restart sinks on "sink ed" modification
      player: break out gracefully if a file is totally unplayable
      source/sox: bail out if zero samples are detected
      test_source_av: disable if avprobe/avconv are not available
      add lightly-tested ffmpeg support
      README: remove avconv/ffmpeg item
      source/sox: cleanup error handling, quiet redundant warnings
      player: do not assign @current until successful spawn
      client_handler: remove redundant checks for @current.pid
      av_ff_common: :nodoc: this constant and add TODO item
      GIT-VERSION-GEN: :nodoc: the version constant
      :nodoc: core classes in 1.9 compat layer
2 files changed, 4 insertions, 4 deletions
index 99c53c8..27fa311 100755
@@ -3,7 +3,7 @@
 # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
 RVF = "lib/dtas/version.rb"
-DEF_VER = "v0.0.0"
+DEF_VER = "v0.1.I"
 vn = DEF_VER
 # First see if there is a version file (included in release tarballs),
diff --git a/INSTALL b/INSTALL
index c374053..44c02f3 100644
@@ -40,10 +40,10 @@ Debian users can install sox, mp3gain, and flac dependencies easily:
   Grab the latest tarball from our HTTP site:
-  http://dtas.80x24.org/2013/dtas-0.0.0.tar.gz
+  http://dtas.80x24.org/2013/dtas-0.1.I.tar.gz
-  $ tar zxvf dtas-0.0.0.tar.gz
-  $ cd dtas-0.0.0
+  $ tar zxvf dtas-0.1.I.tar.gz
+  $ cd dtas-0.1.I
   $ ruby setup.rb
   GNU/Linux users may optionally install "io_splice" and