Henri wrote:
> On 19 Nov 2003, Clemens Ladisch <[EMAIL PROTECTED]> wrote:
>
> > [EMAIL PROTECTED] wrote:
> > > it fails on the call to "snd_ctl_elem_write".
> >
> > What is the error code/message?
>
> "No such file or directory"
= "control not found"
> > > 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?
>
> control.35 {
> comment.access 'read write inactive'
> comment.type IEC958
> iface PCM
> device 2
> name 'IEC958 Playback PCM Stream'
> value '0082000200000000...
> }
This control is marked as "inactive". AFAIK it's valid only while
something is playing.
Try to set this one instead:
> control.33 {
> comment.access 'read write'
> comment.type IEC958
> iface PCM
> device 2
> name 'IEC958 Playback Default'
> value '008200020000000...
> }
HTH
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