I have a great need to be able to play audio that I am generating, and the only sample code I have found seems to assume that audio hardware sampling rate is acceptable. On the other hand, I need to be able to change sampling rates to any of 8/11/16/22 KHz. I have looked at the coreaudio.pdf file at Apple's developer site, but it is full of holes. Has anyone done this? It seems that the nicest way for me to do this would be by using an AudioUnit, but I'll take anything (I'd prefer to avoid Carbon Sound manager).