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

Changeset 159c722d in mainline for uspace/drv/audio/hdaudio/hdaudio.c


Ignore:
Timestamp:
2014-08-26T10:10:50Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
6747b929
Parents:
99cb9bf
Message:

Garbled playback via hound.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/audio/hdaudio/hdaudio.c

    r99cb9bf r159c722d  
    354354        if (0) ddf_msg(LVL_NOTE, "## interrupt ##");
    355355//      ddf_msg(LVL_NOTE, "interrupt arg4=0x%x", (int)IPC_GET_ARG4(*icall));
     356        if (IPC_GET_ARG3(*icall) != 0) {
     357                hda_pcm_event(hda, PCM_EVENT_FRAMES_PLAYED);
     358                hda_pcm_event(hda, PCM_EVENT_FRAMES_PLAYED);
     359                hda_pcm_event(hda, PCM_EVENT_FRAMES_PLAYED);
     360                hda_pcm_event(hda, PCM_EVENT_FRAMES_PLAYED);
     361/*              hda_pcm_event(hda, PCM_EVENT_FRAMES_PLAYED);
     362                hda_pcm_event(hda, PCM_EVENT_FRAMES_PLAYED);
     363                hda_pcm_event(hda, PCM_EVENT_FRAMES_PLAYED);
     364                hda_pcm_event(hda, PCM_EVENT_FRAMES_PLAYED);*/
     365        }
    356366        hda_ctl_interrupt(hda->ctl);
    357367}
Note: See TracChangeset for help on using the changeset viewer.