Subj : Re: A really stupid Question - how to build a library To : borland.public.cpp.borlandcpp From : Bob Gonder Date : Thu Oct 07 2004 12:24 pm D Kat wrote: >For example... Some times we play one buffer out one channel and another out >the other (in effect stereo). Sometimes we play the same data point out of >both channels (mono)..... I am already getting clicks once in every great >while so I do not want to push it...... Unfortunately you can't create >different ISRs that are called depending on the argument list (overloading Your library might handle only stereo. The application could either fill a single channel (leaving the other NULL,), fill both channels with the same buffer (pass the same pointer as both left and right channels), or pass in 2 different buffers for full stereo. .