Commit 08dd823c authored by Jörg Höhle's avatar Jörg Höhle Committed by Alexandre Julliard

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

parent 1c1da3e5
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment