看板 FB_chat 關於我們 聯絡資訊
> Freebsd-multimedia would be the right place. I think what you > want is a smaller block size. The SNDCTL_DSP_SETBLKSIZE should be the > right IOCTL to use, check out the oss programmers manual, I don't have > a link right now but google should find it pretty quick. Just to wrap this up here too: My problem was primarly due to the fragment sizes of buffers. I don't know what sizes are set as default but they're to big for my applications. I've found with the following it killed the delay to next to nothing (about 5ms by my working out). val = (2 << 16) | 9; ioctl(audio_fd, SNDCTL_DSP_SETFRAGMENT, &val); Thanks Mathew, Pete. -- Peter Wood BSc (Hons) :: <peter@alastria.net> :: Tel +44 7974 799440 _______________________________________________ freebsd-chat@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-chat To unsubscribe, send any mail to "freebsd-chat-unsubscribe@freebsd.org"