Changeset 4ed0ed1 for tests


Ignore:
Timestamp:
Dec 17, 2013, 5:30:13 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:
e84ab04
Parents:
1ece4f8
Message:

src/fmat.c: new_fmat() takes height as first argument

Location:
tests/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tests/src/io/test-source_multi.c

    r1ece4f8 r4ed0ed1  
    3939  if ( n_channels == 0 ) n_channels = aubio_source_get_channels(s);
    4040
    41   fmat_t *mat = new_fmat(hop_size, n_channels);
     41  fmat_t *mat = new_fmat(n_channels, hop_size);
    4242
    4343  do {
  • tests/src/test-fmat.c

    r1ece4f8 r4ed0ed1  
    99  uint_t height = 3, length = 9, i, j;
    1010  // create fmat_t object
    11   fmat_t * mat = new_fmat (length, height);
     11  fmat_t * mat = new_fmat (height, length);
    1212  for ( i = 0; i < mat->height; i++ ) {
    1313    for ( j = 0; j < mat->length; j++ ) {
Note: See TracChangeset for help on using the changeset viewer.