Changeset 413225d in mainline for uspace/drv/audio/sb16/dsp.c
- Timestamp:
- 2011-11-30T21:25:05Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ed3f8d5
- Parents:
- 427069d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/sb16/dsp.c
r427069d r413225d 194 194 { 195 195 assert(dsp); 196 /* We don't really care about the mode of transport, so ack both */ 197 // TODO: Move irq ACK to irq_code 198 if (dsp->version.major >= 4) { 199 /* ACK dma16 transfer interrupt */ 200 pio_read_8(&dsp->regs->dma16_ack); 201 } 202 /* ACK dma8 transfer interrupt */ 203 pio_read_8(&dsp->regs->dsp_read_status); 204 205 const size_t remain_size = dsp->playing.size - 206 (dsp->playing.position - dsp->playing.data); 196 const size_t remain_size = 197 dsp->playing.size - (dsp->playing.position - dsp->playing.data); 207 198 208 199 if (remain_size == 0) {
Note:
See TracChangeset
for help on using the changeset viewer.