forked from mia/Aegisub
Made previous patch apply to every other provider, too.
Originally committed to SVN as r1775.
This commit is contained in:
parent
ca1d42ba55
commit
dd3047e571
1 changed files with 3 additions and 0 deletions
|
@ -238,6 +238,9 @@ AudioProvider *AudioProviderFactory::GetAudioProvider(wxString filename, int cac
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Give it a conversor if needed
|
||||||
|
if (provider && provider->GetBytesPerSample() != 2) provider = new ConvertAudioProvider(provider);
|
||||||
|
|
||||||
// Return
|
// Return
|
||||||
return provider;
|
return provider;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue