I used the Blueman BT GUI to pair with the speaker and headphones and set them to trusted.
I created a Bluetooth zone in MC20 on the Pi and changed the sound device to pulse [ALSA]
DSP was untouched. Pulse I think is automatically downsampling everything to 2ch 44.1.
I noticed a couple tracks were just playing silent, so it might be a good idea to convert everything in the DSP to 2ch 44.1. (for Bluetooth only - The USB DAC I have will handle anything upto 24bit/96k on the Pi)
Edit: It looks like the Pi can ALMOST handle transcoding 2ch SACD ISO to 2ch PCM. It's using 65>80% CPU and pausing for 8-10 seconds to buffer every 32 sec.
EDIT:
The bad news with the way I this setup is you cant use the HDMI or lineout for audio, however I can now get BT and the HDMI or Line-out to work. Unplug the BT dongle and it will then switch between lineout or HDMI. Plug the BT dongle in and it will also work again.
I had to enable hdmi_drive=2 in the /boot/config.txt
Here's my /boot/config.txt
Ive changed a couple other things in here:
This changes console resolution to standard 1080p
framebuffer_width=1920
framebuffer_height=1080
This forces HDMI to 1080p 60hz even with no monitor attached.
Which means if you need to plug it in to a monitor or TV after running in headless mode, it wont be in a minicule unusuable resolution.
BTW you need to boot into gui mode for some of the features to work in headless mode.
hdmi_group=2
hdmi_mode=82
I believe because of the above setting I also need to set this to enable HDMI audio
hdmi_drive=2
/boot/config.txt
# For more options and information see
# http://www.raspberrypi.org/documentation/configuration/config-txt.md
# Some settings may impact device functionality. See link above for details
# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
disable_overscan=1
# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16
# uncomment to force a console size. By default it will be display's size minus
# overscan.
framebuffer_width=1920
framebuffer_height=1080
# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1
# uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group=2
hdmi_mode=82
# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
hdmi_drive=2
# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4
# uncomment for composite PAL
#sdtv_mode=2
#uncomment to overclock the arm. 700 MHz is the default.
arm_freq=1000
# NOOBS Auto-generated Settings:
hdmi_force_hotplug=1
config_hdmi_boost=4
#overscan_left=24
# NOOBS Auto-generated Settings:
hdmi_force_hotplug=1
config_hdmi_boost=4
#overscan_left=24
#overscan_right=24
#overscan_top=16
#overscan_bottom=16
disable_overscan=1
core_freq=500
sdram_freq=500
over_voltage=2
framebuffer_depth=32
framebuffer_ignore_alpha=1
USB DAC works fine and you can select the USB DAC as an output device from JRemote just fine.
The built in Pi lineout DAC isn't that great (its very noisy and has a lot of hiss if you listen on headphones)
edit got HDMI audio working as per above
I'll play some more and see if I can get HDMI to work though I'll possibly need some assistance and guidance on that.I'm sending audio to 2 zones on the Pi at the moment. 1 zone using BT which is transcoding a 2ch SACD ISO to BT and the other zone a FLAC to the USB DAC @ 96/24. (this is being transcoded on the HTPC from the library on the HTPC and sent to the 2 zones on the Pi)
To get it start in MC20 in headless mode I just followed this guide by Mwillems: Mwillems doesn't mention the detail of this in his guide, but you need to create a script. I made a couple minor modifications.
I created a MC20start.sh script under /etc and made it executable with chmod +x MC20start.sh
The MC20start.sh contain Mwillems script:
export USER=pi
ps -e | grep tightvnc || vncserver :0 -localhost -geometry 1920x1080
export DISPLAY=':0'
ps -e | grep mediacenter || mediacenter20
I also added this to crontab using crontab -e
@reboot /etc/MC20start.sh
Here's Mwillems full directions on how to make MC20 boot into gui mode.
http://yabb.jriver.com/interact/index.php?topic=91227.0