/[marvin]/marvin/src/libsip/algo/lpc.cc
ViewVC logotype

Diff of /marvin/src/libsip/algo/lpc.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by hannibal, Thu Aug 14 09:11:14 2003 UTC revision 1.4 by vishnou, Fri Sep 19 18:03:15 2003 UTC
# Line 233  int lpc::lpc_start(void) Line 233  int lpc::lpc_start(void)
233  {  {
234    if (work == NULL)    if (work == NULL)
235      {      {
236        work = (struct lpcwork *) malloc(sizeof(struct lpcwork));        work = new lpcwork();
237      }      }
238    return work != NULL;    return work != NULL;
239  }  }
# Line 254  void lpc::lpc_init(lpcstate_t* state) Line 254  void lpc::lpc_init(lpcstate_t* state)
254      if ((&p->gain != ((unsigned char *) 2)) ||      if ((&p->gain != ((unsigned char *) 2)) ||
255          (p->k != ((signed char *) 4)))          (p->k != ((signed char *) 4)))
256        {        {
257          fprintf(stderr, "Alignment problem in lpcparams.h structure.\n");          std::cerr << "Alignment problem in lpcparams.h structure." << std::endl;
258          fprintf(stderr, "Add definitions or compiler options in lpc directory\n");          std::cerr << "Add definitions or compiler options in lpc directory" << std::cerr;
259          fprintf(stderr, "to guarantee this structure is packed.\n");          std::cerr << "to guarantee this structure is packed." << sd::endl;
260        }        }
261    }    }
262  #endif  #endif

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26