sys/sunaudio/: Use the sunaudio debug category.
authorJan Schmidt <thaytan@mad.scientist.com>
Sat, 9 Dec 2006 16:17:33 +0000 (16:17 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Sat, 9 Dec 2006 16:17:33 +0000 (16:17 +0000)
commit6e9ee0d19a736e2a010c5795c6941ebf55411328
treeb62a871d0e8807b0f87b66cb2d4a6fc1797bfb7e
parentf3bdb649718c911d6227d10e9280d042dca0ed92
sys/sunaudio/: Use the sunaudio debug category.

Original commit message from CVS:
* sys/sunaudio/gstsunaudiomixerctrl.c:
* sys/sunaudio/gstsunaudiosrc.c:
Use the sunaudio debug category.
* sys/sunaudio/gstsunaudiosink.c: (gst_sunaudiosink_finalize),
(gst_sunaudiosink_class_init), (gst_sunaudiosink_init),
(gst_sunaudiosink_set_property), (gst_sunaudiosink_get_property),
(gst_sunaudiosink_open), (gst_sunaudiosink_close),
(gst_sunaudiosink_prepare), (gst_sunaudio_sink_do_delay),
(gst_sunaudiosink_write), (gst_sunaudiosink_delay),
(gst_sunaudiosink_reset):
* sys/sunaudio/gstsunaudiosink.h:
Uses the sunaudio debug category for all debug output
Implements the _delay() callback to synchronise video playback better
Change the segtotal and segsize values back to the parent class
defaults (taken from buffer_time and latency_times of 200ms and 10ms
respectively)
Measure the samples written to the device vs. played.
Keep track of segments in the device by writing empty eof frames, and
sleep using a GCond when we get too far ahead and risk overrunning the
sink's ringbuffer.
Fixes: #360673
ChangeLog
sys/sunaudio/gstsunaudiomixerctrl.c
sys/sunaudio/gstsunaudiosink.c
sys/sunaudio/gstsunaudiosink.h
sys/sunaudio/gstsunaudiosrc.c