Changeset 6609050 in mainline for uspace/app/modplay/modplay.c
- Timestamp:
- 2014-09-26T21:32:53Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 18cc83c
- Parents:
- 7e69e0e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/modplay/modplay.c
r7e69e0e r6609050 102 102 format.sample_format = PCM_SAMPLE_SINT16_BE; 103 103 #endif 104 buffer_size = format.sampling_rate;104 buffer_size = 64 * 1024; 105 105 106 106 buffer = malloc(buffer_size); … … 137 137 break; 138 138 139 trackmod_modplay_get_samples(modplay, buffer, buffer_size );139 trackmod_modplay_get_samples(modplay, buffer, buffer_size / 4); 140 140 141 rc = hound_write_main_stream(hound, buffer, buffer_size );141 rc = hound_write_main_stream(hound, buffer, buffer_size / 4); 142 142 if (rc != EOK) { 143 143 printf("Error writing audio stream.\n");
Note:
See TracChangeset
for help on using the changeset viewer.