Changeset 21374e03 in mainline
- Timestamp:
- 2018-12-17T21:47:08Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c65590a
- Parents:
- 375bcff
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/remote_audio_pcm.c
r375bcff r21374e03 142 142 audio_pcm_sess_t *audio_pcm_open(const char *name) 143 143 { 144 devman_handle_t device_handle = 0;145 const errno_t ret = devman_fun_get_handle(name, &device_handle, 0);144 service_id_t sid; 145 const errno_t ret = loc_service_get_id(name, &sid, 0); 146 146 if (ret != EOK) 147 147 return NULL; 148 return devman_device_connect(device_handle, IPC_FLAG_BLOCKING);148 return loc_service_connect(sid, INTERFACE_DDF, 0); 149 149 } 150 150
Note:
See TracChangeset
for help on using the changeset viewer.