Changeset 751d17a2 in mainline for uspace/drv/audio/sb16/dsp.c
- Timestamp:
- 2011-11-11T17:53:33Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0ea8f83
- Parents:
- f6062f15
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/sb16/dsp.c
rf6062f15 r751d17a2 185 185 pio_read_8(&dsp->regs->dsp_read_status); 186 186 187 static size_t interrupt_count = 0;188 189 187 const size_t remain_size = dsp->playing.size - 190 188 (dsp->playing.position - dsp->playing.data); 191 189 192 ddf_log_note("Interrupt count %zu, remaining: %zu.\n",193 ++interrupt_count, remain_size);194 190 if (remain_size == 0) { 195 191 ddf_log_note("Nothing more to play"); … … 215 211 return; 216 212 } 217 ddf_log_note("Playing full block.\n");218 213 memcpy(dsp->buffer.position, dsp->playing.position, PLAY_BLOCK_SIZE); 219 214 write_barrier();
Note:
See TracChangeset
for help on using the changeset viewer.