Changeset 57a2208 in mainline for uspace/drv/audio/hdaudio/hdaudio.h
- Timestamp:
- 2014-09-09T22:10:03Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c4f67c8
- Parents:
- b14e9749
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/hdaudio/hdaudio.h
rb14e9749 r57a2208 38 38 #include <async.h> 39 39 #include <ddf/driver.h> 40 #include <fibril_synch.h> 41 #include <stdbool.h> 40 42 #include <stdint.h> 41 43 … … 44 46 /** High Definition Audio driver instance */ 45 47 typedef struct hda { 48 fibril_mutex_t lock; 46 49 async_sess_t *parent_sess; 47 50 async_sess_t *ev_sess; … … 52 55 struct hda_ctl *ctl; 53 56 struct hda_stream *pcm_stream; 57 bool playing; 54 58 } hda_t; 59 60 extern void hda_lock(hda_t *); 61 extern void hda_unlock(hda_t *); 55 62 56 63 #endif
Note:
See TracChangeset
for help on using the changeset viewer.