All of lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: `/ET!-i1S!-i <yethish7@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: Copy ALSA buffer to the buffer allocated in my driver.
Date: Tue, 02 Aug 2011 15:07:39 +0200	[thread overview]
Message-ID: <4E37F69B.4070104@ladisch.de> (raw)
In-Reply-To: <CAB+ez9uo=4ruqp0yXXJ9Ny=GRXVP6ALYYvhHaTEbp_D9y7AgPg@mail.gmail.com>

`/ET!-i1S!-i wrote:
> 1. I have no idea how to copy the alsa buffer to intermediate buffer (my
> Buffer) for playback application .
> 2.  I have taken dummy driver code as example.
> 3. Can you please help me. What code has to be included in the below copy
> function to copy alsa buffer to my Buffer.

Something like copy_from_user().
See sound/pci/rme9652/hdsp.c for an example.


Regards,
Clemens

       reply	other threads:[~2011-08-02 13:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAB+ez9uo=4ruqp0yXXJ9Ny=GRXVP6ALYYvhHaTEbp_D9y7AgPg@mail.gmail.com>
2011-08-02 13:07 ` Clemens Ladisch [this message]
     [not found] <CAB+ez9vpzWQ3CXwoC64X6BEg=quzvJ8u-BhdMTr6vP+-=L4WRQ@mail.gmail.com>
2011-08-02 12:25 ` Copy ALSA buffer to the buffer allocated in my driver Daniel Mack
2011-08-02 12:03 `/ET!-i1S!-i
2011-08-02 12:08 ` Daniel Mack
     [not found] <CAB+ez9vVkGiefO8oQhyUZ+fqRn-vphpZPztu+S=iWsnk73nJLw@mail.gmail.com>
     [not found] ` <CAB+ez9tumzPRXcweBWW6EBEM6ySduG36Aue8a_p8_cmubSwopg@mail.gmail.com>
     [not found]   ` <CAB+ez9tA3CGxwb=1pge2RB+P97rUzDCNx36kJ1VLLDpFGyRdTg@mail.gmail.com>
2011-08-01  9:28     ` Clemens Ladisch
     [not found] <CAB+ez9uWAFcL_K353Q5BCYj4AAF051a=SQU++BQ5ygV+SnqDjQ@mail.gmail.com>
2011-07-29 16:34 ` Clemens Ladisch
     [not found] <4E32C3F4.4050105@globaledgesoft.com>
2011-07-29 14:37 ` `/ET!-i1S!-i
2011-07-29 14:58   ` Clemens Ladisch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E37F69B.4070104@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=yethish7@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.