[PATCH] Cleaner SNDCTL_DSP_SETFRAGMENT for ymfpci

2001-02-05 Thread Pavel Roskin
Hello! The implementation of SNDCTL_DSP_SETFRAGMENT in ymfpci.c is too hacky (as of 2.4.1-ac3). The comment says that it was done for Doom only. The attached patch makes the implementation of SNDCTL_DSP_SETFRAGMENT similar to those of other cards (the code from cmpci.c was used). The patch has

[PATCH] Cleaner SNDCTL_DSP_SETFRAGMENT for ymfpci

2001-02-05 Thread Pavel Roskin
Hello! The implementation of SNDCTL_DSP_SETFRAGMENT in ymfpci.c is too hacky (as of 2.4.1-ac3). The comment says that it was done for Doom only. The attached patch makes the implementation of SNDCTL_DSP_SETFRAGMENT similar to those of other cards (the code from cmpci.c was used). The patch has