Changeset 78aca91b in mainline for uspace/srv/audio/hound/iface.c
- Timestamp:
- 2013-04-06T18:02:40Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 98af9cc
- Parents:
- 2c0b348
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/audio/hound/iface.c
r2c0b348 r78aca91b 83 83 if (!ctx) 84 84 return false; 85 log_info("%s: %p, %d", __FUNCTION__, server, id);86 85 return hound_ctx_is_record(ctx); 87 86 } … … 150 149 static int iface_stream_data_write(void *stream, const void *buffer, size_t size) 151 150 { 152 int ret = EOK; 153 do { 154 ret = hound_ctx_stream_write(stream, buffer, size); 155 } while (ret == EBUSY && (async_usleep(100), 1)); 156 return ret; 151 return hound_ctx_stream_write(stream, buffer, size); 157 152 } 158 153
Note:
See TracChangeset
for help on using the changeset viewer.