Changeset 1ba95ba in mainline for uspace/drv/audio/sb16/pcm_iface.c
- Timestamp:
- 2012-08-19T16:10:48Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 86fe9d1
- Parents:
- fa91c0f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/sb16/pcm_iface.c
rfa91c0f r1ba95ba 70 70 return sb_dsp_get_buffer(dsp, buffer, size); 71 71 } 72 73 static int sb_get_buffer_position(ddf_fun_t *fun, size_t *size) 74 { 75 assert(fun); 76 assert(fun->driver_data); 77 sb_dsp_t *dsp = fun->driver_data; 78 return sb_dsp_get_buffer_position(dsp, size); 79 } 80 72 81 static int sb_set_event_session(ddf_fun_t *fun, async_sess_t *sess) 73 82 { … … 130 139 .release_buffer = sb_release_buffer, 131 140 .set_event_session = sb_set_event_session, 141 .get_buffer_pos = sb_get_buffer_position, 132 142 133 143 .start_playback = sb_start_playback,
Note:
See TracChangeset
for help on using the changeset viewer.