Steve I think you've made an excellent choice going with Bass, I love the new music engine. No codecs to install, cross-fading etc all make for a much better music portion of MP.
I've always made a one line mod to the previous code to allow playback through a second sound card, for those who've done similar and want to do the same with the new engine place the following before the call to Bass.BASS_Init in MediaPortal.Player.BassAudioEngine:
Then change
to
finally run the code, check the log file for the index of the device you want to use and replace 'Sonica' above with the correct description, recompile and you'll be all set.
Note: The above is for people who don't mind fiddling with the code only, don't bug Steve about it or expect to get control over volume (I'm more than happy to control mine via my amp's remote) etc.
Looking forward to seeing what other nice things Steve has planned for us .
I've always made a one line mod to the previous code to allow playback through a second sound card, for those who've done similar and want to do the same with the new engine place the following before the call to Bass.BASS_Init in MediaPortal.Player.BassAudioEngine:
Code:
int device = -1;
for(int index = 0; index <= Bass.BASS_GetDeviceCount(); index++)
{
string description = Bass.BASS_GetDeviceDescription(index);
Log.Write("Device: {0},'{1}'", index, description);
if (string.Compare(description, "Sonica", true) == 0)
{
device = index;
break;
}
}
Then change
Code:
if (Bass.BASS_Init(-1, 44100, BASSInit.BASS_DEVICE_DEFAULT | BASSInit.BASS_DEVICE_LATENCY, 0, null))
{
...
to
Code:
if (Bass.BASS_Init(device, 44100, BASSInit.BASS_DEVICE_DEFAULT | BASSInit.BASS_DEVICE_LATENCY, 0, null))
{
...
finally run the code, check the log file for the index of the device you want to use and replace 'Sonica' above with the correct description, recompile and you'll be all set.
Note: The above is for people who don't mind fiddling with the code only, don't bug Steve about it or expect to get control over volume (I'm more than happy to control mine via my amp's remote) etc.
Looking forward to seeing what other nice things Steve has planned for us .