Oh sorry, I'll give you more of an explanation:
PortAudio is an open source library, so we have the option to compile the code ourselves, to do that you'll need the source, not just the binary distribution.
http://www.portaudio.com/archives/pa_stable_v19_20140130.tgz
here's the latest source as of today (May 1, 2015)
Once you have the source untarred (unzipped) you need to open your command line and go directly to the folder's base directory (make sure you see a file called "configure" in your dir listing). In the base directory you'll want to type
configure
(for most libraries if you want to do a static build you'll --enable-static and --disable-shared, but I just checked and it didn't seem to affect my portaudio configure) once that is complete, in the same command line window type
make
.
Make will actually compile the code using the makefile that was configured with out configure command. Makefiles are black magic, look it up- you can do some cool stuff. They are ... kinda standardized, but mostly not standardized at all, for portaudio you'll find libportaudio.a inside the lib\.libs\ folder.
Inside code::blocks, go to the project menu > build options > (choose your project name on the left pane, not debug or release) > linker settings > add > (choose libportaudio.a)
Once that's done you maaaay need to include libwinmm.a from the lib directory of your mingw installation folder.
Next add the "include" folder in your portaudio folder to your search directory under the compiler tab (this is project > build options > search directories > compiler > add > (portaudio\include folder))
Then you should be able to use portaudio without any issues. They have some pretty good tutorials, once the library is set up you should be able to include the header file and be on with your life.