I am modifying the parrot.c program ([Chapter 14] Programming /dev/dsp) for my needs. Looking at the description of the buffer:
unsigned char buf[LENGTH*RATE*SIZE*CHANNELS/8];
I wondered why the constant rather than SIZE is used. I may want to run 16 bit Mono so presume the constant would be changed to 16 in that case. Is this correct?