Changeset af35ed0


Ignore:
Timestamp:
Jun 3, 2006, 5:13:07 PM (18 years ago)
Author:
Paul Brossier <piem@altern.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:
0b9e1da5
Parents:
14aae81
Message:

fix signed/unsigned mismatches in examples
fix signed/unsigned mismatches in examples

Location:
examples
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • examples/aubionotes.c

    r14aae81 raf35ed0  
    2626  unsigned int i;       /*channels*/
    2727  unsigned int j;       /*frames*/
    28   for (j=0;j<nframes;j++) {
     28  for (j=0;j<(unsigned)nframes;j++) {
    2929    if(usejack) {
    3030      for (i=0;i<channels;i++) {
  • examples/aubioonset.c

    r14aae81 raf35ed0  
    2626  unsigned int i;       /*channels*/
    2727  unsigned int j;       /*frames*/
    28   for (j=0;j<nframes;j++) {
     28  for (j=0;j<(unsigned)nframes;j++) {
    2929    if(usejack) {
    3030      for (i=0;i<channels;i++) {
  • examples/aubioquiet.c

    r14aae81 raf35ed0  
    2727  unsigned int i;       /*channels*/
    2828  unsigned int j;       /*frames*/
    29   for (j=0;j<nframes;j++) {
     29  for (j=0;j<(unsigned)nframes;j++) {
    3030    if(usejack) {
    3131      for (i=0;i<channels;i++) {
  • examples/aubiotrack.c

    r14aae81 raf35ed0  
    3535  unsigned int j;       /*frames*/
    3636  smpl_t * btoutput = out->data[0];
    37   for (j=0;j<nframes;j++) {
     37  for (j=0;j<(unsigned)nframes;j++) {
    3838    if(usejack) {
    3939      for (i=0;i<channels;i++) {
  • examples/utils.c

    r14aae81 raf35ed0  
    339339    frames = 0;
    340340
    341     while (overlap_size == aubio_sndfile_read(file, overlap_size, ibuf))
     341    while ((signed)overlap_size == aubio_sndfile_read(file, overlap_size, ibuf))
    342342    {
    343343      isonset=0;
Note: See TracChangeset for help on using the changeset viewer.