Clean up positions/samples.

Seek() now takes a sample count, instead of a position count; the conversion is
now done in AudioSink().

Some unnecessary typedefs have been removed.
Do a bit of clang-formatting.