I have a thirdparty source filter I am trying out for mp3 playback . The problem I am having is that when I load a mp3 file using.
hr = c_graphBuilder.AddSourceFilter(p_FileName, "DC-Bass Source", l_ppIbase)
Directsound falls back to the default file source for mp3 files.
When using graphedit I can select the filter source for use from the list. How can I do this?
I have already tried getting the filter and adding it to the graph but I can't figure out how to push the file into it.
Please advise.
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Don't use AddSourceFilter. Create an instance of the filter you want and add it to the graph with AddFilter. Then configure the filter to use the file you want, probably with IFileSourceFilter.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a thirdparty source filter I am trying out for mp3 playback . The problem I am having is that when I load a mp3 file using.
hr = c_graphBuilder.AddSourceFilter(p_FileName, "DC-Bass Source", l_ppIbase)
Directsound falls back to the default file source for mp3 files.
When using graphedit I can select the filter source for use from the list. How can I do this?
I have already tried getting the filter and adding it to the graph but I can't figure out how to push the file into it.
Please advise.
Thanks
Don't use AddSourceFilter. Create an instance of the filter you want and add it to the graph with AddFilter. Then configure the filter to use the file you want, probably with IFileSourceFilter.
snarfle You rock!
That is exactly what I was looing for.
Thanks