diff options
author | Miller Puckette <millerpuckette@users.sourceforge.net> | 2005-06-25 02:49:15 +0000 |
---|---|---|
committer | Miller Puckette <millerpuckette@users.sourceforge.net> | 2005-06-25 02:49:15 +0000 |
commit | c59464f01c8151baaa42dcb8641d73c58dc79fda (patch) | |
tree | c4d9c53cd72e0d38b0ced284117dc04324cf7eda /pd/src/d_soundfile.c | |
parent | 4e3799313ca75ac8a6b39e155f17464e8e86c9dc (diff) |
major extensions to drawing commands in templates, to allow scaling and
invisibilizing.
New "coreaudio" search (from patch).
couple of bug fixes.
svn path=/trunk/; revision=3249
Diffstat (limited to 'pd/src/d_soundfile.c')
-rw-r--r-- | pd/src/d_soundfile.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pd/src/d_soundfile.c b/pd/src/d_soundfile.c index a87b014b..400c9de6 100644 --- a/pd/src/d_soundfile.c +++ b/pd/src/d_soundfile.c @@ -1710,6 +1710,12 @@ static t_int *readsf_perform(t_int *w) #endif sfread_cond_signal(&x->x_requestcondition); sfread_cond_wait(&x->x_answercondition, &x->x_mutex); + /* resync local cariables -- bug fix thanks to Shahrokh */ + vecsize = x->x_vecsize; + bytespersample = x->x_bytespersample; + sfchannels = x->x_sfchannels; + wantbytes = sfchannels * vecsize * bytespersample; + bigendian = x->x_bigendian; #ifdef DEBUG_SOUNDFILE pute("done\n"); #endif |