From: "Marc Lavallée" <marc@hacklava.net>
To: alsa-devel@alsa-project.org
Subject: advice for creating special ALSA driver or plugin
Date: Sun, 11 Apr 2021 12:01:51 -0400 [thread overview]
Message-ID: <c1954dd5-fe9e-883e-6119-e7f3ae58745a@hacklava.net> (raw)
Hi ALSA developers.
I'm completely new to ALSA developing, so I'm being lazy and ask for
advices.
I have a USB recording device for four 16bit/48Khz channels, "encoded"
in a stereo 16bit/96Khz track; because it is a USB audio recording
device, so no special recording software is required, but a (proprietary
Windows) converting software is provided (that I can't use).
Output channels are alternated at the sample level: L: 1313131313, R:
2424242424, etc...
So basically the driver/plugin would alternates between input samples of
a stereo track to output 4 channels (at half the input sample rate).
Is there a code base I could study and adapt to start my simple project?
Thanks for your attention.
Marc
reply other threads:[~2021-04-11 16:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=c1954dd5-fe9e-883e-6119-e7f3ae58745a@hacklava.net \
--to=marc@hacklava.net \
--cc=alsa-devel@alsa-project.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox