home *** CD-ROM | disk | FTP | other *** search
/ PC World 2004 February / PCWorld_2004-02_cd.bin / software / vyzkuste / jaknavideo / jaknavideo.exe / zp320pro-trial.exe / MediaGraph / example_mp3.mediagraph < prev    next >
Text File  |  2002-01-03  |  778b  |  17 lines

  1. # Load the Source File filter
  2. LoadFilter({E436EBB5-524F-11CE-9F53-0020AF0BA770},Source File)
  3.  
  4. # Load the File Name into the CD-Reader
  5. SetFilterFileName(Source File,<FileName>)
  6.  
  7. LoadFilter({336475D0-942A-11CE-A870-00AA002FEAB5},MPEG I Stream Splitter)
  8. LoadFilter({38BE3000-DBF4-11D0-860E-00A024CFEF6D},MPEG Layer 3 Decoder)
  9.  
  10. # Load the Audio Renderer
  11. LoadFilter({79376820-07D0-11CF-A24D-0020AFD79767},Default DirectSound Device)
  12.  
  13. # Connect the CD-Reader to the Audio Renderer
  14. ConnectPin(Source File,Output,MPEG I Stream Splitter,Input)
  15. ConnectPin(MPEG I Stream Splitter,Audio,MPEG Layer 3 Decoder,In)
  16. ConnectPin(MPEG Layer 3 Decoder,Out,Default DirectSound Device,Audio Input pin (rendered))
  17.