everything related to duct tape audio suite (dtas)
 help / color / Atom feed
* dtas-ctl queue cat in case player paused and song not started
@ 2015-12-16 15:53 Rene Maurer
  2015-12-16 18:34 ` Eric Wong
  0 siblings, 1 reply; 3+ messages in thread
From: Rene Maurer @ 2015-12-16 15:53 UTC (permalink / raw)
  To: dtas-all

,----
| dtas-player &
| idle
|
| $ dtas-ctl queue cat
| --- []
| 
| $ dtas-ctl pause
| ---
| paused:
|   before: false
|   after: true
| 
| $dtas-enq /home/rene/tango.flac
| /home/rene/tango.flac OK
| 
| $ dtas-ctl queue cat
| ---
| - "/home/rene/tango.flac"
`----

IMHO the output of dtas-ctl queue cat should be
,----
| ---
| - - "/home/rene/tango.flac"
|   - 0s
`----

What do you think?

Best
René


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: dtas-ctl queue cat in case player paused and song not started
  2015-12-16 15:53 dtas-ctl queue cat in case player paused and song not started Rene Maurer
@ 2015-12-16 18:34 ` Eric Wong
  2015-12-16 23:17   ` Rene Maurer
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Wong @ 2015-12-16 18:34 UTC (permalink / raw)
  To: Rene Maurer; +Cc: dtas-all

Rene Maurer <rmnet@mailc.net> wrote:
> | $ dtas-ctl queue cat
> | ---
> | - "/home/rene/tango.flac"
> `----
> 
> IMHO the output of dtas-ctl queue cat should be
> ,----
> | ---
> | - - "/home/rene/tango.flac"
> |   - 0s
> `----
> 
> What do you think?

I consider the zero offset to be implied.

Redundant data just adds to noise over socket and output; and
it waste 80 bytes(!) of memory in the player for (40 bytes if
you're on 32-bit).

I don't think anybody would run the following on the command-line:

	play foo.flac trim 0

Instead of:

	play foo.flac


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: dtas-ctl queue cat in case player paused and song not started
  2015-12-16 18:34 ` Eric Wong
@ 2015-12-16 23:17   ` Rene Maurer
  0 siblings, 0 replies; 3+ messages in thread
From: Rene Maurer @ 2015-12-16 23:17 UTC (permalink / raw)
  To: dtas-all

Eric Wong <e@80x24.org> wrote:
> Redundant data just adds to noise over socket and output;

You are right. And on the other hand it's not a big deal to distinguish
between the output formats.

> I don't think anybody would run the following on the command-line:
> 
> 	play foo.flac trim 0
> 
> Instead of:
> 
> 	play foo.flac

I start the player in paused state; add songs to the queue (while
watching the queue with dtas-ctl queue cat). As said, no problem
without zero offset.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-16 15:53 dtas-ctl queue cat in case player paused and song not started Rene Maurer
2015-12-16 18:34 ` Eric Wong
2015-12-16 23:17   ` Rene Maurer

everything related to duct tape audio suite (dtas)

Archives are clonable:
	git clone --mirror https://80x24.org/dtas-all
	git clone --mirror http://ou63pmih66umazou.onion/dtas-all

Example config snippet for mirrors

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.audio.dtas
	nntp://ou63pmih66umazou.onion/inbox.comp.audio.dtas

 note: .onion URLs require Tor: https://www.torproject.org/

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git