/* The first two flush calls to lame always fail, for
some reason. Do them here where they cause no damage. */
lame_encode_flush_nogap(lame_flags, buf, bufsize);
//printf("init:flush_nogap():%d\n", len);
lame_encode_flush(lame_flags, buf, bufsize);
//printf("init:flush():%d\n", len);
/* The first two flush calls to lame always fail, for
some reason. Do them here where they cause no damage. */
lame_encode_flush_nogap(lame_flags, buf, bufsize);
//printf("init:flush_nogap():%d\n", len);
lame_encode_flush(lame_flags, buf, bufsize);
//printf("init:flush():%d\n", len);