Markus Rechberger ha scritto:
On Sat, Aug 23, 2008 at 11:54 PM, Adriano Gigante <[EMAIL PROTECTED]> wrote:
Markus Rechberger ha scritto:
On Sat, Aug 23, 2008 at 11:16 PM, Adriano Gigante <[EMAIL PROTECTED]>
wrote:

On Thu, Aug 21, 2008 at 8:28 PM, Adriano Gigante <adrigiga at yahoo.it
<http://mcentral.de/mailman/listinfo/em28xx>> wrote:

/ Smart!

/>/ I did what you said and now it works. I just tried with tvtime
because
I
/>/ haven't enough digital signal and I saw the TV!
/
to get audio work with it you need the tvtime version from
mcentral.de, sooner or later this will be mainstream because other
analog devices with digital audio interfaces have the same issue.

Markus



Hi markus,

Digital tv is ok
For analog tv, I have compiled tvtime (mcentral version) and also with
this
version no audio! (...of course I've uninstalled fedora version of
tvtime)
To compile it I have installed alsa-lib-devel.rpm.

what does arecord -l (lowercase L) show up?


I run tvtime always from user adriano.

from user adriano:

[EMAIL PROTECTED] ~]$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
 Subdevices: 1/1
 Subdevice #0: subdevice #0

from root:

[EMAIL PROTECTED] ~]# arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 1: Em28xx Audio [Em28xx Audio], device 0: Em28xx Audio [Empia 28xx
Capture]
 Subdevices: 1/1
 Subdevice #0: subdevice #0

But now I've tried from root:

[EMAIL PROTECTED] ~]# tvtime
Running tvtime 1.0.2.
Reading configuration from /etc/tvtime/tvtime.xml
Reading configuration from /root/.tvtime/tvtime.xml
trying to fall back to software scaling and X11 output
HDA Intel : AD198x Analog hw:0,0
Em28xx Audio : Empia 28xx Capture hw:1,0
opening: hw:1,0
Access type not available


can you manually try to run mplayer:

$ mplayer tv:// -tv driver=v4l2
afterwards open another shell and run

$ arecord -D hw:1,0 --format=S16_LE --rate=48000 -c 2 | aplay

does this work for you?

Markus

from user adriano:

[EMAIL PROTECTED] ~]$ arecord -D hw:1,0 --format=S16_LE --rate=48000 -c 2 | aplay
ALSA lib pcm_hw.c:1240:(_snd_pcm_hw_open) Invalid value for card
arecord: main:564: audio open error: No such file or directory
aplay: playback:2019: read error

Nothing happens....but:

[EMAIL PROTECTED] ~]$ sudo arecord -D hw:1,0 --format=S16_LE --rate=48000 -c 2 | aplay
Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
Playing WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo


Yes I ear sound!

What can I do to do this automatically from my user and not from root with this work-around?
Bye
Adriano


_______________________________________________
Em28xx mailing list
[email protected]
http://mcentral.de/mailman/listinfo/em28xx

Reply via email to