Skip to contentSkip to conversation

Creative Mp3+ USB and SPDIF passthrough

DISCUSSION Lars Hagström 3 participants 5 messages Nov 11, 2003 – Nov 12, 2003

lore
Share & tools
lore
#0 lore raw

Hi,

I've sent this mail once before, but since I've received no response I send it again (only this once, I wont keep spamming...).

I've scoured the net, the alsa-user list and this mailing list for information about how to enable AC3/DTS passthrough on the S/PDIF connector on my new Creative Mp3+ USB box.
The only thing I've been able to find is a vague reference saying something that spdif passthrough is not available in usb-audio. Is this the truth? If it is the truth, will it remain so forever, or is anyone working on it?
If it is not true, what am I doing wrong? I can get regular stereo output on the digital out. I've got the box set to digital only, which I've worked out is a requirement in windows. I have tried playing stuff both with "aplay -Dspdif" (is this correct?) and with "mplayer -ac hwac3".

Would be very grateful for any help, since the passthrough was really the reason I bought the gadget, and I may be returning it if it's not going to work now or any time soon...

If someone is working on support for this I would be more than willing to help in testing it. I can not volunteer to actually develop it myself, since I've never worked on anything thats even closely related to this stuff. But I will gladly help anyone who's trying!

Lars

-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/

#1 lore raw

--- Lars_Hagström <[email protected]> schrieb: > Hi,

Quoted 17 lines

I've sent this mail once before, but since I've received no response I
send it again (only this once, I wont keep spamming...).

I've scoured the net, the alsa-user list and this mailing list for
information about how to enable AC3/DTS passthrough on the S/PDIF
connector on my new Creative Mp3+ USB box.
The only thing I've been able to find is a vague reference saying
something that spdif passthrough is not available in usb-audio. Is this
the truth? If it is the truth, will it remain so forever, or is anyone
working on it?

Quoted 8 lines

If it is not true, what am I doing wrong? I can get regular stereo
output on the digital out. I've got the box set to digital only, which
I've worked out is a requirement in windows. I have tried playing stuff
both with "aplay -Dspdif" (is this correct?) and with "mplayer -ac hwac3".

Its not true:
you can of course output to (input from) spdif on usb-devices. I think it makes no difference for the driver wether the hardware outputs to (inputs from) a DAC (ADC) or SPDIF.

I don't know anything about your device:
maybe the driver isn't yet prepared for that feature? Maybe some (device/driver) documentation is missing?

Quoted 7 lines

Would be very grateful for any help, since the passthrough was really
the reason I bought the gadget, and I may be returning it if it's not
going to work now or any time soon...

Quoted 9 lines

If someone is working on support for this I would be more than willing
to help in testing it. I can not volunteer to actually develop it
myself, since I've never worked on anything thats even closely related
to this stuff. But I will gladly help anyone who's trying!

Karsten

__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de

-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/

#2 lore raw
In reply to Lars Hagström
Quoted 5 lines · On Tue, 11 Nov 2003, [ISO-8859-1] Lars Hagström wrote:

Hi,

I've sent this mail once before, but since I've received no response I send it again (only this once, I wont keep spamming...).

Quoted 11 lines

I've scoured the net, the alsa-user list and this mailing list for information about how to enable AC3/DTS passthrough on the S/PDIF connector on my new Creative Mp3+ USB box.
The only thing I've been able to find is a vague reference saying something that spdif passthrough is not available in usb-audio. Is this the truth? If it is the truth, will it remain so forever, or is anyone working on it?
If it is not true, what am I doing wrong? I can get regular stereo output on the digital out. I've got the box set to digital only, which I've worked out is a requirement in windows. I have tried playing stuff both with "aplay -Dspdif" (is this correct?) and with "mplayer -ac hwac3".

You have wrong tests. Get alsa-tools, compile ac3dec and try this command:

ac3dec -Dhw:0,0 -C <your_ac3_file>

The volumes (probably PCM and Master) should be set to 0dB (you need probably trial and error path to determine the good values), otherwise the stream will be modified and the receiver will not understand. Simply, you need bit-to-bit copy without any modification of outgoing samples.

Anyway, it might be possible, that your receiver does rely on the non-audio bit set in the s/pdif protocol. In this case, we cannot help you until someone discover, how this settings can be applied to your hardware.

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs

-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/

#3 lore raw

Okay! Two responses, I'll try them as soon as I can!

Lars

Quoted 42 lines · Jaroslav Kysela
Quoted 5 lines · On Tue, 11 Nov 2003, [ISO-8859-1] Lars Hagström wrote:

Hi,

I've sent this mail once before, but since I've received no response I send it again (only this once, I wont keep spamming...).

Quoted 11 lines

I've scoured the net, the alsa-user list and this mailing list for information about how to enable AC3/DTS passthrough on the S/PDIF connector on my new Creative Mp3+ USB box.
The only thing I've been able to find is a vague reference saying something that spdif passthrough is not available in usb-audio. Is this the truth? If it is the truth, will it remain so forever, or is anyone working on it?
If it is not true, what am I doing wrong? I can get regular stereo output on the digital out. I've got the box set to digital only, which I've worked out is a requirement in windows. I have tried playing stuff both with "aplay -Dspdif" (is this correct?) and with "mplayer -ac hwac3".

You have wrong tests. Get alsa-tools, compile ac3dec and try this command:

ac3dec -Dhw:0,0 -C <your_ac3_file>

The volumes (probably PCM and Master) should be set to 0dB (you need probably trial and error path to determine the good values), otherwise the stream will be modified and the receiver will not understand. Simply, you need bit-to-bit copy without any modification of outgoing samples.

Anyway, it might be possible, that your receiver does rely on the non-audio bit set in the s/pdif protocol. In this case, we cannot help you until someone discover, how this settings can be applied to your hardware.

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs

Quoted 9 lines

-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Alsa-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/

#4 lore raw
In reply to Jaroslav Kysela

Hi,

You were right of course. It works beautifully. Thank you very much!
So, just for the record, so that anyone else out there trying to get this device to work in the future will be able to find it:

The Creative Mp3+ USB device output works completely under Alsa (I've not tried input).
To get ac3 passthrough you need to get an ac3 file and use
ac3dec -Dhw:0,0 -C <your_ac3_file>
You can play media with ac3 in mplayer with the oss compatibility layer (mplayers alsa driver does not seem to be able to passthrough) using:
mplayer -ao oss:/dev/dsp -ac hwac3 <your file>

Lars

Quoted 4 lines

You have wrong tests. Get alsa-tools, compile ac3dec and try this command:

ac3dec -Dhw:0,0 -C <your_ac3_file>

Quoted 9 lines

The volumes (probably PCM and Master) should be set to 0dB (you need probably trial and error path to determine the good values), otherwise the stream will be modified and the receiver will not understand. Simply, you need bit-to-bit copy without any modification of outgoing samples.

Anyway, it might be possible, that your receiver does rely on the non-audio bit set in the s/pdif protocol. In this case, we cannot help you until someone discover, how this settings can be applied to your hardware.

-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/