In regards to 5.1 surround using an aggregate device, I noticed the volume control is disabled when you use an aggregate device.
This is just an idea to get the volume working.
1. Set up your aggregate device in the Audio/Midi Setup app so that it has all outputs and then add soundflower(16ch) to it.
2. In AULabs create a device with 3 inputs and 3 outputs.
3. Set the Input and Output to use the aggregated device you created earlier
4. Configure the the 3 inputs to take in 1 output. i.e Audio Input 1 has 1 selected, Audio Input 2 has 2 selected and Audio Input 3 has 3 selected.
5. Save the AU Lab file.
6. In System Preferences -> Sound ->OutputTab select the output device soundflower(16ch).
7. Play a file with 5.1 surround and confirm your speakers all have seperate output.
8. Check your volume and you should be able to adjust it now.
9. Configure your login script to auto start the AULab file just as lanxxx described.
It would be good to specify a hotkey to allow you to switch/load the different settings.
Press CMD+something and then it loads the stereo output on all speakers AULab config.
Press CMD+somethingelse and it loads the 5.1 output on all speakers AULab config.
...just an idea. What would be more clever is if you could somehow autoswitch depending on what type of audio you're playing.
So I tried my idea and it didn't work at first but I got it going perfect by doing this. I had to create 3 aggregate devices and 3 AULab Audio Engines. They all output through my SoundFlower output which has volume control.....sweet!!! Configuring Aggregate Sound Devices (Audio/Midi Setup)
1. Create 3 aggregate devices CMD + SHIFT + "A" and name them "Speakers 1&2", "Speakers 3&4", "Speakers 5&6".
2. Select Speakers 1&2 under the properties bob and then click configure device.
3. Check the first Output device
4. Check the SoundFlower(16ch) Output device
5. Click Done
6. Click configure speakers
7. Select Stereo and check Stream 1 & 2 ONLY
8. Select Speakers 3&4 under the properties bob and then click configure device.
9. Check the second output device
10. Check the SoundFlower(16ch) Output device
11. Click Done
12. Click configure speakers
13. Select Stereo and check Stream 1 & 2 ONLY
14. Select Speakers 5&6 under the properties bob and then click configure device.
15. Check the third output device
16. Check the SoundFlower(16ch) Output device
17. Click Done
18. Click configure speakers
19. Select Stereo and check Stream 1 & 2 ONLY
20. Select SoundFlower(16ch) under the properties bob.
21. Click configure speakers
22. Select Multi-channel 5.1
23. Configure speakers 6, 3, 5, 4, 2, 1 going clockwise. ( You may need to play with this as each sound card is different).
24. Click Done
25. Select Default Output bob and change it to SoundFlower(16ch) Configuring AULab Audio Engines
1. Create an AULab Document Configuration Association
2. Create 1 Output and 1 Input
3. Speaker 1&2 from the drop down list.
4. Set the Input speaker to 1&2 and the output speaker to 1&2
5. Create an AULab Document Configuration Association
6. Create 1 Output and 1 Input
7. Speaker 3&4 from the drop down list.
8. Set the Input speaker to 1&2 and the output speaker to 3&4
9. Create an AULab Document Configuration Association
10. Create 1 Output and 1 Input
11. Speaker 5&6 from the drop down list.
12. Set the Input speaker to 1&2 and the output speaker to 5&6
This only works when an audio source has 6 streams...i.e a movie with 6 audio channels etc.