unsigned qCreateSinkForDebugFeedback(void* feedbackChannel)
{
	QAudioSinkForDebugFeedback *sink = new QAudioSinkForDebugFeedback(*((FeedbackChannel**)feedbackChannel));
	if (!sink) return 0;
	g_Ticker.addTickee(sink->ptr());
	return sink->key();
}
unsigned qCreateSink(void)
{
	Sink *sink = new Sink();
	if (!sink) {
		qLog() << "qCreateSink(): failed to instantiate new sink" << flush;
		return 0;
	}
	g_Ticker.addTickee(sink->ptr());
	return sink->key();
}