紀錄一下...因為這裡GFW block 很多東西,用proxy 又不能直接subscribe..
http://www.navigadget.com/
1.24.2008
1.23.2008
到了上海
不怎麼冷,hotel 可以上網,但是 有好多網站上不去.. (像這個 realchecko.blogspot.com)。
還好gmail 和google上得去。
查了一下,好像是GFW的關係,所以要看 blogspot的 blog,要到 http://www.pkblogs.com/
我真是蠢蛋,就已經進不來了,還寫在這..
應該要bookmark起來才對
還好gmail 和google上得去。
查了一下,好像是GFW的關係,所以要看 blogspot的 blog,要到 http://www.pkblogs.com/
我真是蠢蛋,就已經進不來了,還寫在這..
應該要bookmark起來才對
1.18.2008
1.17.2008
WAVEDEV - Volume
HandleWaveMessage():可以知道最後update到m_fxGain 這個variable中。
SetGain(newgain) [ By pStreamContext or DeviceContext ]
StreamContext (SetGain )
GainChange( )
{
m_fxGain = MapGain(newgain);
}
MapGain( )
translate and tablet from GainMap[ ]
這個variable 給很多 ouput.cpp 的 Render( ) 使用。
有趣的地方:
CMidiNote::Render( ) 中,會由 SineTable[] 取出 amplititude,然後 * m_fxGain。
加上log message:
StreamContext:SetGain 19991999result 就是經過GainMap[] 後的值。
StreamContext:GainChange
StreamContext:MapGain 1999
SecondaryGain fff, Total Gain 1998e667
Index 39, Result 9EF
1.16.2008
Work Notes : Launch Shell cause system hang
新的Shell 在 Explorer Mode 啟動不起來 (cause system hang)。
Solution : Loyal 說,要手動加一個 Key (DWORD) :
所以,在debug完之前,在release dir 的 platform.reg中加入
Solution : Loyal 說,要手動加一個 Key (DWORD) :
HKEY_LOCAL_MACHINE\Platform\ResetFlag = 1設完後,就可以開啟Shell 了。
所以,在debug完之前,在release dir 的 platform.reg中加入
[HKEY_LOCAL_MACHINE\Platform]
IF BSP_ENABLE_SHELL !
"ResetFlag"=dword:1
ENDIF
Get, Set Thread Priority
要知道目前自己這個Thread的Priority,用
但是 help 檔說,新版應該要用 CeGetThreadPriority( ), CeSetThreadPriority( ) 。
GetThreadPriority( GetCurrentThread() );要改變/設定自己的Thread Priority,用
SetThreadPriority( GetCurrentThread( ), NewPri );CE 的 Priority Number 越小,Priority越高。
但是 help 檔說,新版應該要用 CeGetThreadPriority( ), CeSetThreadPriority( ) 。
訂閱:
文章 (Atom)