Opened 13 years ago

Closed 13 years ago

#102 closed enhancement (fixed)

roarvorbis should have playback time display

Reported by: ph3-der-loewe Owned by: ph3-der-loewe
Priority: minor Milestone: RoarAudio major release 0.4
Component: RoarAudio Main Package Version: 0.4beta4
Keywords: roarvorbis Cc: eeemsi
Architecture: Compiler:
Difficulty: Kernel:
Operating System: Parent Tickets:
Patch attached: no Protocol:
Sound driver: Topic: New feature

Description

roarvorbis should support a display of playback time just like ogg123(1) has.

Subtickets

Change History (4)

comment:1 Changed 13 years ago by ph3-der-loewe

  • Owner set to ph3-der-loewe
  • Status changed from new to assigned

comment:2 Changed 13 years ago by ph3-der-loewe

I'm currently thinking of this:

  • reading pos from server every about 1 sec.
  • updating display every 1/10th of a sec using local interpolation.
  • writing using \r. This isn't very portable.

Can someone please test the last point for different systems?:

printf "AAA\rBB\n"

The result should be:

BBA

comment:3 Changed 13 years ago by stephanj

for quick testing via perl:
perl -e 'print "AAA\rBB\n"'

works on futro

Version 0, edited 13 years ago by stephanj (next)

comment:4 Changed 13 years ago by ph3-der-loewe

  • Resolution set to fixed
  • Status changed from assigned to closed
  • Version changed from current to 0.4beta4
Note: See TracTickets for help on using tickets.