Changeset 39658e2


Ignore:
Timestamp:
Sep 17, 2009, 7:07:11 AM (15 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
13bcd32
Parents:
e7b3629
Message:

ext/sndfileio.c: cat to sndfile native type

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ext/sndfileio.c

    re7b3629 r39658e2  
    149149        /* de-interleaving data  */
    150150        for (i=0; i<channels; i++) {
    151                 pread = fvec_get_channel(read,i);
     151                pread = (float *)fvec_get_channel(read,i);
    152152                for (j=0; j<aread; j++) {
    153153                        pread[j] = f->tmpdata[channels*j+i];
     
    179179        /* interleaving data  */
    180180        for (i=0; i<channels; i++) {
    181                 pwrite = fvec_get_channel(write,i);
     181                pwrite = (float *)fvec_get_channel(write,i);
    182182                for (j=0; j<frames; j++) {
    183183                        f->tmpdata[channels*j+i] = pwrite[j];
Note: See TracChangeset for help on using the changeset viewer.