Parent Directory | Revision Log | Patch
revision 475 by matthewc, Wed Oct 1 12:35:17 2003 UTC | revision 476 by matthewc, Sat Oct 4 00:03:24 2003 UTC | |
---|---|---|
# | Line 115 wave_out_set_format(WAVEFORMATEX *pwfx) | Line 115 wave_out_set_format(WAVEFORMATEX *pwfx) |
115 | void | void |
116 | wave_out_write(STREAM s, uint16 tick, uint8 index) | wave_out_write(STREAM s, uint16 tick, uint8 index) |
117 | { | { |
118 | struct audio_packet *packet = &packet_queue[queue_lo]; | struct audio_packet *packet = &packet_queue[queue_hi]; |
119 | unsigned int next_hi = (queue_lo + 1) % MAX_QUEUE; | unsigned int next_hi = (queue_hi + 1) % MAX_QUEUE; |
120 | ||
121 | if (next_hi == queue_lo) | if (next_hi == queue_lo) |
122 | { | { |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |