Changeset 20840922 in mainline
- Timestamp:
- 2012-08-20T09:51:03Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 018ab50
- Parents:
- ad1aedc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/remote_audio_pcm.c
rad1aedc r20840922 113 113 int audio_pcm_get_info_str(audio_pcm_sess_t *sess, const char **name) 114 114 { 115 if (!name) 116 return EINVAL; 115 117 async_exch_t *exch = async_exchange_begin(sess); 116 118 sysarg_t name_size; … … 118 120 DEV_IFACE_ID(AUDIO_PCM_BUFFER_IFACE), 119 121 IPC_M_AUDIO_PCM_GET_INFO_STR, &name_size); 120 if (ret == EOK && name) {122 if (ret == EOK) { 121 123 char *name_place = calloc(1, name_size); 122 124 if (!name_place) {
Note:
See TracChangeset
for help on using the changeset viewer.