mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 988827 - Fix more warnings in cubeb on Android/B2G. r=cpeterson
--HG-- extra : rebase_source : 88cb14657c7f2b9d4c1908e6f552ad2e4182b33c
This commit is contained in:
parent
40d145e1bb
commit
567b36ad22
@ -298,7 +298,7 @@ audiotrack_get_min_latency(cubeb * ctx, cubeb_stream_params params, uint32_t * l
|
||||
* audiotrack_stream_init), so this value is not going to be used. */
|
||||
int rv;
|
||||
|
||||
rv = audiotrack_get_min_frame_count(ctx, ¶ms, latency_ms);
|
||||
rv = audiotrack_get_min_frame_count(ctx, ¶ms, (int *)latency_ms);
|
||||
if (rv != CUBEB_OK) {
|
||||
return CUBEB_ERROR;
|
||||
}
|
||||
@ -347,7 +347,7 @@ audiotrack_stream_init(cubeb * ctx, cubeb_stream ** stream, char const * stream_
|
||||
return CUBEB_ERROR_INVALID_FORMAT;
|
||||
}
|
||||
|
||||
if (audiotrack_get_min_frame_count(ctx, &stream_params, &min_frame_count)) {
|
||||
if (audiotrack_get_min_frame_count(ctx, &stream_params, (int *)&min_frame_count)) {
|
||||
return CUBEB_ERROR;
|
||||
}
|
||||
|
||||
|
@ -559,7 +559,7 @@ opensl_stream_get_position(cubeb_stream * stm, uint64_t * position)
|
||||
uint64_t samplerate;
|
||||
SLresult res;
|
||||
int rv;
|
||||
int32_t mixer_latency;
|
||||
uint32_t mixer_latency;
|
||||
|
||||
res = (*stm->play)->GetPosition(stm->play, &msec);
|
||||
if (res != SL_RESULT_SUCCESS)
|
||||
|
Loading…
Reference in New Issue
Block a user