CD Player (tcd) and logs



  I log my sessions (exec gnome-session 2>&1 .....) and just noticed my log
was 32 megs. Took at peek to see what was up and it's full of (literally
thousands) of lines like the following:

foo: 1
foo: 2
foo: 3
foo: 4
foo: 5
foo: 6
foo: 7
foo: 8
foo: 9
foo: 10
foo: 11
foo: 12

  Repeated over and over again constantly. Using 'tail -f' I see they're
being written about every second or so. Tracked in down in the source to
the following:

		...
		for( i=0; i <= cd->last_t+1; i++ )
		{
				g_print("foo: %d\n", i+1);
				cdtoc[i].frame = cd->trk[i+1].toc.cdte_addr.msf.frame;
				cdtoc[i].min = cd->trk[i+1].toc.cdte_addr.msf.minute;
				cdtoc[i].sec = cd->trk[i+1].toc.cdte_addr.msf.second;
		}
		...

What is the purpose of this message ? is it an error or just informative ?
The player itself works fine, guess I just don't see why the message.

--
No lady, I said I've got a hard DISK...

Mike Hall <mhall@riverside.org>, (MH993)   -    http://www.riverside.org
System Administrator (*nix, Perl, CGI hacker, certified OS/2 Specialist)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]