Changes in uspace/app/wavplay/main.c [60b1076:a8e87da] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/wavplay/main.c
r60b1076 ra8e87da 79 79 &format.sampling_rate, &format.sample_format, &error); 80 80 if (ret != EOK) { 81 printf("Error parsing `%s' wav header: %s.\n", filename, error);81 printf("Error parsing wav header: %s.\n", error); 82 82 fclose(source); 83 83 return EINVAL; 84 84 } 85 86 printf("File `%s' format: %u channel(s), %uHz, %s.\n", filename,87 format.channels, format.sampling_rate,88 pcm_sample_format_str(format.sample_format));89 85 90 86 /* Allocate buffer and create new context */ … … 140 136 &format.sampling_rate, &format.sample_format, &error); 141 137 if (ret != EOK) { 142 printf("Error parsing `%s' wav header: %s.\n", filename, error);138 printf("Error parsing wav header: %s.\n", error); 143 139 fclose(source); 144 140 return EINVAL; 145 141 } 146 printf("File `%s' format: %u channel(s), %uHz, %s.\n", filename,147 format.channels, format.sampling_rate,148 pcm_sample_format_str(format.sample_format));149 142 150 143 /* Connect new playback context */
Note:
See TracChangeset
for help on using the changeset viewer.