SEGV after changes libao
I use libao in my application. After last update from 0.8.6 to 1.0.0 I've reported failure. Everything was compiled correctly, but I get SEGV.
It was affected because it's been added a field char *matrix in structure ao_sample_format. After set it on null, application run ok. I compiled your ao_example.c and it's not setting it - it printed error "Unrecognized channel name" with random string or crashes.
My propose is use memset to clear structure before set or use assign format.matrix = NULL;
Secondly, I suggest add a version define in library header. Now I recognize change of structure in my application by finding new define of AO_EBADFORMAT in ao.h file.