Changeset 57a2208 in mainline for uspace/drv/audio/hdaudio/hdaudio.h


Ignore:
Timestamp:
2014-09-09T22:10:03Z (10 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c4f67c8
Parents:
b14e9749
Message:

Hound should use the logging framework. Prevent hdaudio from sending frames played event after sending playback termination event. Remove unnecessary delays.

File:
1 edited

Legend:

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

    rb14e9749 r57a2208  
    3838#include <async.h>
    3939#include <ddf/driver.h>
     40#include <fibril_synch.h>
     41#include <stdbool.h>
    4042#include <stdint.h>
    4143
     
    4446/** High Definition Audio driver instance */
    4547typedef struct hda {
     48        fibril_mutex_t lock;
    4649        async_sess_t *parent_sess;
    4750        async_sess_t *ev_sess;
     
    5255        struct hda_ctl *ctl;
    5356        struct hda_stream *pcm_stream;
     57        bool playing;
    5458} hda_t;
     59
     60extern void hda_lock(hda_t *);
     61extern void hda_unlock(hda_t *);
    5562
    5663#endif
Note: See TracChangeset for help on using the changeset viewer.