mirror of
https://github.com/mpv-player/mpv
synced 2025-03-20 10:17:31 +00:00
10000000000l twisted typecasting
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12381 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a24323c65f
commit
f5b29948ab
@ -737,7 +737,7 @@ static int control(priv_t *priv, int cmd, void *arg)
|
||||
case TVI_CONTROL_AUD_SET_SAMPLERATE:
|
||||
mp_msg(MSGT_TV, MSGL_V, "%s: set audio samplerate: %d\n",
|
||||
info.short_name, *(int *)arg);
|
||||
if (audio_in_set_samplerate(&priv->audio_in, (int)*(void **)arg) < 0) return TVI_CONTROL_FALSE;
|
||||
if (audio_in_set_samplerate(&priv->audio_in, *(int*)arg) < 0) return TVI_CONTROL_FALSE;
|
||||
// setup_audio_buffer_sizes(priv);
|
||||
return TVI_CONTROL_TRUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user