From: Joachim <joachim.koenig@gm...> - 2001-01-22 17:42:47
I have now updated CVS with the AC3 via SPDIF support. I works only with
ALSA audio and it should run with ALSA 0.5.9 and above.
Run xine with -S to enable the feature. I have tested it with my Trident
4DWave NX and it works fine. When the feature is activ then there is no
sound from the speakers.
There are still lots of "Ouch! lastPTS : 8743672 current pts : 8740800"
It seems that this is a ALSA Problem with reporting the sent bytes.
That was really quick. And it looks like you smoothly integrated your code
On Mon, 22 Jan 2001, Joachim K=F6nig wrote:
> I have now updated CVS with the AC3 via SPDIF support. I works only with
> ALSA audio and it should run with ALSA 0.5.9 and above.=20
I'm using ALSA 0.5.9 and I'm getting these messages:
snd_pcm_channel_status() failed: Invalid argument
(lots of them)
The debug version gives some more info about my system:
type =3D 0x2a
flags =3D 0x103
id =3D 'emu10k1'
name =3D 'EMU10K1'
playback =3D 31
capture =3D 0
best_rate =3D 509
subdevice =3D 0
subname =3D subdevice #0
channel =3D 0
mode =3D 1
flags =3D 0x50107
formats =3D 6
rates =3D 509
min_rate =3D 4000
max_rate =3D 48000
min_voices =3D 1
max_voices =3D 2
buffer_size =3D 131072
min_fragment_size =3D 64
max_fragment_size =3D 131072
fragment_align =3D 3
fifo_size =3D 0
transfer_block_size =3D 32
mmap_size =3D 131072
mixer_device =3D 0
However, there's no further clue about where things are going wrong...
While tracing with strace, I found some more messages:
snd_pcm_open_subdevice() failed: No such device or address
The error messages seem to happen when filedescriptor 3 is accessed, while
/dev/snd/controlC0 is opened as fd3, However, I'm not sure if I missed
something in the trace...
I'm not too familiar with ALSA, but I think my kernel module doesn't
support something that xine wants to call...
Btw: without the --spdif option, anything works as before. Good work!
I'm generally ready to do some more debugging, but I've got an appointment