forked from mia/Aegisub
FFMS actually can be used without cache
This commit is contained in:
parent
79c2141082
commit
7e3a0fb926
2 changed files with 3 additions and 3 deletions
|
@ -116,10 +116,10 @@ std::unique_ptr<agi::AudioProvider> GetAudioProvider(fs::path const& filename,
|
|||
if (cache == 1) {
|
||||
if (sizeof(void*) == 4 && (provider->GetNumSamples() * provider->GetChannels() * provider->GetBytesPerSample() >= (1 << 30))) {
|
||||
wxMessageBox(_(
|
||||
"Unable to create RAM audio cache: 32-bit memory limit exceeded. Fallback to hard disk cache.\n"
|
||||
"Unable to create RAM audio cache: 32-bit memory limit exceeded. Fallback to hard disk cache.\n\n"
|
||||
"Possible solutions:\n"
|
||||
"- Use 64-bit version\n"
|
||||
"- Switch to hard disk cache in Preferences -> Advanced -> Audio -> Cache -> Cache type\n"
|
||||
"- Turn off cache or switch to hard disk cache in Preferences -> Advanced -> Audio -> Cache -> Cache type\n"
|
||||
"- Enable channel downmix in Preferences -> Advanced -> Audio"
|
||||
), _("Out of Memory"), wxICON_ERROR | wxOK | wxCENTRE);
|
||||
cache = 2;
|
||||
|
|
|
@ -374,7 +374,7 @@ void Advanced_Audio(wxTreebook *book, Preferences *parent) {
|
|||
p->OptionChoice(expert, _("Audio player"), apl_choice, "Audio/Player");
|
||||
|
||||
auto cache = p->PageSizer(_("Cache"));
|
||||
const wxString ct_arr[3] = { _("None (NOT RECOMMENDED)"), _("RAM"), _("Hard Disk") };
|
||||
const wxString ct_arr[3] = { _("None (Not recommended with Avisynth)"), _("RAM"), _("Hard Disk") };
|
||||
wxArrayString ct_choice(3, ct_arr);
|
||||
p->OptionChoice(cache, _("Cache type"), ct_choice, "Audio/Cache/Type");
|
||||
p->OptionBrowse(cache, _("Path"), "Audio/Cache/HD/Location");
|
||||
|
|
Loading…
Reference in a new issue