lsmashinput: Add 'sampling rate' settings.

The default value 0 means the output sampling rate will be the maximum sampling rate in the stream.