malloc calls and ioctl calls to soundcard cause segfault

Dan Nelson dnelson at allantgroup.com
Wed Oct 13 18:56:46 PDT 2004


In the last episode (Oct 13), shawnwebb at softhome.net said:
> Thanks for pointing that out. The OSS documentation didn't go into
> detail about what type of arg was needed for getospace, so I assumed
> int.

I just looked up SNDCTL_DSP_GETOSPACE in the PDF at
http://www.opensound.com/pguide/index.html (it's on page 96 and
describes the fields in audio_buf_info as well).

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-hackers mailing list