[fpc-pascal] Array as result in function.

fredvs fiens at hotmail.com
Fri Jan 20 23:36:55 CET 2017


Re-hello.

Ok, thanks Silvio, I will take this one from your advice, it works like
charm:

type
  TOggOpusFile = THandle;
  TDArFloat = array of cfloat;
  PDArFloat = ^TDArFloat;

op_read: function(OpusFile: TOggOpusFile; pcm : PDArFloat; SampleCount:
Integer; li: pointer): Integer;
op_read_float: function(OpusFile: TOggOpusFile; pcm : PDArFloat;
SampleCount: Integer; li: pointer): Integer;

Many thanks.

Fre;D




-----
Many thanks ;-)
--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Array-as-result-in-function-tp5727366p5727385.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list