>Well, you'd get used to stricter code checks & warnings. Try to >compile everything with eg. "-W -Wextra -Wall -Werror >-Wmissing-prototypes -pedantic -std=gnu99". That would have told you >about that error :) thanks Jan, will definitely heed the advice. Conor On Wed, Oct 14, 2009 at 12:32 PM, Jan-Benedict Glaw <jbglaw at lug-owl.de>wrote: > On Wed, 2009-10-14 11:49:39 +0100, Forwind info <forward at forwind.net> > wrote: > > Okay scratch all of the above. Found the issue - no bug - its me of > course! > > It seemed a little too fundamental to be a bug and not raise obvious > google > > hits/IRC alarm bells. > > > > I was not strictly adhering to the callback prototype parameter lists. > > > > My callback's signature was > > > > (pa_context *c, const pa_sink_input_info *info, void *userdata) > > > > The prototype in the APi is > > > > (pa_context *c, const pa_sink_input_info *info, int eol, void *userdata > > > > I missed out on the eol ... > > Well, you'd get used to stricter code checks & warnings. Try to > compile everything with eg. "-W -Wextra -Wall -Werror > -Wmissing-prototypes -pedantic -std=gnu99". That would have told you > about that error :) > > MfG, JBG > > -- > Jan-Benedict Glaw jbglaw at lug-owl.de +49-172-7608481 > Signature of: Eine Freie Meinung in einem Freien Kopf > the second : f?r einen Freien Staat voll Freier B?rger. > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > > iEYEARECAAYFAkrVtuMACgkQHb1edYOZ4bvCkwCfRMnTM3nqimgnQy8BLNo9IrwJ > J4YAoI+Xt813Li21z9fibp7BNUSNyCWu > =neXO > -----END PGP SIGNATURE----- > > _______________________________________________ > pulseaudio-discuss mailing list > pulseaudio-discuss at mail.0pointer.de > https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20091014/b287119a/attachment.htm>