[MPlayer-dev-eng] DirectSound (win32) audio output driver

jack zhu jack0zhu at 21cn.com
Thu Apr 15 06:08:45 CEST 2004


> >Meanwhile I should probably also think about which HWND to pass to
> >the SetCooperativeLevel function ;-) maybe just some invisible dummy
> >window? I'm not sure whether I can rely on anything else.
> 
> Does it require a window?
> For vo directx it worked without. I think there is a function to get a
> handle to the desktop
> window. You could use this then instead. At least don't rely on a vo window.
> 
> Sascha
i'm also interest in dxsound implementaion.it seems buffering statgey is clear:
1 create a large continuous buf.
2 lock dsound buffer to get current free sapce.
3 write to free space.
4 unlock dsound buffer.
imho,idirectsoundnotify isnot needed.

----------------------------------------------
ÈÃÊÖ»úÓëÐÄÇéͬ²½£¬Í¼Æ¬ÁåÉùÈÎÒâÏÂÔØ 
http://sms.21cn.com/tlby/ 
½ðÓ¹¼á¾ö²»×¼Ð»öª·æÑÝÑî¹ý Ä÷­Á³ÒªÐ® 
http://news.21cn.com/social/ 
2Ôª/Ì죬ÆóÒµ·þÎñÒ»¾ÙËĵã¬Ó®È¡mp3¡¢ÊýÂëÏà»ú 
http://mail.21cn.com/huodong/0403/qiye/ 
Ãâ·ÑÓÊÉý¼¶,8ÕÛ¹ºÂò׬»ý·Ö 
http://mail.21cn.com/huodong/0401/ 







More information about the MPlayer-dev-eng mailing list