--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403608
This commit is contained in:
Sam Lantinga 2009-05-23 22:41:08 +00:00
parent 3071101f22
commit 483f2ba3fb
41 changed files with 7305 additions and 7366 deletions

View file

@ -477,7 +477,8 @@ SDL_RunAudio(void *devicep)
/* Wait for an audio buffer to become available */
current_audio.impl.WaitDevice(device);
} else {
SDL_Delay((device->spec.samples * 1000) / device->spec.freq);
SDL_Delay((device->spec.samples * 1000) /
device->spec.freq);
}
}
@ -525,7 +526,7 @@ SDL_RunAudio(void *devicep)
/* Wait for an audio buffer to become available */
current_audio.impl.WaitDevice(device);
} else {
SDL_Delay((device->spec.samples * 1000) / device->spec.freq);
SDL_Delay((device->spec.samples * 1000) / device->spec.freq);
}
}
}

File diff suppressed because it is too large Load diff

View file

@ -44,7 +44,7 @@ struct SDL_PrivateAudioData
/* The audio device handle */
int cardno;
int deviceno;
snd_pcm_t* audio_handle;
snd_pcm_t *audio_handle;
/* The audio file descriptor */
int audio_fd;
@ -53,7 +53,7 @@ struct SDL_PrivateAudioData
uint32_t timeout_on_wait;
/* Raw mixing buffer */
Uint8* pcm_buf;
Uint8 *pcm_buf;
Uint32 pcm_len;
};