Changes in uspace/app/wavplay/dplay.c [60b1076:4a9728ec] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/wavplay/dplay.c
r60b1076 r4a9728ec 151 151 device_event_callback, pb); 152 152 if (ret != EOK) { 153 printf("Failed to register event callback: %s.\n", 154 str_error(ret)); 153 printf("Failed to register event callback.\n"); 155 154 return; 156 155 } … … 286 285 pb->f.sample_format); 287 286 if (ret != EOK) { 288 printf("Failed to start playback: %s\n", 289 str_error(ret)); 287 printf("Failed to start playback\n"); 290 288 return; 291 289 } … … 293 291 ret = audio_pcm_get_buffer_pos(pb->device, &pos); 294 292 if (ret != EOK) { 295 printf("Failed to update position indicator " 296 "%s\n", str_error(ret)); 293 printf("Failed to update position indicator\n"); 297 294 } 298 295 } … … 311 308 const int ret = audio_pcm_get_buffer_pos(pb->device, &pos); 312 309 if (ret != EOK) { 313 printf("Failed to update position indicator %s\n", 314 str_error(ret)); 310 printf("Failed to update position indicator\n"); 315 311 } 316 312 getuptime(&time); … … 354 350 ret = audio_pcm_get_info_str(session, &info); 355 351 if (ret != EOK) { 356 printf("Failed to get PCM info : %s.\n", str_error(ret));352 printf("Failed to get PCM info.\n"); 357 353 goto close_session; 358 354 }
Note:
See TracChangeset
for help on using the changeset viewer.