Re: how to disable mmap and allow .copy function to be called

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

 



Thank you. I tried that but on starting a playback it gives me an error that
the device is in use and does not playback. Should i be enabling anything
else for my .copy function to be invoked and successful playback to happen?

On Thu, Apr 24, 2008 at 10:53 AM, Eliot Blennerhassett <
linux@xxxxxxxxxxxxxxxx> wrote:

> Harsha priya gupta wrote:
> > Hi,
> >
> > Can anyone help me - I need to modify an existing driver such that a new
> > .copy function is invoked. how to make sure that mmap is diabled?
> >
>
> Remove SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_MMAP_VALID
>
> from the struct snd_pcm_hardware.info initialisation.
>
> --
> Eliot
>
>
>
>
>


-- 
-Harsha
_______________________________________________
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