You may need to dump mmio  VORTEX_SMP_TIME which is tick at 48000 * 256
Hz (what is the clock printed at the oscillator on your au8820 sound
card) to find out the elapsed time between periods is correct or not

- return (bytes_to_frames(substream->runtime, current_ptr));
+ current_ptr = bytes_to_frames(substream->runtime, current_ptr);
+ if (current_ptr >= substream->runtime->buffer_size) {
+  dev_info(vortex->card->dev, "ptr : %x. time : %x/n", current_ptr, 
hwread(vortex->mmio,  VORTEX_SMP_TIME ));
+ current_ptr = 0;
+ }
+ return current_ptr;

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1551041

Title:
  snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384,
  period size = 1024

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1551041/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to