here is a follow up (still having trouble). this time using mplayer
 

mplayer -ao alsa9:spdif movie.avi

<snip>

VIDEO:  [DIV3]  460x340  24bpp  25.000 fps  985.8 kbps (120.3 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 16000->176400 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
GetModeLine - scrn: 0 clock: 25200
GetModeLine - hdsp: 640 hbeg: 656 hend: 752 httl: 800
              vdsp: 480 vbeg: 490 vend: 492 vttl: 525 flags: 10
vo: X11 running at 640x480 with depth 24 and 32 bpp (":0" => local display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
alsa-init: requested format: 44100 Hz, 2 channels, Signed 16-bit (Little-Endian)
alsa-init: soundcard set to spdif
access control disabled, clients can connect from any host
alsa-init: unable to set periodsize: Invalid argument
Could not open/initialize audio device -> no sound.
Audio: no sound





i do not have a .asoundrc or /etc/asound.conf file. just
using the defaults that show up when i load the snd-cs46xx module.

if i run mplayer w/ no -ao option and load the snd-pcm-oss
module i can hear the output on my stereo (via the spdif optical cable)

thanks

henri


On 19 Nov 2003, Clemens Ladisch <[EMAIL PROTECTED]> wrote: 

> [EMAIL PROTECTED] wrote:
> > picked up a Hercules DigiFire 7.1 card today. CS46xx based.
> >
> > but ogle fails to configure the device correctly. the ogle
> > code is at the bottom of the email. it fails on the call to
> > "snd_ctl_elem_write".
> 
> What is the error code/message?
> 
> > the snd_pcm_info_get_device(info) and
> > snd_pcm_info_get_subdevice(info) are returning the correct values
> > (device 2, sub device 0). just can't seem to update the IEC958
> > control.
> 
> What is the information for this control in /etc/asound.state?
> (If this file doesn't exist, run "alsactl store".)
> 
> 
> Regards,
> Clemens
> 


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to