Changeset af05429 in mainline
- Timestamp:
- 2011-12-05T17:03:57Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- eaa1c28
- Parents:
- c0149cc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/dplay/wave.c
rc0149cc raf05429 43 43 bool *sign, const char **error) 44 44 { 45 if (!file || !data || !data_size) {45 if (!file) { 46 46 if (error) 47 *error = "file , data and data_size must be specified";47 *error = "file not present"; 48 48 return EINVAL; 49 49 } … … 86 86 } 87 87 88 *data = header->data; 89 *data_size = uint32_t_le2host(header->subchunk2_size); 88 if (data) 89 *data = header->data; 90 if (data_size) 91 *data_size = uint32_t_le2host(header->subchunk2_size); 90 92 91 93 if (sampling_rate)
Note:
See TracChangeset
for help on using the changeset viewer.