Changeset f0241bda in mainline for uspace/drv/audio/sb16/pcm_iface.c
- Timestamp:
- 2012-08-17T16:57:29Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 82e4005
- Parents:
- 2e01b3f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/sb16/pcm_iface.c
r2e01b3f rf0241bda 46 46 return EOK; 47 47 } 48 49 static unsigned sb_query_cap(ddf_fun_t *fun, audio_cap_t cap) 50 { 51 assert(fun); 52 assert(fun->driver_data); 53 sb_dsp_t *dsp = fun->driver_data; 54 return sb_dsp_query_cap(dsp, cap); 55 } 56 48 57 static int sb_test_format(ddf_fun_t *fun, unsigned *channels, unsigned *rate, 49 58 pcm_sample_format_t *format) … … 116 125 .get_info_str = sb_get_info_str, 117 126 .test_format = sb_test_format, 127 .query_cap = sb_query_cap, 118 128 119 129 .get_buffer = sb_get_buffer,
Note:
See TracChangeset
for help on using the changeset viewer.