Permalink
Browse files

notes

  • Loading branch information...
1 parent 1261002 commit 70cc97a5eb60082948ef4c56d6368e320a0618ca @rdp committed Aug 18, 2012
Showing with 3 additions and 1 deletion.
  1. +2 −0 source_code/acam/ReadMe.txt
  2. +1 −1 source_code/acam/directshow_stuff.cpp
@@ -6,3 +6,5 @@ msvad is the only way
// TODO tell them here: http://social.msdn.microsoft.com/forums/en-us/windowsdirectshowdevelopment/thread/F9F656CC-FBD5-4F78-B2D5-EF3214274795
// http://msdn.microsoft.com/en-us/library/dd317587%28VS.85%29.aspx lists some more filter interfaces...
+
+http://blogs.msdn.com/b/matthew_van_eerde/archive/2011/09/09/how-to-validate-and-log-a-waveformatex.aspx maybe to output what other things give us?
@@ -156,7 +156,7 @@ HRESULT CVCamStream::SetMediaType(const CMediaType *pmt)
#define DECLARE_PTR(type, ptr, expr) type* ptr = (type*)(expr);
HRESULT setupPwfex(WAVEFORMATEX *pwfex, AM_MEDIA_TYPE *pmt) {
- // TODO match more than just htz...
+ // TODO match more than just htz...maybe that's all we need? :)
pwfex->wFormatTag = WAVE_FORMAT_PCM;
pwfex->cbSize = 0; // apparently should be zero if using WAVE_FORMAT_PCM http://msdn.microsoft.com/en-us/library/ff538799(VS.85).aspx
pwfex->nChannels = 2; // 1 for mono, 2 for stereo..

0 comments on commit 70cc97a

Please sign in to comment.