>thansk for the suggestion but i can use extern programs like aplay. The >reason is simple, i'm using an outputstream in java to output the pcm stream >to /dev/dsp. That's why i can't use the extern program and i can't call >ioctl in my java program.
well, if you can access /dev/dsp in write mode from java, you'll be able to write to any file, right? so just go and write to a fifo instead that aplay reads the data from. if aplay can't do that, use ecasound. in short, i suppose you better look a little harder for a userspace solution. if you still think you have to patch the driver, go ahead. i cannot tell you where you'd do that, and again, i do not recommend it. tim _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user