The behavior of the pipeline with the file-playing branch is strange.
When I set filesrc.do-timestamp=TRUE, everything works perfectly, but only
for files that do not require resampling.
E.g. the capsfilter is setup at 48KHz, when I use file encoded at 16KHz, the
'audioresample' element starts generating timestamp disconts and produces
garbled file playback.
On the other hand, if I set filesrc.do-timestamp=FALSE, files are played
back from the middle, and being cut at the end.