Difference between revisions of "User:Scanff/Libwiiradio"

From WiiBrew
Jump to: navigation, search
(Quickstart)
Line 13: Line 13:
  
 
== Quickstart ==
 
== Quickstart ==
There is an example of how to use LibWiiRadio included in the download.
+
There is an example of how to use LibWiiRadio included in the download.
 +
 
 +
Here's a list of the functions.
 +
 
 +
<source lang = "cpp">
 +
 
 +
// play a stream
 +
int LWR_Play(char*);
 +
 
 +
// stop playback
 +
int LWR_Stop();
 +
 
 +
// return the current URL
 +
char* LWR_GetUrl();
 +
 
 +
// return what's playing
 +
char* LWR_GetCurrentTrack();
 +
 
 +
// return bitrate
 +
int LWR_GetCurrentBitRate();
 +
 
 +
// return the volume
 +
int LWR_GetVolume();
 +
 
 +
// set the volume
 +
void LWR_SetVolume(int);
 +
 
 +
 
 +
</source>
  
 
== Bugs & Suggestions ==
 
== Bugs & Suggestions ==

Revision as of 04:44, 16 February 2010

libwiiradio
Wiiradio img.png
General
Author(s)Scanff
TypeLibrary
Version1.00

Libwiiradio is a simple and easy to implement library you can add to your game or homebrew app that gives you the ability to playback internet radio.


Quickstart

There is an example of how to use LibWiiRadio included in the download.

Here's a list of the functions.

// play a stream
int LWR_Play(char*);

// stop playback
int LWR_Stop();

// return the current URL
char* LWR_GetUrl();

// return what's playing
char* LWR_GetCurrentTrack();

// return bitrate
int LWR_GetCurrentBitRate();

// return the volume
int LWR_GetVolume();

// set the volume
void LWR_SetVolume(int);

Bugs & Suggestions

Soon

Update History

1.00 - Coming very soon

  • Initial release