-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Write radio sound files from pbo to temp folder (drop b64) #978
base: master
Are you sure you want to change the base?
Conversation
So yea, there is no reason we have to use b64 still, since it was a relic of the pre-pbo code. Also I don't think there is a need to copy them to a temp folder. We are storing them and playing them from memory in the sound system if I remember right. We should be able to just pass a path from Arma to the extension and pull it into memory from the pbo like we do with the wrps. |
I think we should leave the old b64 functionality though imo to have backwards compat. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See previous comments.
file_entry() {}; | ||
file_entry(file_p entry_) : _file(entry_) { | ||
file_entry() = delete; | ||
file_entry(file_p entry_) : _file(entry_) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
file_entry(file_p entry_) : _file(entry_) { | |
explicit file_entry(file_p entry_) : _file(entry_) { |
|
||
namespace acre { | ||
namespace pbo { | ||
class file_entry { | ||
public: | ||
file_entry() {}; | ||
file_entry(file_p entry_) : _file(entry_) { | ||
file_entry() = delete; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to delete. Simply delete the constructor.
file_entry() = delete; | |
file_entry() = delete; |
Copy radio sounds directly from pbo instead of loading b64 files
I'm really not sure if this is a good idea or not
Plus:
Negative: