Changeset 379:e4206d78c257 in roaraudio for roarfish/play.c
- Timestamp:
- 08/05/08 18:10:45 (16 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roarfish/play.c
r12 r379 26 26 } 27 27 28 if ( (data = malloc(frames*2 )) == NULL ) {28 if ( (data = malloc(frames*2*inst->fsinfo.channels)) == NULL ) { 29 29 return -1; 30 30 } 31 32 frames *= inst->fsinfo.channels; 31 33 32 34 for (i = 0; i < frames; i++) {
Note: See TracChangeset
for help on using the changeset viewer.