Lazarus

Programming => Graphics and Multimedia => Audio and Video => Topic started by: laguna on May 12, 2018, 04:45:38 pm

Title: Library: LibMpg123-64.dylib, LibPortaudio-64.dylib, LibSndfile-64.dylib
Post by: laguna on May 12, 2018, 04:45:38 pm
Hi,

As I think you have seen, I have developed a LazTranslator for Mac 64bit application.
This application in the 32bit version made use of the UOS library.
This complete library did not have the libraries for MAC 64bit.
I have compiled the sources, without making any changes, and I attach them to the present message, in order to make it available to those who need it.

Regards
Vincenzo
Title: Re: Library: LibMpg123-64.dylib, LibPortaudio-64.dylib, LibSndfile-64.dylib
Post by: laguna on May 12, 2018, 04:47:50 pm
Given that you can not attach large files the other 2 fali are attached to the following message.

code for use:
Code: Pascal  [Select][+][-]
  1.    ordir := ExtractFilePath(ParamStr(0));
  2.   {$IFDEF Darwin}
  3.     {$IFDEF CPU64}
  4.         opath := ordir;
  5.         opath := copy(opath, 1, Pos('/Contents', opath) - 1);
  6.         lib1 := opath + '/Contents/Frameworks/64bit/LibPortaudio-64.dylib';
  7.         lib2 := opath + '/Contents/Frameworks/64bit/LibSndFile-64.dylib';
  8.         lib3 := opath + '/Contents/Frameworks/64bit/LibMpg123-64.dylib';
  9.     {$ENDIF}
  10.  
  11.     {$IFDEF CPU32}
  12.         opath := ordir;
  13.         opath := copy(opath, 1, Pos('/Contents', opath) - 1);
  14.         lib1 := opath + '/Contents/Frameworks/32bit/LibPortaudio-32.dylib';
  15.         lib2 := opath + '/Contents/Frameworks/32bit/LibSndFile-32.dylib';
  16.         lib3 := opath + '/Contents/Frameworks/32bit/LibMpg123-32.dylib';
  17.     {$ENDIF}
  18.   {$ENDIF}
  19.  
Title: Re: Library: LibMpg123-64.dylib, LibPortaudio-64.dylib, LibSndfile-64.dylib
Post by: Fred vS on November 04, 2018, 02:48:02 pm
@ Laguna: Many thanks for this.

And sorry for the delay.

Fre;D
TinyPortal © 2005-2018