VGMStream on Google Native Client by fernandoc1 at 12:17 PM EDT on August 6, 2011
I'm interested in porting VGMStream to Google Native Client. It seems to be a promising technology and it is cross-platform. For people who don't know this, here is the link for the site: http://code.google.com/chrome/nativeclient/ It seems to be very easy to put audio running in this. Here is an tutorial, explaining how it works: http://code.google.com/chrome/nativeclient/docs/audio.html And here you can find a wave synthesizer example: http://code.google.com/chrome/nativeclient/docs/examples.html I wanna know, if there is someone interested in the project. It will be soon enabled by default in Google Chrome, and people could start using applications built with this, by only opening a link in their Chrome Browser.
Ah, I forgot to put an e-mail for contacts: fernandoc1987-nacl@yahoo.com.br
If someone is interested, please, contact me. I think that it will be very interesting, and Google seems that it is going to give great support to people with this technology.
If you had read the link (http://code.google.com/chrome/nativeclient/) carefully, you would see that it is the you can run native code in the browser. To explain better, you compile you C/C++ code intro native X86, X86_64 or ARM native code and it generate a module that can be loaded to the browser. In some point of view, you can say that it will be limited to Chrome, but if you see charts like this (http://marketshare.hitslink.com/browser-market-share.aspx?spider=1&qprid=1) you will see that Chrome is the fastest growing platform. In some way, it is the easiest way to reach any major operating system (Linux, Windows and MacOS). The only think that it needed to port it to native client is a modification in the code, to pass to the browser the wave stream. The user interface can be done in HTML5 and Javascript. Maybe on Chrome version 15 Native Client will be enabled by default. In my opinion it would be interesting to support this, because it is also possible to publish the VGMStream in Google Webstore (https://chrome.google.com/webstore?hl=en-US), so people can create a shortcut in their desktop to the application it self, without needing to install any package.
If someone is thinking that running native code from the browser is an unsafe approach, there are some papers on (http://www.chromium.org/nativeclient/reference/research-papers) that discuss how to run untrusted code in a sandbox.
It currently is not possible. But I think that on the maturing of this technology, Google will make it ready playable on Android. I don't know if the Android Browser, currently have NaCl in it's plans, but be sure that as soon as Google enable this in Android, you will be able to run the module, easily. I have just got this news here: http://www.h-online.com/open/news/item/Chrome-14-beta-goes-Native-1322490.html For people that still have issues about how safe a NaCl module is, all I have to say is that it is build to run code in the same level of access that JavaScript runs in Chrome. I have been reading about Native Client, for a long time, and I'm sure that it will be a way to go to the web with code that we build today for desktops. Google is also suggesting people to start considering Native Client. See this blog post: http://chrome.blogspot.com/2011/08/building-better-web-apps-with-new.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+blogspot%2FEgta+%28Google+Chrome+Blog%29
In the beginning I came here to suggest this, to be a way to even attract more people to the VGMStream project, since it is really cool to be able to listen game music that we loved to hear while playing. Now with the resources of the Web, we should be able to build communities that could share these tracks and a Web player could be really cool.
If nobody have interest in this proposition, I will try myself, when I have a free time to do this.