Opened 11 years ago

Closed 11 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 11 years ago by ph3-der-loewe

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

comment:2 Changed 11 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 11 years ago by stephanj

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

works on futro and windows

Last edited 11 years ago by stephanj (previous) (diff)

comment:4 Changed 11 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.