mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 16:45:48 +00:00
mmdevapi: Use UINT32 for a number of frames and UINT64 to sum them.
This commit is contained in:
parent
1c1da3e596
commit
08dd823c7c
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue