Ignore:
Timestamp:
2012-07-15T15:25:43Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5cd5079
Parents:
2cc5c835
Message:

Add frame count to event report.

This enables applications to detect underruns.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/include/audio_pcm_iface.h

    r2cc5c835 r57e8b3b  
    4545
    4646enum {
    47         PCM_EVENT_PLAYBACK_DONE = IPC_FIRST_USER_METHOD,
    48         PCM_EVENT_RECORDING_DONE,
     47        PCM_EVENT_FRAMES_PLAYED = IPC_FIRST_USER_METHOD,
     48        PCM_EVENT_FRAMES_RECORDED,
    4949        PCM_EVENT_PLAYBACK_TERMINATED,
    5050        PCM_EVENT_RECORDING_TERMINATED
Note: See TracChangeset for help on using the changeset viewer.