Changeset 3cd9fdd for src/fmat.c


Ignore:
Timestamp:
Oct 17, 2013, 1:09:20 PM (6 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
b0706d8
Parents:
8617843
Message:

src/fmat.h: fmat_get_channel to write to an fvec_t

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/fmat.c

    r8617843 r3cd9fdd  
    5555  s->data[channel] = data;
    5656}
    57 smpl_t * fmat_get_channel(fmat_t *s, uint_t channel) {
    58   return s->data[channel];
     57void fmat_get_channel(fmat_t *s, uint_t channel, fvec_t *output) {
     58  output->data = s->data[channel];
     59  output->length = s->length;
     60  return;
    5961}
    6062
Note: See TracChangeset for help on using the changeset viewer.