support setting buffer_frame_count. closes #33

sink: ability to set buffer_frame_count
encoder: set the sink's buffer_frame_count correctly when the codec
         requires it