Notice
Recent Posts
Recent Comments
Link
«   2024/03   »
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
Archives
Today
Total
03-29 06:10
관리 메뉴

zyint's blog

ISpStream 본문

예전글들

ISpStream

진트­ 2009. 3. 14. 10:15

ISpStream

  • The application developer can wrap an existing stream up by providing both an IStream and its format so that the underlying ISpStreamFormat can provide this data to SAPI when required. The new ISpStream object can be used as an input for SAPI wherever SAPI requires an ISpStreamFormat.
  • ISpStream creates an object from a file suitable for SAPI usage using BindToFile. The helper function SPBindToFile may also be used to simplify this process even further.

 

구현

SpStream

 

함수

ISpStream Methods Description
SetBaseStream 오디오 스트림의 메모리 상의 주소를 할당한다.
GetBaseStream 오디오 스트림의 메모리 상의 주소를 얻는다.
BindToFile 오디오 스트림을 파일로 저장한다.
Close 오디오 스트림을 닫는다.

 

관련

Helper Enumerations, Functions and Classes Description
enum SPSTREAMFORMAT SAPI supported stream formats
CSpStreamFormat 클래스 Class for managing SAPI supported stream formats and WAVEFORMATEX structures

 

참고자료

http://msdn.microsoft.com/en-us/library/ms719456(VS.85).aspx

 

이 글은 스프링노트에서 작성되었습니다.

Comments