Changeset 379:e4206d78c257 in roaraudio


Ignore:
Timestamp:
08/05/08 18:10:45 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

make playback work :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarfish/play.c

    r12 r379  
    2626 } 
    2727 
    28  if ( (data = malloc(frames*2)) == NULL ) { 
     28 if ( (data = malloc(frames*2*inst->fsinfo.channels)) == NULL ) { 
    2929  return -1; 
    3030 } 
     31 
     32 frames *= inst->fsinfo.channels; 
    3133 
    3234 for (i = 0; i < frames; i++) { 
Note: See TracChangeset for help on using the changeset viewer.