On Fri, 28 May 2021 14:58:46 +0200 Christopher Arndt
wrote:
Am 23.05.21 um 13:03 schrieb John Murphy:
Jack_showtime man page doesn't mention any
options available and
the problem I have is the frequency of the lines it outputs.
Has to be a better way.
All that jack_showwtime does is that itt calls jack_transport_query()
and formats the returned struct:
But, looking at showtime.c I wonder if I could modify it to print just
the first value on the line and then sleep for a while. Would it build
somewhere under ~/ and work?
Well that was far too easy :) copied showtime.c from example-clients
Inserted a new line #64 (just below the printf ("\n");)
'usleep(100000);'
compiled with 'gcc showtime.c $(pkg-config --cflags --libs jack) -o showt'
It's perfect! thanks for the Python link though.
--
John.