dtas 0.20.0 → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8f1bef240a616d74eeffa033144a1323c2a82b29d270c3620654af293bd2fe42
4
- data.tar.gz: 2c48a6d95b4d5adebe16ce99bd14e18c997cd9011dd77dae2331d98b7df794de
3
+ metadata.gz: '08c87e61b5fe14796e7415b25cf1df9acaff5fbf280643b33745457dc97e72be'
4
+ data.tar.gz: fefae588f265012deaa56108c1c6f4fc9f930a1c8827a166fd58ed2b6a844540
5
5
  SHA512:
6
- metadata.gz: a32d0952afed05e71ad637012be3e8622fc889c6217e6baa4322f7bc711c66df1a7c31100cc0f751e8d7f2a862e301789f7e3475ae823f4cd336a7139540661c
7
- data.tar.gz: d46c3e1b6b48091a9fafeeb0d15af21e01a5f0bfe02d89028165f20fdd0ba026c3de3509308dd959968dd76c5e110fbcc842bc7e86ea2139ec0a0f9cc981ec09
6
+ metadata.gz: 8401be0d9a2a8c0e315c9b19964405dfe5bb515997546e6014bea370a96053d288d5597056839096cf1469b43094467680b206cb371133eefba48ef1fe6ca85b
7
+ data.tar.gz: 50d96fa7791a55aea522aaec18886fcfc330290bae169e41f4c754f04c60729f73f201d1d9172ff52a7978759a93c918b76b6f7d60db330d649b41a044b2ec0b
data/GIT-VERSION-FILE CHANGED
@@ -1 +1 @@
1
- VERSION = 0.20.0
1
+ VERSION = 0.21.0
data/GIT-VERSION-GEN CHANGED
@@ -5,7 +5,7 @@
5
5
  CONSTANT = "DTAS::VERSION"
6
6
  RVF = "lib/dtas/version.rb"
7
7
  GVF = "GIT-VERSION-FILE"
8
- DEF_VER = "v0.20.0"
8
+ DEF_VER = "v0.21.0"
9
9
  vn = DEF_VER
10
10
 
11
11
  # First see if there is a version file (included in release tarballs),
data/INSTALL CHANGED
@@ -30,10 +30,10 @@ For future upgrades of dtas
30
30
 
31
31
  Grab the latest tarball from our HTTPS site:
32
32
 
33
- https://80x24.org/dtas/2022/dtas-0.20.0.tar.gz
33
+ https://80x24.org/dtas/2022/dtas-0.21.0.tar.gz
34
34
 
35
- $ tar zxvf dtas-0.20.0.tar.gz
36
- $ cd dtas-0.20.0
35
+ $ tar zxvf dtas-0.21.0.tar.gz
36
+ $ cd dtas-0.21.0
37
37
 
38
38
  # To install symlinks into ~/bin (assuming your Ruby executable is "ruby")
39
39
  $ make symlink-install
data/NEWS CHANGED
@@ -1,3 +1,17 @@
1
+ # 0.21.0 / 2022-09-06
2
+
3
+ dtas 0.21.0
4
+
5
+
6
+ There's two minor fixes for dtas-splitfx, and one for
7
+ dtas-player users using the rate=bypass optimization.
8
+
9
+ 3 changes since v0.20.0 (2022-02-03):
10
+
11
+ splitfx: fix error reporting of failed tracks
12
+ splitfx: warn on improper encodings for titles
13
+ player: drain sinks completely before changing sink rate
14
+
1
15
  # 0.20.0 / 2022-02-03
2
16
 
3
17
  dtas 0.20.0 - ruby 3.1+ compatibility, splitfx improvements
data/dtas.gemspec CHANGED
@@ -3,7 +3,7 @@
3
3
  Gem::Specification.new do |s|
4
4
  manifest = File.read('.gem-manifest').split(/\n/)
5
5
  s.name = %q{dtas}
6
- s.version = (ENV["VERSION"] || '0.20.0').dup
6
+ s.version = (ENV["VERSION"] || '0.21.0').dup
7
7
  s.authors = ["dtas hackers"]
8
8
  s.summary = "duct tape audio suite for *nix"
9
9
  s.description = File.read("README").split(/\n\n/)[1].strip
data/lib/dtas/player.rb CHANGED
@@ -37,6 +37,7 @@ class DTAS::Player # :nodoc:
37
37
  @paused = false
38
38
  @format = DTAS::Format.new
39
39
  @bypass = [] # %w(rate bits channels) (not worth Hash overhead)
40
+ @bypass_next = nil # source_spec
40
41
 
41
42
  @sinks = {} # { user-defined name => sink }
42
43
  @targets = [] # order matters
@@ -331,6 +332,7 @@ class DTAS::Player # :nodoc:
331
332
 
332
333
  # called when the player is leaving idle state
333
334
  def spawn_sinks(source_spec)
335
+ @bypass_next = nil
334
336
  return true if @targets[0]
335
337
  @sinks.each_value do |sink|
336
338
  sink.active or next
@@ -392,6 +394,8 @@ class DTAS::Player # :nodoc:
392
394
  if ! @bypass.empty? && pending.respond_to?(:format)
393
395
  new_fmt = bypass_match!(@format.dup, pending.format)
394
396
  if new_fmt != @format
397
+ @bypass_next = source_spec
398
+ return if @sink_buf.inflight > 0
395
399
  stop_sinks # we may fail to start below
396
400
  format_update!(new_fmt)
397
401
  end
@@ -434,6 +438,7 @@ class DTAS::Player # :nodoc:
434
438
  end
435
439
 
436
440
  def stop_sinks
441
+ @bypass_next = nil
437
442
  @targets.each { |t| drop_target(t) }.clear
438
443
  end
439
444
 
@@ -458,7 +463,9 @@ class DTAS::Player # :nodoc:
458
463
  end
459
464
 
460
465
  # nothing left inflight, stop the sinks until we have a source
466
+ bn = @bypass_next
461
467
  stop_sinks
468
+ next_source(bn) if bn # are we restarting for bypass?
462
469
  :ignore
463
470
  end
464
471
 
data/lib/dtas/splitfx.rb CHANGED
@@ -290,6 +290,7 @@ class DTAS::SplitFX # :nodoc:
290
290
  t = T.new
291
291
  t.tbeg = @t2s.call(start_time)
292
292
  t.comments = @comments.dup
293
+ title.valid_encoding? or warn "#{title.inspect} encoding invalid"
293
294
  t.comments["TITLE"] = title
294
295
  t.env = @env.dup
295
296
 
@@ -395,7 +396,7 @@ class DTAS::SplitFX # :nodoc:
395
396
  @out.puts "DONE #{done[0].inspect}" if $DEBUG
396
397
  done[1].close!
397
398
  else
398
- fails << [ t, status ]
399
+ fails << [ done[0], status ]
399
400
  end
400
401
  end
401
402
 
data/lib/dtas/version.rb CHANGED
@@ -1 +1 @@
1
- DTAS::VERSION = '0.20.0'.freeze # :nodoc:
1
+ DTAS::VERSION = '0.21.0'.freeze # :nodoc:
data/man/dtas-archive.1 CHANGED
@@ -133,7 +133,7 @@
133
133
  .\" ========================================================================
134
134
  .\"
135
135
  .IX Title "DTAS-ARCHIVE 1"
136
- .TH DTAS-ARCHIVE 1 "1994-10-02" "dtas 0.20.0" "dtas user manual"
136
+ .TH DTAS-ARCHIVE 1 "1994-10-02" "dtas 0.21.0" "dtas user manual"
137
137
  .\" For nroff, turn off justification. Always turn off hyphenation; it makes
138
138
  .\" way too many mistakes in technical documents.
139
139
  .if n .ad l
data/man/dtas-console.1 CHANGED
@@ -133,7 +133,7 @@
133
133
  .\" ========================================================================
134
134
  .\"
135
135
  .IX Title "DTAS-CONSOLE 1"
136
- .TH DTAS-CONSOLE 1 "1994-10-02" "dtas 0.20.0" "dtas user manual"
136
+ .TH DTAS-CONSOLE 1 "1994-10-02" "dtas 0.21.0" "dtas user manual"
137
137
  .\" For nroff, turn off justification. Always turn off hyphenation; it makes
138
138
  .\" way too many mistakes in technical documents.
139
139
  .if n .ad l
data/man/dtas-ctl.1 CHANGED
@@ -133,7 +133,7 @@
133
133
  .\" ========================================================================
134
134
  .\"
135
135
  .IX Title "DTAS-CTL 1"
136
- .TH DTAS-CTL 1 "1994-10-02" "dtas 0.20.0" "dtas user manual"
136
+ .TH DTAS-CTL 1 "1994-10-02" "dtas 0.21.0" "dtas user manual"
137
137
  .\" For nroff, turn off justification. Always turn off hyphenation; it makes
138
138
  .\" way too many mistakes in technical documents.
139
139
  .if n .ad l
data/man/dtas-cueedit.1 CHANGED
@@ -133,7 +133,7 @@
133
133
  .\" ========================================================================
134
134
  .\"
135
135
  .IX Title "DTAS-CUEEDIT 1"
136
- .TH DTAS-CUEEDIT 1 "1994-10-02" "dtas 0.20.0" "dtas user manual"
136
+ .TH DTAS-CUEEDIT 1 "1994-10-02" "dtas 0.21.0" "dtas user manual"
137
137
  .\" For nroff, turn off justification. Always turn off hyphenation; it makes
138
138
  .\" way too many mistakes in technical documents.
139
139
  .if n .ad l
data/man/dtas-enq.1 CHANGED
@@ -133,7 +133,7 @@
133
133
  .\" ========================================================================
134
134
  .\"
135
135
  .IX Title "DTAS-ENQ 1"
136
- .TH DTAS-ENQ 1 "1994-10-02" "dtas 0.20.0" "dtas user manual"
136
+ .TH DTAS-ENQ 1 "1994-10-02" "dtas 0.21.0" "dtas user manual"
137
137
  .\" For nroff, turn off justification. Always turn off hyphenation; it makes
138
138
  .\" way too many mistakes in technical documents.
139
139
  .if n .ad l
data/man/dtas-env.7 CHANGED
@@ -133,7 +133,7 @@
133
133
  .\" ========================================================================
134
134
  .\"
135
135
  .IX Title "DTAS-ENV 7"
136
- .TH DTAS-ENV 7 "1994-10-02" "dtas 0.20.0" "dtas user manual"
136
+ .TH DTAS-ENV 7 "1994-10-02" "dtas 0.21.0" "dtas user manual"
137
137
  .\" For nroff, turn off justification. Always turn off hyphenation; it makes
138
138
  .\" way too many mistakes in technical documents.
139
139
  .if n .ad l
data/man/dtas-msinkctl.1 CHANGED
@@ -133,7 +133,7 @@
133
133
  .\" ========================================================================
134
134
  .\"
135
135
  .IX Title "DTAS-MSINKCTL 1"
136
- .TH DTAS-MSINKCTL 1 "1994-10-02" "dtas 0.20.0" "dtas user manual"
136
+ .TH DTAS-MSINKCTL 1 "1994-10-02" "dtas 0.21.0" "dtas user manual"
137
137
  .\" For nroff, turn off justification. Always turn off hyphenation; it makes
138
138
  .\" way too many mistakes in technical documents.
139
139
  .if n .ad l
data/man/dtas-player.1 CHANGED
@@ -133,7 +133,7 @@
133
133
  .\" ========================================================================
134
134
  .\"
135
135
  .IX Title "DTAS-PLAYER 1"
136
- .TH DTAS-PLAYER 1 "1994-10-02" "dtas 0.20.0" "dtas user manual"
136
+ .TH DTAS-PLAYER 1 "1994-10-02" "dtas 0.21.0" "dtas user manual"
137
137
  .\" For nroff, turn off justification. Always turn off hyphenation; it makes
138
138
  .\" way too many mistakes in technical documents.
139
139
  .if n .ad l
@@ -133,7 +133,7 @@
133
133
  .\" ========================================================================
134
134
  .\"
135
135
  .IX Title "DTAS-PLAYER_EFFECTS 7"
136
- .TH DTAS-PLAYER_EFFECTS 7 "1994-10-02" "dtas 0.20.0" "dtas user manual"
136
+ .TH DTAS-PLAYER_EFFECTS 7 "1994-10-02" "dtas 0.21.0" "dtas user manual"
137
137
  .\" For nroff, turn off justification. Always turn off hyphenation; it makes
138
138
  .\" way too many mistakes in technical documents.
139
139
  .if n .ad l
@@ -133,7 +133,7 @@
133
133
  .\" ========================================================================
134
134
  .\"
135
135
  .IX Title "DTAS-PLAYER_PROTOCOL 7"
136
- .TH DTAS-PLAYER_PROTOCOL 7 "1994-10-02" "dtas 0.20.0" "dtas user manual"
136
+ .TH DTAS-PLAYER_PROTOCOL 7 "1994-10-02" "dtas 0.21.0" "dtas user manual"
137
137
  .\" For nroff, turn off justification. Always turn off hyphenation; it makes
138
138
  .\" way too many mistakes in technical documents.
139
139
  .if n .ad l
@@ -133,7 +133,7 @@
133
133
  .\" ========================================================================
134
134
  .\"
135
135
  .IX Title "DTAS-PLAYER_SINK_EXAMPLES 7"
136
- .TH DTAS-PLAYER_SINK_EXAMPLES 7 "1994-10-02" "dtas 0.20.0" "dtas user manual"
136
+ .TH DTAS-PLAYER_SINK_EXAMPLES 7 "1994-10-02" "dtas 0.21.0" "dtas user manual"
137
137
  .\" For nroff, turn off justification. Always turn off hyphenation; it makes
138
138
  .\" way too many mistakes in technical documents.
139
139
  .if n .ad l
data/man/dtas-sinkedit.1 CHANGED
@@ -133,7 +133,7 @@
133
133
  .\" ========================================================================
134
134
  .\"
135
135
  .IX Title "DTAS-SINKEDIT 1"
136
- .TH DTAS-SINKEDIT 1 "1994-10-02" "dtas 0.20.0" "dtas user manual"
136
+ .TH DTAS-SINKEDIT 1 "1994-10-02" "dtas 0.21.0" "dtas user manual"
137
137
  .\" For nroff, turn off justification. Always turn off hyphenation; it makes
138
138
  .\" way too many mistakes in technical documents.
139
139
  .if n .ad l
@@ -133,7 +133,7 @@
133
133
  .\" ========================================================================
134
134
  .\"
135
135
  .IX Title "DTAS-SOURCEEDIT 1"
136
- .TH DTAS-SOURCEEDIT 1 "1994-10-02" "dtas 0.20.0" "dtas user manual"
136
+ .TH DTAS-SOURCEEDIT 1 "1994-10-02" "dtas 0.21.0" "dtas user manual"
137
137
  .\" For nroff, turn off justification. Always turn off hyphenation; it makes
138
138
  .\" way too many mistakes in technical documents.
139
139
  .if n .ad l
data/man/dtas-splitfx.1 CHANGED
@@ -133,7 +133,7 @@
133
133
  .\" ========================================================================
134
134
  .\"
135
135
  .IX Title "DTAS-SPLITFX 1"
136
- .TH DTAS-SPLITFX 1 "1994-10-02" "dtas 0.20.0" "dtas user manual"
136
+ .TH DTAS-SPLITFX 1 "1994-10-02" "dtas 0.21.0" "dtas user manual"
137
137
  .\" For nroff, turn off justification. Always turn off hyphenation; it makes
138
138
  .\" way too many mistakes in technical documents.
139
139
  .if n .ad l
data/man/dtas-tl.1 CHANGED
@@ -133,7 +133,7 @@
133
133
  .\" ========================================================================
134
134
  .\"
135
135
  .IX Title "DTAS-TL 1"
136
- .TH DTAS-TL 1 "1994-10-02" "dtas 0.20.0" "dtas user manual"
136
+ .TH DTAS-TL 1 "1994-10-02" "dtas 0.21.0" "dtas user manual"
137
137
  .\" For nroff, turn off justification. Always turn off hyphenation; it makes
138
138
  .\" way too many mistakes in technical documents.
139
139
  .if n .ad l
data/man/dtas-xdelay.1 CHANGED
@@ -133,7 +133,7 @@
133
133
  .\" ========================================================================
134
134
  .\"
135
135
  .IX Title "DTAS-XDELAY 1"
136
- .TH DTAS-XDELAY 1 "1994-10-02" "dtas 0.20.0" "dtas user manual"
136
+ .TH DTAS-XDELAY 1 "1994-10-02" "dtas 0.21.0" "dtas user manual"
137
137
  .\" For nroff, turn off justification. Always turn off hyphenation; it makes
138
138
  .\" way too many mistakes in technical documents.
139
139
  .if n .ad l
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dtas
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - dtas hackers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-03 00:00:00.000000000 Z
11
+ date: 2022-09-06 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |-
14
14
  Free Software command-line tools for audio playback, mastering, and