求问directshow中的数据传输
dmo中的数据传输主要是通过不停调用InternalProcessInput()和InternalProcessOutput() 实现,假如我做AMR的encoder DMO,我手上的库中编码数据是每次编码160个word16的数据(while (fread (new_speech, sizeof (Word16), L_FRAME, file_speech) == 160))
但是现在我遇到一个问题,如果硬件中每次通过InternalProcessInput()穿进来的数据量是16000个byte数据,但是每个数据是16位bit表示,就是说有50帧数据,大大超过了1帧
这个时候该怎么办呢?