-
Notifications
You must be signed in to change notification settings - Fork 18
Linux build fails #33
Comments
The same problem |
Seems like __int64 is Microsoft-specific notation, equivalent to Could the code be changed to replace __int64 with long long so that it can be compiled from any OS? |
Hi there @12people ! You're absolutely correct. I didn't know that |
Apart from above, I'm currently working on a better implementation of this plugin which will bring a lot lot better control, usability & a really better codec/format support. I'm sure that you'll love it & it will be a lot more better in terms of performance & controllability. Thankyou. I'm also adding things like proper event listeners, network streaming, better asset support, reading metadata without any external plugin & playlists as well. (It's in a private repo currently). Learn more here. |
I installed updated version from github, but now I am getting another error:
I installed miniaudio dependency on my Linux system. |
@oscarmoisei flutter_audio_desktop/.gitignore Lines 19 to 21 in 1342211
You need to place these two files from miniaudio repository to get this to work from github repo. |
@alexmercerind Thank you! That's solved my problem. By the way, I also had error:
I guess it's mistype. |
@oscarmoisei oh yeah. I'm so stupid |
@oscarmoisei
Please remove that "w" and it will work. I'm making commit for it aswell. Apologies for my insane stupidness. |
@alexmercerind That's great! You are doing a great job |
@alexmercerind thanks for making this great package. I also got caught out by the missing miniaudio headers and .gitignore is nto really the first place I would think to look for that - maybe would be worthwhile putting this in a build section in the Readme? |
Hi @maks ! Glad you liked what I did. Yep! You are right. I have nearly completed a better, performant, controllable and more codec supporting plugin instead of this one. Now I'm using libVLC, I'll make that plugin public today. I'll also bring it to plain Dart apps (not just Flutter). I have my middle development screenshots above & things are very stable this time. I'll possibly still maintain this package as alternative to the heavy libVLC version, because miniaudio is really a little & cool library for the purpose. Thanks. |
Currently I'm building that libVLC version, so I'm unable to fix the problems in this package. This package really has some big problems in general. |
@alexmercerind thanks for the very quick reply! Yes I've seen now the discussion thread on just_audio package windows support issue. |
Hello @12people & @oscarmoisei ! Thanks for supporting this project. Now libVLC based alternative to this project is live: It has (in addition to this project):
Other features are in the list. Please use that plugin now instead of this one. Hope you liked my work. |
When I try to build for Linux (from Linux), I get this output:
It seems __int64 isn't being recognized by the compiler in these lines of code:
unsigned __int64 durationPCMFrame;
unsigned __int64 positionPCMFrame;
What can I do about this?
The text was updated successfully, but these errors were encountered: