All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benny Sjostrand <gorm@cucumelo.org>
To: Gregoire Favre <greg@ulima.unil.ch>
Cc: James Courtier-Dutton <James@superbug.demon.co.uk>,
	alsa-devel@lists.sourceforge.net
Subject: Re: How to put 16bit none audio PCM data stream into a 32bit none audio S/P-DIF transport stream?
Date: Tue, 15 Apr 2003 00:20:14 +0200	[thread overview]
Message-ID: <3E9B341E.4040200@cucumelo.org> (raw)
In-Reply-To: 20030414190615.GA22184@ulima.unil.ch

>
>
>0.9.20 with lots of different DVD tested...
>  
>
Well, I supose I should upgrade -;)

>
>So, I'll take Star Wars II for my new test ;-)
>
Just in case that something differs between DVD's, you never know ... 
(but probably dont care at all)

>ac3dec from_beyond_the_edge_44k_256kbps.ac3 --device=iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2
>5.1 Mode 44.1 KHz 256 kbps Complete Main Audio Service
>Using PCM device 'iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2'
>  
>
So lets try changing thoose values to:
AES0=0x2,AES1=0x0,AES2=0x82,AE3=0x2

>ALSA ../../alsa-kernel/pci/cs46xx/dsp_spos_scb_lib.c:1241: IEC958 pass through
>ALSA ../../alsa-kernel/pci/cs46xx/dsp_spos_scb_lib.c:1306: dsp_spos: creating SRC "SrcTask_SCB0"
>ALSA ../../alsa-kernel/pci/cs46xx/dsp_spos_scb_lib.c:597: dsp_spos: setting SrcTask_SCB0 rate to 48000
>ALSA ../../alsa-kernel/pci/cs46xx/dsp_spos_scb_lib.c:290: dsp_spos: creating SCB <SrcTask_SCB0>
>ALSA ../../alsa-kernel/pci/cs46xx/dsp_spos_scb_lib.c:1331: dsp_spos: creating PCM "PCMReader_SCB0" (5)
>ALSA ../../alsa-kernel/pci/cs46xx/dsp_spos_scb_lib.c:290: dsp_spos: creating SCB <PCMReader_SCB0>
>ALSA ../../alsa-kernel/pci/cs46xx/cs46xx_lib.c:1001: period_size (2048), periods (32) buffer_size(65536)
>ALSA ../../alsa-kernel/pci/cs46xx/cs46xx_lib.c:2179: setting SP_SPDOUT_CSUV register (02003002)
>ALSA ../../alsa-kernel/pci/cs46xx/cs46xx_lib.c:2179: setting SP_SPDOUT_CSUV register (00003087)
>
Last value look's complety wrong (00003087), and (02003002) is suspect, 
... (probably my fault ...)

>Thank you very much,
>
>  
>
You're welcome!

Could you just test the new AES0-3.... values, and sendme the logs 
again. (check the SP_SPDOUT_CSUV in logs outputs, i would like it to 
have 0x02820302 value)

/Benny



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

  reply	other threads:[~2003-04-14 22:20 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-08 14:02 How to put 16bit none audio PCM data stream into a 32bit none audio S/P-DIF transport stream? Gregoire Favre
2003-04-08 14:28 ` Paul Davis
2003-04-08 15:50   ` Takashi Iwai
2003-04-08 16:42     ` Gregoire Favre
2003-04-08 20:30       ` James Courtier-Dutton
2003-04-08 20:44         ` Gregoire Favre
2003-04-09 10:34         ` James Courtier-Dutton
2003-04-09 11:06           ` Gregoire Favre
2003-04-09 16:50             ` James Courtier-Dutton
2003-04-09 17:58               ` Gregoire Favre
2003-04-10 17:43               ` James Courtier-Dutton
2003-04-08 21:39     ` Benny Sjostrand
2003-04-08 20:55       ` Gregoire Favre
2003-04-08 21:28         ` James Courtier-Dutton
2003-04-08 21:55           ` Gregoire Favre
2003-04-09  6:59           ` Benny Sjostrand
2003-04-09  8:28             ` Gregoire Favre
2003-04-09 11:09               ` Takashi Iwai
2003-04-09 11:43                 ` Gregoire Favre
2003-04-09 13:11                   ` Takashi Iwai
2003-04-09 17:58                     ` Gregoire Favre
2003-04-10 11:21                     ` James Courtier-Dutton
2003-04-10 11:26                       ` Gregoire Favre
2003-04-13 11:41                         ` Benny Sjostrand
2003-04-13 17:05                           ` Gregoire Favre
2003-04-13 18:21                             ` Benny Sjostrand
2003-04-13 18:30                               ` Gregoire Favre
2003-04-13 23:23                                 ` Benny Sjostrand
2003-04-14 19:06                                   ` Gregoire Favre
2003-04-14 22:20                                     ` Benny Sjostrand [this message]
2003-04-14 21:27                                       ` Gregoire Favre
2003-04-14 23:00                                         ` Benny Sjostrand
2003-04-14 22:14                                           ` Gregoire Favre
2003-04-09 21:17               ` Benny Sjostrand
2003-04-09 20:38                 ` Gregoire Favre
  -- strict thread matches above, loose matches on Subject: below --
2003-04-08 23:33 Peter Heatwole

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E9B341E.4040200@cucumelo.org \
    --to=gorm@cucumelo.org \
    --cc=James@superbug.demon.co.uk \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=greg@ulima.unil.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.