mmdevapi: Use UINT32 for a number of frames and UINT64 to sum them.

This commit is contained in:
Jörg Höhle 2011-08-16 19:53:35 +02:00 committed by Alexandre Julliard
parent 1c1da3e596
commit 08dd823c7c
3 changed files with 6 additions and 6 deletions

View File

@ -108,8 +108,8 @@ struct ACImpl {
float *vols;
BOOL initted, started;
UINT64 written_frames, held_frames, tmp_buffer_frames;
UINT32 bufsize_frames, period_us;
UINT64 written_frames;
UINT32 bufsize_frames, held_frames, tmp_buffer_frames, period_us;
UINT32 lcl_offs_frames; /* offs into local_buffer where valid data starts */
HANDLE timer;

View File

@ -124,8 +124,8 @@ struct ACImpl {
AudioQueueRef aqueue;
AudioObjectPropertyScope scope;
HANDLE timer;
UINT32 period_ms, bufsize_frames, inbuf_frames, written_frames;
UINT64 last_time;
UINT32 period_ms, bufsize_frames, inbuf_frames;
UINT64 last_time, written_frames;
AudioQueueBufferRef public_buffer;
UINT32 getbuf_last;
int playing;

View File

@ -121,8 +121,8 @@ struct ACImpl {
oss_audioinfo ai;
BOOL initted, playing;
UINT64 written_frames, held_frames, tmp_buffer_frames, inbuf_frames;
UINT32 period_us, bufsize_frames;
UINT64 written_frames;
UINT32 period_us, bufsize_frames, held_frames, tmp_buffer_frames, inbuf_frames;
UINT32 lcl_offs_frames; /* offs into local_buffer where valid data starts */
BYTE *local_buffer, *tmp_buffer;