mirror of https://github.com/mpv-player/mpv
10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11773 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a546b9abc0
commit
d94b5264cb
|
@ -27,7 +27,7 @@ int ai_oss_set_samplerate(audio_in_t *ai)
|
|||
{
|
||||
int tmp = ai->req_samplerate;
|
||||
if (ioctl(ai->oss.audio_fd, SNDCTL_DSP_SPEED, &tmp) == -1) return -1;
|
||||
ai->samplerate = ai->req_samplerate;
|
||||
ai->samplerate = tmp;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue