git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11773 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
henry 2004-01-11 10:01:18 +00:00
parent a546b9abc0
commit d94b5264cb
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}