int set_codec_param(string name, mixed value)
Sets one codec parameter
The name of parameter. One of "sample_rate", "bit_rate", "channels".
"sample_rate"
"bit_rate"
"channels"
Returns 1 on success, 0 otherwise (parameter not known).
get_codec_params()