add timestamp printf for pulse disconnection debugging

SVN revision: 65273
This commit is contained in:
Mike Blumenkrantz 2011-11-15 16:26:21 +00:00
parent c2527ef23f
commit 4173f556d6
1 changed files with 2 additions and 0 deletions

View File

@ -156,6 +156,8 @@ _pulse_disconnected(Pulse *d, int type __UNUSED__, Pulse *ev)
EINA_LIST_FREE(sources, sink)
pulse_sink_free(sink);
printf("PULSEAUDIO: disconnected at %g\n", ecore_time_unix_get());
if (last_disc && (ecore_time_unix_get() - last_disc < 1))
{
e_mixer_pulse_shutdown();