anyc / snd-bcd2000

Linux driver for the Behringer BCD2000 DJ controller
GNU General Public License v2.0
24 stars 5 forks source link

Split audio output? and other notes #6

Open starfishmod opened 9 years ago

starfishmod commented 9 years ago

Thanks for building this driver. I'm using the Audio version with great success :) I did the following in to get dkms to work (as root)

mkdir /usr/src/snd-bcd2000-0.01 cd /usr/src/snd-bcd2000-0.01 cp -R //snd-bcd2000/* . dkms add -m snd-bcd2000 -v 0.01 dkms build -m snd-bcd2000 -v 0.01 dkms install -m snd-bcd2000 -v 0.01

I then had to add load-module module-alsa-sink device=hw:1,0 to the end of /etc/pulse/default.pa to get it to show.

However I noticed that it makes the device appear as one device with 4 outs (front left, front right, rear left and rear right). It looks like the front is the main outs and the rear is the headphone out.

Could this be split into 2 stereo channels instead? edit: correction on paths

anyc commented 9 years ago

I guess it would not be a trivial change as the current state reflects the specific USB protocol: all channels are interleaved in a packet. I'm currently working on another project and the kernel maintainers suggested that I merge the driver into the general usb audio driver, so I guess it would take some time until I can try this. However, I remember that ALSA should be able to split channels, maybe this helps for now: http://alsa.opensrc.org/Splitting_front_and_rear_outputs_.asoundrc ?

starfishmod commented 9 years ago

Thanks for this I was unaware of this ability. It is a pity that ALSA can't do this automagically as I would imagine that interleaving would be common on multi-track USB devices. I will try it and let you know.

eMPee584 commented 8 years ago

so what ever happened in the meantime? any progress? or does it work just good enough the way it is?