Changes in uspace/drv/audio/sb16/dsp.c [c19a5a59:53a309e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/sb16/dsp.c
rc19a5a59 r53a309e 303 303 304 304 // TODO: Assumes DMA 16 305 size_t remain; 306 int rc = hw_res_dma_channel_remain(sess, dsp->dma16_channel, &remain); 307 if (rc == EOK) { 305 const int remain = hw_res_dma_channel_remain(sess, dsp->dma16_channel); 306 if (remain >= 0) { 308 307 *pos = dsp->buffer.size - remain; 309 } 310 return rc; 308 return EOK; 309 } 310 return remain; 311 311 } 312 312
Note:
See TracChangeset
for help on using the changeset viewer.