Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split audio output? and other notes #6

Open
starfishmod opened this issue Mar 31, 2015 · 3 comments
Open

Split audio output? and other notes #6

starfishmod opened this issue Mar 31, 2015 · 3 comments

Comments

@starfishmod
Copy link

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

@starfishmod starfishmod changed the title Split audio output? ad other notes Split audio output? and other notes Mar 31, 2015
@anyc
Copy link
Owner

anyc commented Mar 31, 2015

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
Copy link
Author

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants