add "force mono audio" option and fix flags not be
ing set after a dispatch reset
This commit is contained in:
parent
16f497fcf1
commit
a93a9c19f3
6 changed files with 22 additions and 3 deletions
|
|
@ -88,7 +88,7 @@ void DivDispatchContainer::clear() {
|
|||
prevSample[1]=temp[1];*/
|
||||
}
|
||||
|
||||
void DivDispatchContainer::init(DivSystem sys, DivEngine* eng, int chanCount, double gotRate, bool pal) {
|
||||
void DivDispatchContainer::init(DivSystem sys, DivEngine* eng, int chanCount, double gotRate, unsigned int flags) {
|
||||
if (dispatch!=NULL) return;
|
||||
|
||||
bb[0]=blip_new(32768);
|
||||
|
|
@ -170,7 +170,7 @@ void DivDispatchContainer::init(DivSystem sys, DivEngine* eng, int chanCount, do
|
|||
dispatch=new DivPlatformDummy;
|
||||
break;
|
||||
}
|
||||
dispatch->init(eng,chanCount,gotRate,pal);
|
||||
dispatch->init(eng,chanCount,gotRate,flags);
|
||||
}
|
||||
|
||||
void DivDispatchContainer::quit() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue