diff options
author | New Tobin Paradigm <email@mattatobin.com> | 2019-11-03 19:49:27 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-03 19:49:27 -0500 |
commit | 22b410f31b0fc61a0a99522fe2aea1a31823bd99 (patch) | |
tree | 8deb26fb6a2dfd2b20eb4f09da4b6de777a784bb | |
parent | 1960d6e08a949ceed50e6a18240d40a7ecee879c (diff) | |
parent | ff0f4b11ab54ba9820290c34f4486b625d841120 (diff) | |
download | UXP-22b410f31b0fc61a0a99522fe2aea1a31823bd99.tar UXP-22b410f31b0fc61a0a99522fe2aea1a31823bd99.tar.gz UXP-22b410f31b0fc61a0a99522fe2aea1a31823bd99.tar.lz UXP-22b410f31b0fc61a0a99522fe2aea1a31823bd99.tar.xz UXP-22b410f31b0fc61a0a99522fe2aea1a31823bd99.zip |
Merge pull request #1272 from g4jc/libcubeb
Fix build failure in current in-tree libcubeb sndio module
-rw-r--r-- | media/libcubeb/src/cubeb_sndio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libcubeb/src/cubeb_sndio.c b/media/libcubeb/src/cubeb_sndio.c index 793789765..c7ac18446 100644 --- a/media/libcubeb/src/cubeb_sndio.c +++ b/media/libcubeb/src/cubeb_sndio.c @@ -245,7 +245,7 @@ sndio_stream_init(cubeb * context, s->data_cb = data_callback; s->state_cb = state_callback; s->arg = user_ptr; - s->mtx = PTHREAD_MUTEX_INITIALIZER; + s->mtx = (pthread_mutex_t)PTHREAD_MUTEX_INITIALIZER; s->rdpos = s->wrpos = 0; if (output_stream_params->format == CUBEB_SAMPLE_FLOAT32LE) { s->conv = 1; |