Changeset d120133 in mainline for uspace/app/wavplay/dplay.c
- Timestamp:
- 2013-05-27T13:08:44Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 192565b
- Parents:
- 4e72a4c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/wavplay/dplay.c
r4e72a4c rd120133 129 129 } 130 130 /* any constant is silence */ 131 bzero(pb->buffer.write_ptr + bytes, fragment_size - bytes);131 memset(pb->buffer.write_ptr + bytes, 0, fragment_size - bytes); 132 132 pb->buffer.write_ptr += fragment_size; 133 133 … … 158 158 fragment_size, pb->source); 159 159 if (bytes != fragment_size) 160 bzero(pb->buffer.base + bytes, fragment_size - bytes);160 memset(pb->buffer.base + bytes, 0, fragment_size - bytes); 161 161 printf("Initial: Copied from position %p size %zu/%zu\n", 162 162 pb->buffer.base, bytes, fragment_size);
Note:
See TracChangeset
for help on using the changeset viewer.