Re: snd_pcm_writei VS snd_pcm_mmap_writei

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

 



On Fri, 19 Nov 2010, Irfan Shaikh wrote:

> Hello,
>
>         Please tell me
>         a) Difference between working of snd_pcm_mmap_writei and snd_pcm_writei ?
>         b) Performance wise which is better ?

The mmap functions does not require user space / kernel context switches.

>         When i use gettimeofday almost profile time comes almost same for both of them.

With current hw power, there are no major differences.

 						Jaroslav

-----
Jaroslav Kysela <perex@xxxxxxxx>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux