Skip to contentSkip to conversation

SPDIF and cs46xx ?

DISCUSSION Peter Heatwole 2 participants 2 messages Mar 16, 2003 – Mar 17, 2003

lore
Share & tools
lore
#0 lore raw
Quoted 3 lines · Benny Sjostrand

- The magic status bit's, I'm not sure if the current implementation in the cs46xx that set's the IEC958 is correct. I have not found any way to verify

If I may ask, what are the "magic status bits"? Are they the same as the
AES bits? Speaking of which, what's the use of the AES# bits? I looked on the internet but couldn't find what these bits mean.

If AES# aren't the same as the magic bits, is there anything in there I can try playing with?

(don't think you need these, but hey)

xine with dolby passthru: iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2
ac3dec with -C:   iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2
ac3dec with -P:   iec958:AES0=0x87,AES1=0x0,AES2=0x0,AES3=0x0

On a sidenote, ac3dec never makes the clicking noise; only xine does that.
But, I noticed that ac3dec always makes a click when I first start playing. Could this be a result of the different AES# configuration?

BTW, I am using a Cambridge Soundworks DTT2500 digital receiver. Another
user suggested switching to digital input _after_ starting the stream. Well, I can't select digital or analog, but I can select analog or auto, so I leave it on auto.
This done, I tried playing a stream in xine _before_ turning the receiver on,
I don't get the clicking sound. The only sounds I hear then are a click/hiss when I change chapters on the DVD.

Question: does the first bit of the stream have to "setup" the receiver to
receive an AC3 stream? Some sort of "header"?

-- Peter Heatwole
"Murphy was just a well known pessimist."

-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en

#1 lore raw
Quoted 7 lines

If I may ask, what are the "magic status bits"? Are they the same as the
AES bits? Speaking of which, what's the use of the AES# bits? I looked on the internet but couldn't find what these bits mean.

Sorry if I've made any confusion. What I meant was the IEC958 status bits, (AES0-AES3) one posible reason why it dont works could be that code in the cs46xx driver that update the status bits in not 100% correct.

Quoted 6 lines

On a sidenote, ac3dec never makes the clicking noise; only xine does that.
But, I noticed that ac3dec always makes a click when I first start playing. Could this be a result of the different AES# configuration?

What I know about the AES# configuration is that the _bit_ that really matters is the bit that says that the stream is digital data, and not audio.

/Benny

-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en