[ot] Re: [music-dsp] A-D Converter in C

jpff at cs.bath.ac.uk jpff at cs.bath.ac.uk
Fri Oct 19 08:33:50 EDT 2001

I think this program has a bug in it.  I would expect an A to D
converter to leave all others alone; and I would prefer real ANSI C, so

char char A_to_D(char p_input)
    if( p_input == 'A' )
        return 'D';
        return p_input;

Making this to a a-to-d converter is left as an exercise

==John ff

dupswapdrop -- the music-dsp mailing list and website: subscription info,
FAQ, source code archive, list archive, book reviews, dsp links

More information about the music-dsp mailing list