Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes, on Windows you can intercept/hook the Audio API and know where the calls came from.

My company has done that for multiple applications: http://www.nektra.com/products/audio-recorder-api/

Remember that on Google Chrome there is a separation of processes so you can differentiate what tab iis related to the sound.



>Remember that on Google Chrome there is a separation of processes so you can differentiate what tab iis related to the sound.

Unfortunately, it doesn't work that way. While Chrome can run each tab in its own process, all Flash gets run through a single Flash process.


It seems like it would be a nice feature on multiple monitors to use stereo/3D sound to locate an alert sound coming out of a window.

For instance, if it's on the extreme side of the right monitor, play a sound in the right speaker.


Latest AMD video cards have independent audio device for every connected via DisplayPort display (up to 6) and support switching sound output between them depending on positions of windows in Windows drivers. So if sound comes from application with window on the right monitor it would be played in speakers connected to the right monitor.


Interestingly enough, the Rollercoaster Tycoon games (1 and 2 at least) did this for UI sounds. (I also recall reading this had been a feature of some OS of yonder.)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: