Hi,

[email protected] wrote:
Hi Stefan et al,

I think there's a bug in AmAudioFrontlist::get().

If the playlist is empty and there no back audio object, the function
returns <size> without copying any data.  But, when AmPlaylist is
empty, it will fill the return buffer with zeroes.  I think that
AmAudioFrontlist::get() should defer to AmPlaylist when there is no
back audio, to do the zero fill.

Here how I would change the code:
thanks, fixed.

Stefan

--
Stefan Sayer
VoIP Services Consulting and Development

Warschauer Str. 24
10243 Berlin

tel:+491621366449
sip:[email protected]
email/xmpp:[email protected]


_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

Reply via email to