audiovisualizer: Fix calculations for bytes<->samples conversions
authorThomas Jones <thomas.jones@utoronto.ca>
Sat, 11 Jun 2016 02:36:32 +0000 (22:36 -0400)
committerSebastian Dröge <sebastian@centricular.com>
Sat, 11 Jun 2016 08:45:51 +0000 (11:45 +0300)
commitd423406e0ac87b365f120e6ebe08801bbb1cfe58
tree1a600a6227add8ed9009e7008fef6e85fedb955c
parent247ce9f39f6437366ad95f4ac2a018f16e181bac
audiovisualizer: Fix calculations for bytes<->samples conversions

Use bpf instead of channels * sizeof(gint16).

https://bugzilla.gnome.org/show_bug.cgi?id=767505
gst-libs/gst/pbutils/gstaudiovisualizer.c