* [ANN] dtas 0.17.0 - duct tape audio suite for *nix
@ 2019-11-14 1:56 4% Eric Wong
0 siblings, 0 replies; 3+ results
From: Eric Wong @ 2019-11-14 1:56 UTC (permalink / raw)
To: ruby-talk, dtas-all
Free Software command-line tools for audio playback, mastering, and
whatever else related to audio. dtas follows the worse-is-better
philosophy and acts as duct tape to combine existing command-line tools
for flexibility and ease-of-development. dtas is currently implemented
in Ruby (and some embedded shell), but may use other languages in the
future.
Changes:
dtas 0.17.0
dtas-player automatically pauses on sink death (e.g. when an
external DAC is unplugged), thanks to Rene Maurer for the
feature suggestion.
zsh completions are also bundled in the examples/ directory
thanks to James Rowe.
There's also a couple of minor bugfixes and documentation
updates.
There's also kwarg warning fixes for Ruby 2.7.0dev. Future
components will probably use a more stable glue language
than Ruby, and we already have dtas-graph which is Perl5.
Eric Wong (11):
doc: remove inaccurate comment about "GNU-ism"
doc: update homepage to point to cgit /about/
dtas-graph: show inode number in hex, too
dtas-graph: add a short blurb about what it does
dtas-console: remove unused variables
dtas-console: pass kwargs as-is to String#encode
buffer/splice: pass kwargs as-is to tee/splice
player: automatically pause if last sink dies
readahead: avoid Array#compact and Array#max on `false'
doc: use new HTTPS address at lists.gnu.org
TODO: add a note about using a more stable glue language
James Rowe (2):
doc: trivial typo fixes
Add zsh completion support
* homepage: https://80x24.org/dtas.git/about
* https://80x24.org/dtas/INSTALL
* https://80x24.org/dtas/dtas-player.txt
* https://80x24.org/dtas/NEWS.atom
* git clone https://80x24.org/dtas.git
* dtas-all@nongnu.org (plain-text only, no HTML mail, please)
* mail archives: https://80x24.org/dtas-all/
nntp://news.public-inbox.org/inbox.comp.audio.dtas
https://80x24.org/dtas-all/new.atom
^ permalink raw reply [relevance 4%]
* [PATCH 0/3] fixup annoying Ruby 2.7.0dev warnings
@ 2019-10-31 10:00 5% Eric Wong
2019-10-31 10:00 7% ` [PATCH 2/3] dtas-console: pass kwargs as-is to String#encode Eric Wong
0 siblings, 1 reply; 3+ results
From: Eric Wong @ 2019-10-31 10:00 UTC (permalink / raw)
To: dtas-all
Testing Ruby 2.7.0dev reveals more annoying warnings, which
end users (not hackers) would suffer from :<
*sigh*
Eric Wong (3):
dtas-console: remove unused variables
dtas-console: pass kwargs as-is to String#encode
buffer/splice: pass kwargs as-is to tee/splice
bin/dtas-console | 11 +++--------
lib/dtas/buffer/splice.rb | 10 ++++++----
2 files changed, 9 insertions(+), 12 deletions(-)
^ permalink raw reply [relevance 5%]
* [PATCH 2/3] dtas-console: pass kwargs as-is to String#encode
2019-10-31 10:00 5% [PATCH 0/3] fixup annoying Ruby 2.7.0dev warnings Eric Wong
@ 2019-10-31 10:00 7% ` Eric Wong
0 siblings, 0 replies; 3+ results
From: Eric Wong @ 2019-10-31 10:00 UTC (permalink / raw)
To: dtas-all
Ruby 2.7.0dev will warn when hashes are passed and intended
for use as kwargs unless we expand the hash via "**enc_opts",
but "**" is Ruby 2.0+ syntax and I guess we still support
1.9.3 for the time being.
---
bin/dtas-console | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/dtas-console b/bin/dtas-console
index 877c9c4..2143e65 100755
--- a/bin/dtas-console
+++ b/bin/dtas-console
@@ -119,7 +119,6 @@ def may_fail(res, events)
pre_mute_vol = 1.0
enc_locale = Encoding.find("locale")
$stdout.set_encoding(enc_locale)
-enc_opts = { undef: :replace, invalid: :replace, replace: '?' }
begin
Curses.init_screen
Curses.nonl
@@ -165,7 +164,8 @@ def may_fail(res, events)
# FS encoding != locale encoding, but we need to display an FS path
# name to whatever locale the terminal is encoded to, so force it
# and risk mojibake...
- infile.encode(enc_locale, enc_opts)
+ infile.encode(enc_locale,
+ undef: :replace, invalid: :replace, replace: '?')
Curses.setpos(lineno += 1, 0)
Curses.clrtoeol
Curses.addstr(infile)
^ permalink raw reply related [relevance 7%]
Results 1-3 of 3 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2019-10-31 10:00 5% [PATCH 0/3] fixup annoying Ruby 2.7.0dev warnings Eric Wong
2019-10-31 10:00 7% ` [PATCH 2/3] dtas-console: pass kwargs as-is to String#encode Eric Wong
2019-11-14 1:56 4% [ANN] dtas 0.17.0 - duct tape audio suite for *nix Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/dtas.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).