Hi friends,
Below is my C code
Below is my C code
void WaveFormsBuffer::FillOutputWaveFormBufferData(char *pBuffer,int nBuffsize,uint16_t nConfig) { short pchannelsBuffer[7][1024]; short *pData = (short*)pBuffer; for(int i=0;i <((nBuffsize/2)/7);i++ ) { for(int j=0;j <MAX_NUM_WAV_FILES;j++) { pchannelsBuffer[j][i] = *pData++; } } for(int k=0;k <MAX_NUM_WAV_FILES ; k++) { fwrite(&pchannelsBuffer[k][0],(nBuffsize/7),1,m_pFp[k]); } }this is my code I want to convert to python can anybody can help with coding I am new to python