DecoderControl, InputStream: use Mutex/Cond instead of GMutex/GCond
This commit is contained in:
@@ -464,7 +464,7 @@ wavpack_input_init(struct wavpack_input *isp, struct decoder *decoder,
|
||||
|
||||
static struct input_stream *
|
||||
wavpack_open_wvc(struct decoder *decoder, const char *uri,
|
||||
GMutex *mutex, GCond *cond,
|
||||
Mutex &mutex, Cond &cond,
|
||||
struct wavpack_input *wpi)
|
||||
{
|
||||
struct input_stream *is_wvc;
|
||||
@@ -517,7 +517,7 @@ wavpack_streamdecode(struct decoder * decoder, struct input_stream *is)
|
||||
struct wavpack_input isp, isp_wvc;
|
||||
bool can_seek = is->seekable;
|
||||
|
||||
is_wvc = wavpack_open_wvc(decoder, is->uri, is->mutex, is->cond,
|
||||
is_wvc = wavpack_open_wvc(decoder, is->uri, *is->mutex, *is->cond,
|
||||
&isp_wvc);
|
||||
if (is_wvc != NULL) {
|
||||
open_flags |= OPEN_WVC;
|
||||
|
Reference in New Issue
Block a user