Commit 1f601e12 authored by Wim Taymans's avatar Wim Taymans
Browse files

alsasrc: return right number of bytes that we wrote

parent f37b42b4
......@@ -810,7 +810,7 @@ gst_alsasrc_read (GstAudioSrc * asrc, gpointer data, guint length)
return length - cptr;
return length - (cptr * alsa->bytes_per_sample);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment