Re: Is ALSA using hrtimer?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> I have hrtimer support compiled into my kernel, but when I watch 'top'
>> while music is playing I can see that 'timer' uses CPU cycles but
>> 'hrtimer' never does.  How can I find out if ALSA is using hrtimer?
>
> ALSA uses the sound card interrupt for timing.  The hrtimer is used only
> for MIDI playback and for sound cards without interrupts, such as the
> SuperH, i.MX, PC Speaker, and dummy devices.

Are you sure?  CONFIG_SND_HRTIMER says:

"ALSA uses the hrtimer as a precise timing source. The ALSA sequencer
code also can use this timing source."

Would ALSA use the sound card interrupt for timing with my USB DAC?

- Grant
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user



[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux