Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to set ADAT clock source on MacOS at sample rates >48000 #255

Open
danielpieczko opened this issue Jul 22, 2024 · 1 comment
Open

Comments

@danielpieczko
Copy link
Contributor

On MacOS, seen with xk_316_mc, 2AMi16o16xxxaax

  1. xrun the DUT
  2. set the stream format to the appropriate number of input and output channels for ADAT at sample rate >48000
  3. start playing the ADAT input stream from the audio analyzer harness
  4. use volcontrol to select the ADAT clock source
  5. sometimes volcontrol fails with this error
Found 2 clock sources
Clock 0 = 690487296; XMOS Internal Clock
Clock 1 = 724041728; XMOS ADAT Clock
Current clock ID: 690487296
Error 'ADAT' clock is not valid yet
@danielpieczko
Copy link
Contributor Author

danielpieczko commented Jul 22, 2024

It turns out volcontrol is not checking the validity of the clock. It selects the ADAT clock source, sleeps for 1s and then gets the current clock source to check that the selection was applied. Also the implementation is different on Windows and MacOS, so that would explain why this hasn't been seen on Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant