made some changes to the sampleconverter for GIDS