mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
512 B

  1. diff -ruN kphone/kphone/dspoutalsa.cpp kphone-new/kphone/dspoutalsa.cpp
  2. --- kphone/kphone/dspoutalsa.cpp 2005-04-22 14:09:34.000000000 +0200
  3. +++ kphone-new/kphone/dspoutalsa.cpp 2005-05-21 10:54:22.000000000 +0200
  4. @@ -189,7 +189,11 @@
  5. #ifdef ALSADEBUG
  6. fprintf(stderr, "write %d instead of %d frames !\n", rc, (int)count/2);
  7. #endif
  8. - (int8_t*) buf += rc*4;
  9. + int8_t * temp;
  10. + temp = (int8_t*) buf;
  11. + temp += rc*4;
  12. + buf = temp;
  13. + // (int8_t*) buf += rc*4;
  14. count -= rc*2;
  15. continue;
  16. }