Changeset d758301 in mainline for uspace/drv/audio/sb16/dsp.c
- Timestamp:
- 2012-08-19T13:46:30Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ad42844
- Parents:
- d2765ab3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/sb16/dsp.c
rd2765ab3 rd758301 330 330 assert(dsp); 331 331 332 if (!dsp-> event_session)332 if (!dsp->buffer.data) 333 333 return EINVAL; 334 334 … … 341 341 /* Client requested regular interrupts */ 342 342 if (frames) { 343 if (!dsp->event_session) 344 return EINVAL; 343 345 dsp->event_exchange = async_exchange_begin(dsp->event_session); 344 346 if (!dsp->event_exchange) … … 396 398 { 397 399 assert(dsp); 398 399 if (!dsp->event_session) 400 if (!dsp->buffer.data) 400 401 return EINVAL; 401 402 … … 408 409 /* client requested regular interrupts */ 409 410 if (frames) { 411 if (!dsp->event_session) 412 return EINVAL; 410 413 dsp->event_exchange = async_exchange_begin(dsp->event_session); 411 414 if (!dsp->event_exchange)
Note:
See TracChangeset
for help on using the changeset viewer.