comparison loader/dshow/DS_AudioDecoder.c @ 9503:f47d484d8f28

cbAlign=1 fix for proper Windows support (noticed by Sascha Sommer)
author alex
date Tue, 25 Feb 2003 16:17:23 +0000
parents fb88ccbc5ccc
children b0d1b415320c
comparison
equal deleted inserted replaced
9502:241bba8f60e8 9503:f47d484d8f28
103 103
104 this->m_pDS_Filter->Start(this->m_pDS_Filter); 104 this->m_pDS_Filter->Start(this->m_pDS_Filter);
105 105
106 props.cBuffers=1; 106 props.cBuffers=1;
107 props.cbBuffer=this->m_sOurType.lSampleSize; 107 props.cbBuffer=this->m_sOurType.lSampleSize;
108 props.cbAlign=props.cbPrefix=0; 108 props.cbAlign=1;
109 props.cbPrefix=0;
109 this->m_pDS_Filter->m_pAll->vt->SetProperties(this->m_pDS_Filter->m_pAll, &props, &props1); 110 this->m_pDS_Filter->m_pAll->vt->SetProperties(this->m_pDS_Filter->m_pAll, &props, &props1);
110 this->m_pDS_Filter->m_pAll->vt->Commit(this->m_pDS_Filter->m_pAll); 111 this->m_pDS_Filter->m_pAll->vt->Commit(this->m_pDS_Filter->m_pAll);
111 } 112 }
112 /* 113 /*
113 catch (FatalError& e) 114 catch (FatalError& e)