Quantcast
Channel: NAudio
Viewing all articles
Browse latest Browse all 5831

New Post: Resampler Transform

$
0
0

Hello,I continue my investigations.

But obviously there are some errors in interface Transform

 

///<summary>/// Gets the buffer requirements and other information for an input stream on this Media Foundation transform (MFT). ///</summary>///<remarks>/// virtual HRESULT STDMETHODCALLTYPE GetInputStreamInfo( ///     DWORD dwInputStreamID,///     /* [out] */ __RPC__out MFT_INPUT_STREAM_INFO *pStreamInfo) = 0;///</remarks>void GetInputStreamInfo([In] int dwInputStreamID, [In, Out] MFT_INPUT_STREAM_INFO pStreamInfo);

Modify to 
void GetInputStreamInfo([In] int dwInputStreamID, out MFT_INPUT_STREAM_INFO pStreamInfo);

Same erreur in GetOutputStreamInfo

Exact ?????

Viewing all articles
Browse latest Browse all 5831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>