*** sbdsp.c.orig Mon Jul 26 12:58:00 1993 --- sbdsp.c Mon Oct 31 18:26:56 1994 *************** *** 21,27 **** #include #else #ifdef LINUXSOUND ! #include #else #include #endif --- 21,27 ---- #include #else #ifdef LINUXSOUND ! #include #else #include #endif *************** *** 77,83 **** ioctl(fileno(ft->fp), DSP_IOCTL_VOICE, &off); ioctl(fileno(ft->fp), DSP_IOCTL_SPEED, &ft->info.rate); #elif defined(LINUXSOUND) ! ioctl(fileno(ft->fp), SNDCTL_DSP_SPEED, ft->info.rate); #else ioctl(fileno(ft->fp), DSP_IOCTL_VOICE, 0); ioctl(fileno(ft->fp), DSP_IOCTL_SPEED, ft->info.rate); --- 77,87 ---- ioctl(fileno(ft->fp), DSP_IOCTL_VOICE, &off); ioctl(fileno(ft->fp), DSP_IOCTL_SPEED, &ft->info.rate); #elif defined(LINUXSOUND) ! #if SOUND_VERSION >= 200 ! ioctl(fileno(ft->fp), SOUND_PCM_WRITE_RATE, &ft->info.rate); ! #else ! ioctl(fileno(ft->fp), SOUND_PCM_WRITE_RATE, ft->info.rate); ! #endif #else ioctl(fileno(ft->fp), DSP_IOCTL_VOICE, 0); ioctl(fileno(ft->fp), DSP_IOCTL_SPEED, ft->info.rate); *************** *** 143,149 **** ioctl(fileno(ft->fp), DSP_IOCTL_SPEED, &ft->info.rate); #elif defined(LINUXSOUND) ioctl(fileno(ft->fp), SNDCTL_DSP_SYNC, 0); ! ioctl(fileno(ft->fp), SNDCTL_DSP_SPEED, ft->info.rate); #else ioctl(fileno(ft->fp), DSP_IOCTL_VOICE, 1); ioctl(fileno(ft->fp), DSP_IOCTL_SPEED, ft->info.rate); --- 147,157 ---- ioctl(fileno(ft->fp), DSP_IOCTL_SPEED, &ft->info.rate); #elif defined(LINUXSOUND) ioctl(fileno(ft->fp), SNDCTL_DSP_SYNC, 0); ! #if SOUND_VERSION >= 200 ! ioctl(fileno(ft->fp), SOUND_PCM_WRITE_RATE, &ft->info.rate); ! #else ! ioctl(fileno(ft->fp), SOUND_PCM_WRITE_RATE, ft->info.rate); ! #endif #else ioctl(fileno(ft->fp), DSP_IOCTL_VOICE, 1); ioctl(fileno(ft->fp), DSP_IOCTL_SPEED, ft->info.rate);