Bug in write format? (chan_console)

I am not sure if this is a bug or not, but in chan_console, the function console_write returns frames with 320 samples instead of 160 eventhough the channels writeformat, readformat, rawwriteformat, and rawreadformat are all set to SLINEAR and not SLINEAR16.

Please help, what else should I set to have console_write be correct? Or is this truly a bug?