So, I haven't seen a topic like this in here, and I realize that I have a rather specific desire for Madsonic to fulfill. The video, and audio streaming works perfectly with the exception of transcoding to webm format for HTML5 taking a whole lot of extra CPU time, and there's nothing that can be done about that. I'd just like to say thank you to everyone who's made this set of software happen.
That being said, HELP PLOX! I am running Ubuntu Server 12.04 Precise, and Madsonic is working pretty well on it. Here's the thing. This server is multipurpose. It's not only my home router, it is also an HTPC running XBMC, and a server running services such as Madsonic. So the Front Right and Front Left green 3.5mm output jack goes to a Monitor with integrated speakers which works perfectly. One of the things I want it to do though, is output audio using jukebox player to the surround speakers Rear Right and Rear Left (so the server itself is playing music to a stereo, and is controlled via my Android phone).
The server is running this hardware
- Pentium 4 3.2Ghz
- 1.5GB RAM
- D865PERL Motherboard with integrated sound card only
http://www.alsa-project.org/db/?f=aae89 ... 35a94c38de
Now initially I had to add a Java script (audioDevList.java) to figure out which outputs I should use,
Code: Select all
import java.io.*;
import javax.sound.sampled.*;
public class audioDevList{
public static void main(String args[]){
//Get and display a list of
// available mixers.
Mixer.Info[] mixerInfo =
AudioSystem.getMixerInfo();
System.out.println("Available mixers:");
for(int cnt = 0; cnt < mixerInfo.length;
cnt++){
System.out.println(mixerInfo[cnt].
getName());
}//end for loop
}
}
Code: Select all
'-Djavax.sound.sampled.SourceDataLine=#ICH5 [plughw:0,0]' \
Code: Select all
# java audioDevList
Available mixers:
PulseAudio Mixer
ICH5 [default]
ICH5 [plughw:0,0]
ICH5 [plughw:0,1]
ICH5 [plughw:0,2]
ICH5 [plughw:0,3]
ICH5 [plughw:0,4]
Port ICH5 [hw:0]
Code: Select all
ICH5 [plughw:0,0]
Code: Select all
ICH5 [plughw:0,4]
Code: Select all
ICH5 [plughw:0,4]
Code: Select all
ICH5 [plughw:0,0]