ocarina/core/callback.cpp
Anna Schumaker acac350879 audio: Remove on_pause_count_changed callback
The UI should handle this directly on end-of-stream messages.

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2014-12-20 15:44:40 -05:00

25 lines
386 B
C++

/**
* @file
* Copyright 2014 (c) Anna Schumaker.
*/
#include <core/callback.h>
static void no_op(Queue *, unsigned int) {}
static void no_op(Queue *) {}
static struct Callbacks callbacks = {
.on_pq_removed = no_op,
.on_queue_track_add = no_op,
.on_queue_track_del = no_op,
.on_queue_track_changed = no_op,
};
struct Callbacks *get_callbacks()
{
return &callbacks;
}