Use a shell for loop to process the files in turn:
for
for i in *.mp3; do lame --mp3input -b 48 "$i" "${i%%.mp3}_48.mp3"done