Hi Geoffrey,

You could set all the SPDIF bytes with the iecset command.

Try this, to set the SPDIF Byte 3 at 0000 :
        iecset professional false rate 44100

Best regards

Alain

> ----------
> De :  Geoffrey Martin
> Envoyé :      Friday, December 12, 2003 8:43 AM
> À :   [EMAIL PROTECTED]
> Objet :       [Alsa-devel] Sampling rate problems on a VXPocket v2
> 
> 
> 
> 
> 
> Hi,
> 
> I'm using the following:
>       IBM T40 laptop
>       Digigram VXPocket v2
>       RedHat 9
>       Kernel 2.4.22-ac4
>       ALSA drivers 0.9.8
>       vxloader 0.9.7-i686
> 
> Measurement gear
>       Audio Precision System Two Cascade
>       PrismSound DSA-1
> 
> 
> Some of my other gear is having difficulties locking to the S/PDIF output
> of the card at 44.1 kHz and I have a suspicion as to why this is
> happening...
> 
> I have control over the sampling rate of the S/PDIF output of the card as I
> would expect, however...
> 
> In the S/PDIF Channel Status Block information there is a portion of Byte 3
> that is used to send the intended sampling rate (selectable between three
> values, 32 kHz, 44.1 kHz and 48 kHz, depending on the arrangement of bits
> 0-3 in Byte 3. For specific information on this, please see Application
> Note AN22REV2 from www.crystal.com). It is also possible, using bit 0 of
> Byte 0, to indicate whether the signal is Professional or Consumer format.
> 
> Using my present configuration, I do not appear to have control over either
> of these two variables. For example, even when I am sending a 44.1 kHz
> signal at a rate of 44.1 kHz (or close enough... it's actually 44.0993, -17
> ppm) Byte 3 of the Channel Status Block is saying that the signal is a 48
> kHz transmission.
> 
> Are the VXPocket drivers in ALSA capable of changing these values in the
> card? The official drivers for Mac OSX allow me to change the Pro/Consumer
> flag using an application, and the sampling rate indicator changes
> automatically with the actual sampling rate of the card's output.
> 
> Cheers
> -geoff
> 
> 
> 
> 
> ____________________________________________________
> Geoff Martin Ph.D.
> Tonmeister, Bang & Olufsen a/s
> email: [EMAIL PROTECTED]
> web: www.bang-olufsen.com
> web: www.tonmeister.ca
> phone: +45 96 84 49 54
> 
> 
> 
> -------------------------------------------------------
> 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-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/alsa-devel
> 
> 


-------------------------------------------------------
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-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to