Changes in uspace/app/wavplay/wave.c [0e4c5f0:da41cc2d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/wavplay/wave.c
r0e4c5f0 rda41cc2d 116 116 *channels = uint16_t_le2host(header->channels); 117 117 if (format) { 118 const unsigned size = uint 16_t_le2host(header->sample_size);118 const unsigned size = uint32_t_le2host(header->sample_size); 119 119 switch (size) { 120 120 case 8: *format = PCM_SAMPLE_UINT8; break; … … 157 157 header->channels = host2uint32_t_le(format.channels); 158 158 header->sample_size = 159 host2uint 16_t_le(pcm_sample_format_size(format.sample_format) * 8);159 host2uint32_t_le(pcm_sample_format_size(format.sample_format)); 160 160 } 161 161 /**
Note:
See TracChangeset
for help on using the changeset viewer.