Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [ALSA - driver 0001651]: ac3 passthrough not really work with ac3dec
@ 2005-12-14  8:44 bugtrack
  0 siblings, 0 replies; 10+ messages in thread
From: bugtrack @ 2005-12-14  8:44 UTC (permalink / raw)
  To: alsa-devel


The following issue has been SUBMITTED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1651> 
======================================================================
Reported By:                tycordinal
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   1651
Category:                   PCI - emu10k1
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Distribution:               
Kernel Version:             2.4.31
======================================================================
Date Submitted:             12-14-2005 09:44 CET
Last Modified:              12-14-2005 09:44 CET
======================================================================
Summary:                    ac3 passthrough not really work with ac3dec
Description: 
using the following from alsa-tools to play ac3 as passthrough:
ac3dec -C oneac3file.ac3 


the ac3dec is able to "open" the spdif device "iec958:{AES...}" and did
not report any error and keep on running, but the ac3 decoder (creative
ddts-100), connected to the "spdif output" from the card, did not switch
to dolby mode, and no sound come out from speaker.

one interesting thing is, when I run this:
ac3dec -6 oneac3file.ac3 

As this is software decoding to PCM, I can hear the left/right channels
from the front stereo jacket, as they also output on the "spdif output".
Therefore, I believe the "spdif output" on the card is indeed working,
just that for this card we might need to write some different AES command
to open the spdif output?

I am not sure if the alsa config files in /usr/share/alsa have to change
or maybe some "switches" in emu10k1_main.c needs to apply for the "spdif
output" to  really behave as "iec958" device to passthough ac3 stream to
external decoder.

Thanks.





======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
12-14-05 09:44 tycordinal     New Issue                                    
12-14-05 09:44 tycordinal     Kernel Version            => 2.4.31          
======================================================================




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ALSA - driver 0001651]: ac3 passthrough not really work with ac3dec
@ 2005-12-14  9:05 bugtrack
  0 siblings, 0 replies; 10+ messages in thread
From: bugtrack @ 2005-12-14  9:05 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1651> 
======================================================================
Reported By:                tycordinal
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   1651
Category:                   PCI - emu10k1
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Distribution:               
Kernel Version:             2.4.31
======================================================================
Date Submitted:             12-14-2005 09:44 CET
Last Modified:              12-14-2005 10:05 CET
======================================================================
Summary:                    ac3 passthrough not really work with ac3dec
Description: 
using the following from alsa-tools to play ac3 as passthrough:
ac3dec -C oneac3file.ac3 


the ac3dec is able to "open" the spdif device "iec958:{AES...}" and did
not report any error and keep on running, but the ac3 decoder (creative
ddts-100), connected to the "spdif output" from the card, did not switch
to dolby mode, and no sound come out from speaker.

one interesting thing is, when I run this:
ac3dec -6 oneac3file.ac3 

As this is software decoding to PCM, I can hear the left/right channels
from the front stereo jacket, as they also output on the "spdif output".
Therefore, I believe the "spdif output" on the card is indeed working,
just that for this card we might need to write some different AES command
to open the spdif output?

I am not sure if the alsa config files in /usr/share/alsa have to change
or maybe some "switches" in emu10k1_main.c needs to apply for the "spdif
output" to  really behave as "iec958" device to passthough ac3 stream to
external decoder.

Thanks.





======================================================================

----------------------------------------------------------------------
 tycordinal - 12-14-05 10:05 
----------------------------------------------------------------------
output for : ac3dec -C oneac3file.ac3 

Using PCM device 'plug:iec958:{AES0 0x2 AES1 0x82 AES2 0x0 AES3 0x2}'

Issue History
Date Modified  Username       Field                    Change              
======================================================================
12-14-05 09:44 tycordinal     New Issue                                    
12-14-05 09:44 tycordinal     Kernel Version            => 2.4.31          
12-14-05 10:05 tycordinal     Note Added: 0007031                          
======================================================================




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ALSA - driver 0001651]: ac3 passthrough not really work with ac3dec
@ 2005-12-14  9:15 bugtrack
  0 siblings, 0 replies; 10+ messages in thread
From: bugtrack @ 2005-12-14  9:15 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1651> 
======================================================================
Reported By:                tycordinal
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   1651
Category:                   PCI - emu10k1
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Distribution:               
Kernel Version:             2.4.31
======================================================================
Date Submitted:             12-14-2005 09:44 CET
Last Modified:              12-14-2005 10:15 CET
======================================================================
Summary:                    ac3 passthrough not really work with ac3dec
Description: 
using the following from alsa-tools to play ac3 as passthrough:
ac3dec -C oneac3file.ac3 


the ac3dec is able to "open" the spdif device "iec958:{AES...}" and did
not report any error and keep on running, but the ac3 decoder (creative
ddts-100), connected to the "spdif output" from the card, did not switch
to dolby mode, and no sound come out from speaker.

one interesting thing is, when I run this:
ac3dec -6 oneac3file.ac3 

As this is software decoding to PCM, I can hear the left/right channels
from the front stereo jacket, as they also output on the "spdif output".
Therefore, I believe the "spdif output" on the card is indeed working,
just that for this card we might need to write some different AES command
to open the spdif output?

I am not sure if the alsa config files in /usr/share/alsa have to change
or maybe some "switches" in emu10k1_main.c needs to apply for the "spdif
output" to  really behave as "iec958" device to passthough ac3 stream to
external decoder.

Thanks.





======================================================================

----------------------------------------------------------------------
 tycordinal - 12-14-05 10:05 
----------------------------------------------------------------------
output for : ac3dec -C oneac3file.ac3 

Using PCM device 'plug:iec958:{AES0 0x2 AES1 0x82 AES2 0x0 AES3 0x2}'

----------------------------------------------------------------------
 tycordinal - 12-14-05 10:15 
----------------------------------------------------------------------
I use alsamixer to monitor ac3dec action.

ac3dec -C oneac3file.ac3
When ac3dec is NOT running:
IEC958 Optical Raw: MM (Muted?)

when ac3dec IS running:
IEC958 Optical Raw: OO (opened? / not muted?)

when it stopped:
IEC958 Optical Raw: MM (Muted?)


Is this the reason that ac3dec cannot do ac3 passthrough ?


when ac3dec do software decode, IEC958 Optical Raw STAYS as MM , and I can
hear the left/right channels of that ac3 file, so I believe the spdif
output is working, just that this time the ac3dec software have to change
something (or NOT to change something :) .

Issue History
Date Modified  Username       Field                    Change              
======================================================================
12-14-05 09:44 tycordinal     New Issue                                    
12-14-05 09:44 tycordinal     Kernel Version            => 2.4.31          
12-14-05 10:05 tycordinal     Note Added: 0007031                          
12-14-05 10:15 tycordinal     Note Added: 0007032                          
======================================================================




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ALSA - driver 0001651]: ac3 passthrough not really work with ac3dec
@ 2005-12-14  9:16 bugtrack
  0 siblings, 0 replies; 10+ messages in thread
From: bugtrack @ 2005-12-14  9:16 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1651> 
======================================================================
Reported By:                tycordinal
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   1651
Category:                   PCI - emu10k1
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Distribution:               
Kernel Version:             2.4.31
======================================================================
Date Submitted:             12-14-2005 09:44 CET
Last Modified:              12-14-2005 10:16 CET
======================================================================
Summary:                    ac3 passthrough not really work with ac3dec
Description: 
using the following from alsa-tools to play ac3 as passthrough:
ac3dec -C oneac3file.ac3 


the ac3dec is able to "open" the spdif device "iec958:{AES...}" and did
not report any error and keep on running, but the ac3 decoder (creative
ddts-100), connected to the "spdif output" from the card, did not switch
to dolby mode, and no sound come out from speaker.

one interesting thing is, when I run this:
ac3dec -6 oneac3file.ac3 

As this is software decoding to PCM, I can hear the left/right channels
from the front stereo jacket, as they also output on the "spdif output".
Therefore, I believe the "spdif output" on the card is indeed working,
just that for this card we might need to write some different AES command
to open the spdif output?

I am not sure if the alsa config files in /usr/share/alsa have to change
or maybe some "switches" in emu10k1_main.c needs to apply for the "spdif
output" to  really behave as "iec958" device to passthough ac3 stream to
external decoder.

Thanks.





======================================================================

----------------------------------------------------------------------
 tycordinal - 12-14-05 10:15 
----------------------------------------------------------------------
I use alsamixer to monitor ac3dec action.

ac3dec -C oneac3file.ac3
When ac3dec is NOT running:
IEC958 Optical Raw: MM (Muted?)

when ac3dec IS running:
IEC958 Optical Raw: OO (opened? / not muted?)

when it stopped:
IEC958 Optical Raw: MM (Muted?)


Is this the reason that ac3dec cannot do ac3 passthrough ?


when ac3dec do software decode, IEC958 Optical Raw STAYS as MM , and I can
hear the left/right channels of that ac3 file, so I believe the spdif
output is working, just that this time the ac3dec software have to change
something (or NOT to change something :) .

----------------------------------------------------------------------
 tycordinal - 12-14-05 10:16 
----------------------------------------------------------------------
ac3dec to do software decoding:


ac3dec -6 thatac3file.ac3
5.1 Mode 48.0 KHz 448 kbps Complete Main Audio Service
Using PCM device 'plug:surround51'

Issue History
Date Modified  Username       Field                    Change              
======================================================================
12-14-05 09:44 tycordinal     New Issue                                    
12-14-05 09:44 tycordinal     Kernel Version            => 2.4.31          
12-14-05 10:05 tycordinal     Note Added: 0007031                          
12-14-05 10:15 tycordinal     Note Added: 0007032                          
12-14-05 10:16 tycordinal     Note Added: 0007033                          
======================================================================




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ALSA - driver 0001651]: ac3 passthrough not really work with ac3dec
@ 2005-12-14  9:30 bugtrack
  0 siblings, 0 replies; 10+ messages in thread
From: bugtrack @ 2005-12-14  9:30 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1651> 
======================================================================
Reported By:                tycordinal
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   1651
Category:                   PCI - emu10k1
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Distribution:               
Kernel Version:             2.4.31
======================================================================
Date Submitted:             12-14-2005 09:44 CET
Last Modified:              12-14-2005 10:30 CET
======================================================================
Summary:                    ac3 passthrough not really work with ac3dec
Description: 
using the following from alsa-tools to play ac3 as passthrough:
ac3dec -C oneac3file.ac3 


the ac3dec is able to "open" the spdif device "iec958:{AES...}" and did
not report any error and keep on running, but the ac3 decoder (creative
ddts-100), connected to the "spdif output" from the card, did not switch
to dolby mode, and no sound come out from speaker.

one interesting thing is, when I run this:
ac3dec -6 oneac3file.ac3 

As this is software decoding to PCM, I can hear the left/right channels
from the front stereo jacket, as they also output on the "spdif output".
Therefore, I believe the "spdif output" on the card is indeed working,
just that for this card we might need to write some different AES command
to open the spdif output?

I am not sure if the alsa config files in /usr/share/alsa have to change
or maybe some "switches" in emu10k1_main.c needs to apply for the "spdif
output" to  really behave as "iec958" device to passthough ac3 stream to
external decoder.

Thanks.





======================================================================

----------------------------------------------------------------------
 tycordinal - 12-14-05 10:16 
----------------------------------------------------------------------
ac3dec to do software decoding:


ac3dec -6 thatac3file.ac3
5.1 Mode 48.0 KHz 448 kbps Complete Main Audio Service
Using PCM device 'plug:surround51'

----------------------------------------------------------------------
 pzad - 12-14-05 10:30 
----------------------------------------------------------------------
IEC958 Optical Raw - this looks correct.

Problem can be with "Audigy Analog/Digital Output Jack".

Looks like Audigy 4 works diffrently as others Audigy *.

Try to find file /usr/share/alsa/conf/cards/Audigy2.conf.

In this file find this

{
     name "Audigy Analog/Digital Output Jack"
     lock true
     preserve true
     value 1
} 

and change it to

{
     name "Audigy Analog/Digital Output Jack"
     lock true
     preserve true
     value 0
}

Issue History
Date Modified  Username       Field                    Change              
======================================================================
12-14-05 09:44 tycordinal     New Issue                                    
12-14-05 09:44 tycordinal     Kernel Version            => 2.4.31          
12-14-05 10:05 tycordinal     Note Added: 0007031                          
12-14-05 10:15 tycordinal     Note Added: 0007032                          
12-14-05 10:16 tycordinal     Note Added: 0007033                          
12-14-05 10:30 pzad           Note Added: 0007034                          
======================================================================




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ALSA - driver 0001651]: ac3 passthrough not really work with ac3dec
@ 2005-12-14  9:31 bugtrack
  0 siblings, 0 replies; 10+ messages in thread
From: bugtrack @ 2005-12-14  9:31 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1651> 
======================================================================
Reported By:                tycordinal
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   1651
Category:                   PCI - emu10k1
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Distribution:               
Kernel Version:             2.4.31
======================================================================
Date Submitted:             12-14-2005 09:44 CET
Last Modified:              12-14-2005 10:31 CET
======================================================================
Summary:                    ac3 passthrough not really work with ac3dec
Description: 
using the following from alsa-tools to play ac3 as passthrough:
ac3dec -C oneac3file.ac3 


the ac3dec is able to "open" the spdif device "iec958:{AES...}" and did
not report any error and keep on running, but the ac3 decoder (creative
ddts-100), connected to the "spdif output" from the card, did not switch
to dolby mode, and no sound come out from speaker.

one interesting thing is, when I run this:
ac3dec -6 oneac3file.ac3 

As this is software decoding to PCM, I can hear the left/right channels
from the front stereo jacket, as they also output on the "spdif output".
Therefore, I believe the "spdif output" on the card is indeed working,
just that for this card we might need to write some different AES command
to open the spdif output?

I am not sure if the alsa config files in /usr/share/alsa have to change
or maybe some "switches" in emu10k1_main.c needs to apply for the "spdif
output" to  really behave as "iec958" device to passthough ac3 stream to
external decoder.

Thanks.





======================================================================

----------------------------------------------------------------------
 pzad - 12-14-05 10:30 
----------------------------------------------------------------------
IEC958 Optical Raw - this looks correct.

Problem can be with "Audigy Analog/Digital Output Jack".

Looks like Audigy 4 works diffrently as others Audigy *.

Try to find file /usr/share/alsa/conf/cards/Audigy2.conf.

In this file find this

{
     name "Audigy Analog/Digital Output Jack"
     lock true
     preserve true
     value 1
} 

and change it to

{
     name "Audigy Analog/Digital Output Jack"
     lock true
     preserve true
     value 0
}

----------------------------------------------------------------------
 tycordinal - 12-14-05 10:31 
----------------------------------------------------------------------
interesting things:

when doing ac3dec -6 oneac3file.ac3 ,
there is sound coming out from the spdif output, and when i use alsamixer
to make "IEC958 Optical Raw" from "MM" to become "OO", the sound stop
coming out. When I make it as "MM", the sound come back again. In this
case, alsamixer can toggled the sound output, if spdif output is playing
digital stereo.

when doing ac3dec -C oneac3file.ac3,
alsamixer show "IEC958 Optical Raw" as "OO" , and there is no dolby light
on the decoder (creative DDTS-100). when I make it "MM", there is still no
dolby light.  when I exit alsamixer and run alsamixer again, "IEC958
Optical Raw" has become "OO". In this case, alsamixer cannot help to get
ac3 passthough from the spdif output, because it cannot really make
"IEC958 Optical Raw" as "MM", even though it seems it can. After ac3dec
finished, "IEC958 Optical Raw" back to "MM" again, as shown by running
alsamixer again.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
12-14-05 09:44 tycordinal     New Issue                                    
12-14-05 09:44 tycordinal     Kernel Version            => 2.4.31          
12-14-05 10:05 tycordinal     Note Added: 0007031                          
12-14-05 10:15 tycordinal     Note Added: 0007032                          
12-14-05 10:16 tycordinal     Note Added: 0007033                          
12-14-05 10:30 pzad           Note Added: 0007034                          
12-14-05 10:31 tycordinal     Note Added: 0007035                          
======================================================================




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ALSA - driver 0001651]: ac3 passthrough not really work with ac3dec
@ 2005-12-14  9:53 bugtrack
  0 siblings, 0 replies; 10+ messages in thread
From: bugtrack @ 2005-12-14  9:53 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1651> 
======================================================================
Reported By:                tycordinal
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   1651
Category:                   PCI - emu10k1
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Distribution:               
Kernel Version:             2.4.31
======================================================================
Date Submitted:             12-14-2005 09:44 CET
Last Modified:              12-14-2005 10:53 CET
======================================================================
Summary:                    ac3 passthrough not really work with ac3dec
Description: 
using the following from alsa-tools to play ac3 as passthrough:
ac3dec -C oneac3file.ac3 


the ac3dec is able to "open" the spdif device "iec958:{AES...}" and did
not report any error and keep on running, but the ac3 decoder (creative
ddts-100), connected to the "spdif output" from the card, did not switch
to dolby mode, and no sound come out from speaker.

one interesting thing is, when I run this:
ac3dec -6 oneac3file.ac3 

As this is software decoding to PCM, I can hear the left/right channels
from the front stereo jacket, as they also output on the "spdif output".
Therefore, I believe the "spdif output" on the card is indeed working,
just that for this card we might need to write some different AES command
to open the spdif output?

I am not sure if the alsa config files in /usr/share/alsa have to change
or maybe some "switches" in emu10k1_main.c needs to apply for the "spdif
output" to  really behave as "iec958" device to passthough ac3 stream to
external decoder.

Thanks.





======================================================================

----------------------------------------------------------------------
 tycordinal - 12-14-05 10:31 
----------------------------------------------------------------------
interesting things:

when doing ac3dec -6 oneac3file.ac3 ,
there is sound coming out from the spdif output, and when i use alsamixer
to make "IEC958 Optical Raw" from "MM" to become "OO", the sound stop
coming out. When I make it as "MM", the sound come back again. In this
case, alsamixer can toggled the sound output, if spdif output is playing
digital stereo.

when doing ac3dec -C oneac3file.ac3,
alsamixer show "IEC958 Optical Raw" as "OO" , and there is no dolby light
on the decoder (creative DDTS-100). when I make it "MM", there is still no
dolby light.  when I exit alsamixer and run alsamixer again, "IEC958
Optical Raw" has become "OO". In this case, alsamixer cannot help to get
ac3 passthough from the spdif output, because it cannot really make
"IEC958 Optical Raw" as "MM", even though it seems it can. After ac3dec
finished, "IEC958 Optical Raw" back to "MM" again, as shown by running
alsamixer again.

----------------------------------------------------------------------
 pzad - 12-14-05 10:53 
----------------------------------------------------------------------
IEC958 Optical Raw - this is just multiplexer switch.
If there is MM - this means spdif output comes from DSP and from normal
playback device.
If there is OO - spdif output comes from iec958 (or spdif) device.

Please do, what I suggest you in previous note.
Your problem is "Audigy Analog/Digital Output Jack" control.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
12-14-05 09:44 tycordinal     New Issue                                    
12-14-05 09:44 tycordinal     Kernel Version            => 2.4.31          
12-14-05 10:05 tycordinal     Note Added: 0007031                          
12-14-05 10:15 tycordinal     Note Added: 0007032                          
12-14-05 10:16 tycordinal     Note Added: 0007033                          
12-14-05 10:30 pzad           Note Added: 0007034                          
12-14-05 10:31 tycordinal     Note Added: 0007035                          
12-14-05 10:53 pzad           Note Added: 0007036                          
======================================================================




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ALSA - driver 0001651]: ac3 passthrough not really work with ac3dec
@ 2006-07-18 12:43 bugtrack
  0 siblings, 0 replies; 10+ messages in thread
From: bugtrack @ 2006-07-18 12:43 UTC (permalink / raw)
  To: alsa-devel


The following issue has been ASSIGNED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1651> 
======================================================================
Reported By:                tycordinal
Assigned To:                jcdutton
======================================================================
Project:                    ALSA - driver
Issue ID:                   1651
Category:                   PCI - emu10k1
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Distribution:               
Kernel Version:             2.4.31
======================================================================
Date Submitted:             12-14-2005 09:44 CET
Last Modified:              07-18-2006 14:43 CEST
======================================================================
Summary:                    ac3 passthrough not really work with ac3dec
Description: 
using the following from alsa-tools to play ac3 as passthrough:
ac3dec -C oneac3file.ac3 


the ac3dec is able to "open" the spdif device "iec958:{AES...}" and did
not report any error and keep on running, but the ac3 decoder (creative
ddts-100), connected to the "spdif output" from the card, did not switch
to dolby mode, and no sound come out from speaker.

one interesting thing is, when I run this:
ac3dec -6 oneac3file.ac3 

As this is software decoding to PCM, I can hear the left/right channels
from the front stereo jacket, as they also output on the "spdif output".
Therefore, I believe the "spdif output" on the card is indeed working,
just that for this card we might need to write some different AES command
to open the spdif output?

I am not sure if the alsa config files in /usr/share/alsa have to change
or maybe some "switches" in emu10k1_main.c needs to apply for the "spdif
output" to  really behave as "iec958" device to passthough ac3 stream to
external decoder.

Thanks.





======================================================================

----------------------------------------------------------------------
 tycordinal - 12-14-05 10:05 
----------------------------------------------------------------------
output for : ac3dec -C oneac3file.ac3 

Using PCM device 'plug:iec958:{AES0 0x2 AES1 0x82 AES2 0x0 AES3 0x2}'

----------------------------------------------------------------------
 tycordinal - 12-14-05 10:15 
----------------------------------------------------------------------
I use alsamixer to monitor ac3dec action.

ac3dec -C oneac3file.ac3
When ac3dec is NOT running:
IEC958 Optical Raw: MM (Muted?)

when ac3dec IS running:
IEC958 Optical Raw: OO (opened? / not muted?)

when it stopped:
IEC958 Optical Raw: MM (Muted?)


Is this the reason that ac3dec cannot do ac3 passthrough ?


when ac3dec do software decode, IEC958 Optical Raw STAYS as MM , and I can
hear the left/right channels of that ac3 file, so I believe the spdif
output is working, just that this time the ac3dec software have to change
something (or NOT to change something :) .

----------------------------------------------------------------------
 tycordinal - 12-14-05 10:16 
----------------------------------------------------------------------
ac3dec to do software decoding:


ac3dec -6 thatac3file.ac3
5.1 Mode 48.0 KHz 448 kbps Complete Main Audio Service
Using PCM device 'plug:surround51'

----------------------------------------------------------------------
 pzad - 12-14-05 10:30 
----------------------------------------------------------------------
IEC958 Optical Raw - this looks correct.

Problem can be with "Audigy Analog/Digital Output Jack".

Looks like Audigy 4 works diffrently as others Audigy *.

Try to find file /usr/share/alsa/conf/cards/Audigy2.conf.

In this file find this

{
     name "Audigy Analog/Digital Output Jack"
     lock true
     preserve true
     value 1
} 

and change it to

{
     name "Audigy Analog/Digital Output Jack"
     lock true
     preserve true
     value 0
}

----------------------------------------------------------------------
 tycordinal - 12-14-05 10:31 
----------------------------------------------------------------------
interesting things:

when doing ac3dec -6 oneac3file.ac3 ,
there is sound coming out from the spdif output, and when i use alsamixer
to make "IEC958 Optical Raw" from "MM" to become "OO", the sound stop
coming out. When I make it as "MM", the sound come back again. In this
case, alsamixer can toggled the sound output, if spdif output is playing
digital stereo.

when doing ac3dec -C oneac3file.ac3,
alsamixer show "IEC958 Optical Raw" as "OO" , and there is no dolby light
on the decoder (creative DDTS-100). when I make it "MM", there is still no
dolby light.  when I exit alsamixer and run alsamixer again, "IEC958
Optical Raw" has become "OO". In this case, alsamixer cannot help to get
ac3 passthough from the spdif output, because it cannot really make
"IEC958 Optical Raw" as "MM", even though it seems it can. After ac3dec
finished, "IEC958 Optical Raw" back to "MM" again, as shown by running
alsamixer again.

----------------------------------------------------------------------
 pzad - 12-14-05 10:53 
----------------------------------------------------------------------
IEC958 Optical Raw - this is just multiplexer switch.
If there is MM - this means spdif output comes from DSP and from normal
playback device.
If there is OO - spdif output comes from iec958 (or spdif) device.

Please do, what I suggest you in previous note.
Your problem is "Audigy Analog/Digital Output Jack" control.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
12-14-05 09:44 tycordinal     New Issue                                    
12-14-05 09:44 tycordinal     Kernel Version            => 2.4.31          
12-14-05 10:05 tycordinal     Note Added: 0007031                          
12-14-05 10:15 tycordinal     Note Added: 0007032                          
12-14-05 10:16 tycordinal     Note Added: 0007033                          
12-14-05 10:30 pzad           Note Added: 0007034                          
12-14-05 10:31 tycordinal     Note Added: 0007035                          
12-14-05 10:53 pzad           Note Added: 0007036                          
07-18-06 14:43 jcdutton       Status                   new => assigned     
07-18-06 14:43 jcdutton       Assigned To               => jcdutton        
======================================================================



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ALSA - driver 0001651]: ac3 passthrough not really work with ac3dec
@ 2006-07-23 16:44 bugtrack
  0 siblings, 0 replies; 10+ messages in thread
From: bugtrack @ 2006-07-23 16:44 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1651> 
======================================================================
Reported By:                tycordinal
Assigned To:                jcdutton
======================================================================
Project:                    ALSA - driver
Issue ID:                   1651
Category:                   PCI - emu10k1
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Distribution:               
Kernel Version:             2.4.31
======================================================================
Date Submitted:             12-14-2005 09:44 CET
Last Modified:              07-23-2006 18:44 CEST
======================================================================
Summary:                    ac3 passthrough not really work with ac3dec
Description: 
using the following from alsa-tools to play ac3 as passthrough:
ac3dec -C oneac3file.ac3 


the ac3dec is able to "open" the spdif device "iec958:{AES...}" and did
not report any error and keep on running, but the ac3 decoder (creative
ddts-100), connected to the "spdif output" from the card, did not switch
to dolby mode, and no sound come out from speaker.

one interesting thing is, when I run this:
ac3dec -6 oneac3file.ac3 

As this is software decoding to PCM, I can hear the left/right channels
from the front stereo jacket, as they also output on the "spdif output".
Therefore, I believe the "spdif output" on the card is indeed working,
just that for this card we might need to write some different AES command
to open the spdif output?

I am not sure if the alsa config files in /usr/share/alsa have to change
or maybe some "switches" in emu10k1_main.c needs to apply for the "spdif
output" to  really behave as "iec958" device to passthough ac3 stream to
external decoder.

Thanks.





======================================================================

----------------------------------------------------------------------
 pzad - 12-14-05 10:53 
----------------------------------------------------------------------
IEC958 Optical Raw - this is just multiplexer switch.
If there is MM - this means spdif output comes from DSP and from normal
playback device.
If there is OO - spdif output comes from iec958 (or spdif) device.

Please do, what I suggest you in previous note.
Your problem is "Audigy Analog/Digital Output Jack" control.

----------------------------------------------------------------------
 jcdutton - 07-23-06 18:44 
----------------------------------------------------------------------
Which sound card are you using?
cat /proc/asound/cards
cat /proc/asound/version

Issue History
Date Modified  Username       Field                    Change              
======================================================================
12-14-05 09:44 tycordinal     New Issue                                    
12-14-05 09:44 tycordinal     Kernel Version            => 2.4.31          
12-14-05 10:05 tycordinal     Note Added: 0007031                          
12-14-05 10:15 tycordinal     Note Added: 0007032                          
12-14-05 10:16 tycordinal     Note Added: 0007033                          
12-14-05 10:30 pzad           Note Added: 0007034                          
12-14-05 10:31 tycordinal     Note Added: 0007035                          
12-14-05 10:53 pzad           Note Added: 0007036                          
07-18-06 14:43 jcdutton       Status                   new => assigned     
07-18-06 14:43 jcdutton       Assigned To               => jcdutton        
07-23-06 18:44 jcdutton       Note Added: 0011196                          
======================================================================



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ALSA - driver 0001651]: ac3 passthrough not really work with ac3dec
@ 2006-07-23 16:45 bugtrack
  0 siblings, 0 replies; 10+ messages in thread
From: bugtrack @ 2006-07-23 16:45 UTC (permalink / raw)
  To: alsa-devel


The following issue requires your FEEDBACK.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1651> 
======================================================================
Reported By:                tycordinal
Assigned To:                jcdutton
======================================================================
Project:                    ALSA - driver
Issue ID:                   1651
Category:                   PCI - emu10k1
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Distribution:               
Kernel Version:             2.4.31
======================================================================
Date Submitted:             12-14-2005 09:44 CET
Last Modified:              07-23-2006 18:45 CEST
======================================================================
Summary:                    ac3 passthrough not really work with ac3dec
Description: 
using the following from alsa-tools to play ac3 as passthrough:
ac3dec -C oneac3file.ac3 


the ac3dec is able to "open" the spdif device "iec958:{AES...}" and did
not report any error and keep on running, but the ac3 decoder (creative
ddts-100), connected to the "spdif output" from the card, did not switch
to dolby mode, and no sound come out from speaker.

one interesting thing is, when I run this:
ac3dec -6 oneac3file.ac3 

As this is software decoding to PCM, I can hear the left/right channels
from the front stereo jacket, as they also output on the "spdif output".
Therefore, I believe the "spdif output" on the card is indeed working,
just that for this card we might need to write some different AES command
to open the spdif output?

I am not sure if the alsa config files in /usr/share/alsa have to change
or maybe some "switches" in emu10k1_main.c needs to apply for the "spdif
output" to  really behave as "iec958" device to passthough ac3 stream to
external decoder.

Thanks.





======================================================================

----------------------------------------------------------------------
 jcdutton - 07-23-06 18:44 
----------------------------------------------------------------------
Which sound card are you using?
cat /proc/asound/cards
cat /proc/asound/version

----------------------------------------------------------------------
 jcdutton - 07-23-06 18:45 
----------------------------------------------------------------------
Please provide the requested feedback.


Issue History
Date Modified  Username       Field                    Change              
======================================================================
12-14-05 09:44 tycordinal     New Issue                                    
12-14-05 09:44 tycordinal     Kernel Version            => 2.4.31          
12-14-05 10:05 tycordinal     Note Added: 0007031                          
12-14-05 10:15 tycordinal     Note Added: 0007032                          
12-14-05 10:16 tycordinal     Note Added: 0007033                          
12-14-05 10:30 pzad           Note Added: 0007034                          
12-14-05 10:31 tycordinal     Note Added: 0007035                          
12-14-05 10:53 pzad           Note Added: 0007036                          
07-18-06 14:43 jcdutton       Status                   new => assigned     
07-18-06 14:43 jcdutton       Assigned To               => jcdutton        
07-23-06 18:44 jcdutton       Note Added: 0011196                          
07-23-06 18:45 jcdutton       Note Added: 0011197                          
07-23-06 18:45 jcdutton       Status                   assigned => feedback
======================================================================



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-07-23 16:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-14  9:53 [ALSA - driver 0001651]: ac3 passthrough not really work with ac3dec bugtrack
  -- strict thread matches above, loose matches on Subject: below --
2006-07-23 16:45 bugtrack
2006-07-23 16:44 bugtrack
2006-07-18 12:43 bugtrack
2005-12-14  9:31 bugtrack
2005-12-14  9:30 bugtrack
2005-12-14  9:16 bugtrack
2005-12-14  9:15 bugtrack
2005-12-14  9:05 bugtrack
2005-12-14  8:44 bugtrack

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox