Changeset c19a5a59 in mainline for uspace/drv/audio/sb16/dsp.c
- Timestamp:
- 2017-12-08T21:03:35Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c8211849
- Parents:
- f77c1c9
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-07 21:23:47)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-08 21:03:35)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/sb16/dsp.c
rf77c1c9 rc19a5a59 303 303 304 304 // TODO: Assumes DMA 16 305 const int remain = hw_res_dma_channel_remain(sess, dsp->dma16_channel); 306 if (remain >= 0) { 305 size_t remain; 306 int rc = hw_res_dma_channel_remain(sess, dsp->dma16_channel, &remain); 307 if (rc == EOK) { 307 308 *pos = dsp->buffer.size - remain; 308 return EOK; 309 } 310 return remain; 309 } 310 return rc; 311 311 } 312 312
Note:
See TracChangeset
for help on using the changeset viewer.