encoder: fix class name inconsistency
decoder: fix C type name inconsistency
decoder: fix wrong result length in case of stereo data