Posts

Showing posts from September, 2009

Use Relative Path in Free-form Netbeans Projects

For free-form projects, Netbeans uses absolute path for project directory in project.xml : <properties> <property name="project.dir">/Users/yili/Work/homecamera/WowzaStreaming</property> <property name="ant.script">${project.dir}/build.xml</property> <properties> All paths in project.xml are relative to the project folder, which is the folder that contains the nbproject folder. Thus changing the above to the following makes my project works on all platforms regardless where the project is located: <properties> <property name="project.dir">../../../WowzaStreaming</property> <property name="ant.script">${project.dir}/build.xml</property> <properties>

The Best Farewell

It has always been my ambition to die in harness with my head face down on a keyboard and my nose caught between two of the keys -- Isaac Asimov

Setup Audio for Windows 7 on MacBook Pro 13"

My brand new MacBook Pro 13" dual-boots on Snow Leopard and Windows 7. I used the official Snow Leopard DVD to install device drivers for Windows 7. Everything worked fine except for audio, which had a very low volume for both playback and recording. Here's how I fixed it. Run registry editor as administrator and go to: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentVersionSet\Control\Class\ {4D36E96C-E325-11CE-BFC1-08002BE10318}\0000\cs420x Make sure the following entries are present: Name Type Value ------------------------------------------------------ n0DInAmpCaps REG_DWORD 0x00270301 n02OutAmpCaps REG_DWORD 0x80017f73 n03OutAmpCaps REG_DWORD 0x80017f73 n04OutAmpCaps REG_DWORD 0x80017f73