Changeset 8a637a4 in mainline for uspace/srv/audio/hound
- Timestamp:
- 2015-09-30T17:47:41Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f1f7584
- Parents:
- a955fcc
- Location:
- uspace/srv/audio/hound
- Files:
-
- 2 edited
-
audio_sink.c (modified) (1 diff)
-
hound.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/audio/hound/audio_sink.c
ra955fcc r8a637a4 103 103 if (!pcm_format_is_any(&sink->format)) { 104 104 log_debug("Sink %s already has a format", sink->name); 105 return EEXIST S;105 return EEXIST; 106 106 } 107 107 const pcm_format_t old_format = sink->format; -
uspace/srv/audio/hound/hound.c
ra955fcc r8a637a4 267 267 if (dev->id == id) { 268 268 log_debug("Device with id %zu is already present", id); 269 return EEXIST S;269 return EEXIST; 270 270 } 271 271 } … … 274 274 if (dev) { 275 275 log_debug("Device with name %s is already present", name); 276 return EEXIST S;276 return EEXIST; 277 277 } 278 278 … … 341 341 log_debug("Source by that name already exists"); 342 342 fibril_mutex_unlock(&hound->list_guard); 343 return EEXIST S;343 return EEXIST; 344 344 } 345 345 list_append(&source->link, &hound->sources); … … 365 365 log_debug("Sink by that name already exists"); 366 366 fibril_mutex_unlock(&hound->list_guard); 367 return EEXIST S;367 return EEXIST; 368 368 } 369 369 list_append(&sink->link, &hound->sinks);
Note:
See TracChangeset
for help on using the changeset viewer.
