Re: [fpc-pascal] Get value of PPChar ?
Am 2017-04-16 um 19:45 schrieb fredvs: >> And how you'll need to use it will depend upon the function's documentation > With audio libraries there is a law: NO doc (other that the C header) and NO > demos. > So you must guess and explore all by your self. Now that's a useful working mode! No bugs will ever exist because no code behaviour can violate the documentation! How programming has degraded... ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Get value of PPChar ?
Hello. For those who are interested, Thomas Orgis (the creator of mpg123) did answer: ---> https://sourceforge.net/p/mpg123/bugs/248/ Fre;D - Many thanks ;-) -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Get-value-of-PPChar-tp5728277p5728291.html Sent from the Free Pascal - General mailing list archive at Nabble.com. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Get value of PPChar ?
Free Pascal - General mailing list wrote > No, your "var PPChar" was still wrong. It's either "var PChar" or "PPChar" > and nothing else. Huh, in last commit (5e680a4 10 hours ago) ---> https://github.com/fredvs/uos/blob/master/src/uos_mpg123.pas#L673 Fre;D PS: Do you agree if I add you to the great contributors ? - Many thanks ;-) -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Get-value-of-PPChar-tp5728277p5728290.html Sent from the Free Pascal - General mailing list archive at Nabble.com. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Get value of PPChar ?
Am 17.04.2017 00:47 schrieb "fredvs": > > Free Pascal - General mailing list wrote > > According to the code it also returns 0 with icy_meta being Nil if there > > is no corresponding data: > > https://github.com/georgi/mpg123/blob/master/src/libmpg123/libmpg123.c#L1384 > > Ha, nice, you did find the only doc available : the source code (that > contains no comment, of course ;-) ) > > Yep, this would solve everything. > In fact solve nothing because the code was ok then ;-) No, your "var PPChar" was still wrong. It's either "var PChar" or "PPChar" and nothing else. Regards, Sven ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal