Changeset 00f48dc for interfaces/cpp


Ignore:
Timestamp:
Oct 22, 2009, 3:26:36 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:
68607fd
Parents:
21f0655
Message:

interfaces/cpp/aubiocpp.cpp: use getters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • interfaces/cpp/aubiocpp.cpp

    r21f0655 r00f48dc  
    1313
    1414  smpl_t* fvec::operator[]( uint_t channel ) {
    15     return self->data[channel];
     15    return fvec_get_channel(self, channel);
    1616  }
    1717
    1818  cvec::cvec(uint_t length, uint_t channels) {
    1919    self = new_cvec(length, channels);
    20     norm = self->norm;
    21     phas = self->phas;
     20    norm = cvec_get_norm(self);
     21    phas = cvec_get_phas(self);
    2222  }
    2323
Note: See TracChangeset for help on using the changeset viewer.