AVI tells us nothing about the content of your video files. What video and audio codec are used in the files?
If you place one of the AVI files in a comp timeline and reveal audio waveform (press LL) is there visible audio in the waveform?
Are you using RAM Preview or the numpad Period (.) key to play the audio? Using the space bar won't work.
My audio output is DV when I use RAM it doesnt have any audio and there is no audio layer but when I import it to the top right it shows my imported file with a sound wave underneath it.
Is there any way I can prevent this?
Your audio is not on channels 1&2. AE sees it, but cannot use it. Export it as a separate file from your capture or editing program. And if you allow me: Please do some reading in the help and learn the terminology! "Top right" sounds like kids in the kindergarten pointing fingers at the screen when you probably mean the project window thumbnail. Proper communication requires a common language, especially when you are looking for help.