Quoting "Lucian Muresan" <luci...@users.sourceforge.net>:

> Stefan Lucke wrote:
>
>>> 'aplay -l' shows:

>>
>>> card 0: CMI8738 [C-Media CMI8738], device 2: CMI8738-MC6 [C-Media PCI
>>> IEC958]
>>>   Subdevices: 1/1
>>>   Subdevice #0: subdevice #0
>>
>> So card 0 and device 2 should be ok. But the line with subdevice #0
>> irritates me.
>
> Could that be a problem?

Hm ??

>
>>>
>>>
>>> 'aplay -L' shows:
>>
>>> surround51:CARD=CMI8738,DEV=0
>>>     C-Media CMI8738, C-Media PCI 2nd DAC
>>>     5.1 Surround output to Front, Center, Rear and Subwoofer speakers
>>> iec958:CARD=CMI8738,DEV=0
>>>     C-Media CMI8738, C-Media PCI DAC/ADC
>>>     IEC958 (S/PDIF) Digital Audio Output
>>> null
>>>     Discard all samples (playback) or generate zero samples (capture)
>>
>> Discard all samples ??
>
> Well, if that's what the "null" device does... However, I do not use it (at
> least, not knowingly).

So I misread that one. Thought that there was a break inserted by  
someone, and the line should read: "IEC958 (S/PDIF) Digital Audio  
Output null".

>
>>> And the most important, the parameters given to the softdevice plugin:
>>> '--plugin=softdevice -vo dfb:mgatv -ao alsa:pcm=default#ac3=hw:0,2#'
>>>
>>> I have to mention that normal mpeg audio is decoded and sent as PCM to
>>> the SPDIF, only AC3 and only with vdr softdevice is the problem. I tried
>>> hw:0,0 and hw:0,1 as well, but no sound. How to deal with this, did I
>>> miss something?
>>
>> Are there messages written to stderr which start with "ac3play"
>> (autsch: everything written to stdout grr) ?
>
> No, unfortunately none of those "ac3play" messages are written, really
> strange...

So everything looks ok, but there is no sound :-( .
There are 2 additional code paths (4 choices in total):

1. Switching to professional transmission:
    setting 'ac3SpdifPro = true' in audio-alsa.c, line 41.
2. Different open for AC3 with patch from Roland Praml found here:
    http://www.vdr-portal.de/board/thread.php?postid=506499#post506499
    Patch includes enforcing of spdifpro mode.

If you need help, please ask again.

Stefan

_______________________________________________
Softdevice-devel mailing list
Softdevice-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/softdevice-devel

Reply via email to