Cross-Platform Development

The Experimental Stream Player is a portable console application I made for project testing and research. It plays Shoutcast / IceCast streaming Internet radio. Developed on Windows with C#, the same executable runs on both Windows under MS .NET 4.0 and on the Raspberry Pi under mono 3.8.0.

The Experimental Stream Player on the Raspberry Pi (ARM6)

The Experimental Stream Player on the Raspberry Pi (ARM6)

Being a long time friend of the fabulous BASS Audio Library and a fan of the Raspberry Pi, I’m very happy to see BASS supporting the Pi. El many mucho thankies grande go to Ian!

The Experimental Stream Player on Windows (x64)

The Experimental Stream Player on Windows (x64)

You can paste the source code into a console application (program.cs), get BASS (and perhaps the AAC plugin) and BASS.Net. Add a Reference to BASS.Net to your application and compile. Make sure the BASS library files (.dll /.so) are in your path.

If you don’t like to compile yourself, download the binaries archive instead. You will still need a mono installation, and the archive will likely contain an outdated exe… But it has all the necessary libs for Windows, Raspberry Pi and Mac there right away.

Note that the included Raspberry Pi libs are for ARM Linux, so they won’t work on your x86/x64 Linux machine. But you could download those libs from the BASS homepage nonetheless. I’d like to hear from you if you run this on Mac OSX, btw!

Furthermore, the supplied binaries are hardfp versions of BASS Audio Library for ARM Linux, so might not work on softfloat installs of Raspbian. If that’s the case, get the softfloat versions from the Link above.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s