Thanks Richard. I'll use an approach close to what you mentioned there. Since I'll be doing something like that I might go a step further and also try to support other data types (like uLaw and aLaw audio). Do you think it would be a good idea to define some enum values to be passed?