Supporting AC3 and PCM format in audio adapter driver

Hi All,

I have audio adapter driver which support playing of PCM audio. Now I want
to add AC3 support for the same driver. My driver has one IRQ allocated
and one i/o range as resources.

I trying to support AC3 by adding a node to the existing wave nodes and
specify its data format as AC3. Could any body tell me if I am doing it