Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset fda3bd9 in mainline


Ignore:
Timestamp:
2013-08-19T13:47:34Z (7 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
master
Children:
3efaeb6
Parents:
7373117
Message:

sb16: Start event exchange even for not fragment based playback/capture

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/audio/sb16/dsp.c

    r7373117 rfda3bd9  
    411411
    412412        /* Client requested regular events */
    413         if (frames) {
    414                 if (!dsp->event_session)
    415                         return EINVAL;
     413        if (frames && !dsp->event_session)
     414                return EINVAL;
     415
     416        if (dsp->event_session) {
    416417                dsp->event_exchange = async_exchange_begin(dsp->event_session);
    417418                if (!dsp->event_exchange)
     
    483484
    484485        /* Client requested regular events */
    485         if (frames) {
    486                 if (!dsp->event_session)
    487                         return EINVAL;
     486        if (frames && !dsp->event_session)
     487                return EINVAL;
     488
     489        if (dsp->event_session) {
    488490                dsp->event_exchange = async_exchange_begin(dsp->event_session);
    489491                if (!dsp->event_exchange)
Note: See TracChangeset for help on using the changeset viewer.