Revert "alsa_sound: Calculate proxy port latency"

This reverts commit 6f72b5fba2f1020466d4a6531618331b8f8c0632.

Revert "alsa_sound: Query BT/USB streams for audio latency"

This reverts commit d46eca4d243daefb28fefbffdcb389070fd58c30.

Revert "alsa_sound: Flush Proxy data at high water mark"

This reverts commit a7e0ca0ab5f39c5840d25594f2a3d86a49aaa70f.

Revert "alsa_sound: Fix buffer pointer mismatch in proxy"

This reverts commit 6a6c9ec67be6375e00d42b12cbeb986ef5e121c3.
legacy/alsa_sound: Return bytes written to HAL for tunnel playback.

- Return bytes written to HAL on successful pcm_write for tunnel and
lpa playback. Return error value returned by pcm write in other
condition.

Change-Id: I554df079e56fcbc8f24e5f50f4c7469ad3c2a686