From: Dan Malek <dmalek@jlc.net>
To: linuxppc-dev <linuxppc-dev@lists.linuxppc.org>
Subject: G3 sound recording
Date: Fri, 28 May 1999 02:26:55 -0400 [thread overview]
Message-ID: <374E372F.25549C60@jlc.net> (raw)
I just updated the PowerPC Mac dmasound driver so it will also
record. It still needs some work, but the framework is there
for anyone to update and it is useful.
I did the development on my PowerBook G3, and will soon test it
on my iMac.
The driver supports the standard sample rates and the signed/unsigned
8- and 16-bit PCM data format. It does not support A-law or u-law
because I have not yet taken the time to integrate the conversion
algorithm.
To the mixer read/write recording source I added the SOUND_MASK_MONITOR
because the AWACS has the "loop through" capability. When this is
set, along with your recording input selection, the audio input
will be sent to your selected audio output (along with giving you
the data). This is the way the audio CD players work, so if you
turn this off don't be surprised when an audio CD program may not
play. If this was not the right mask to use for this purpose, will
someone with more knowledge please tell me what is correct.
The driver runs full duplex, you can play and record at the same
time. In fact, I tested it this way with a loop back program.
Multiple threads and an extra slop buffer help out here.
I left plenty of things for others to do :-). Also, be careful
when requesting data formats. The driver will report more than
are supported by the recording side, since it can also play A-law
and u-law. I don't know the "right" thing to do here, since there
is only one method to get formats (I know, fix the record side :-).
Thanks to everyone that helped out, including the folks that started
the work and to Paul for the documentation.
Now, back to the 8xx and 82xx updates.......
Have fun.
-- Dan
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]
next reply other threads:[~1999-05-28 6:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-05-28 6:26 Dan Malek [this message]
1999-05-28 13:51 ` Sound stuff (was Re: G3 sound recording) Hollis R Blanchard
1999-05-28 15:40 ` Dan Malek
1999-05-28 22:11 ` Tom Rini
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=374E372F.25549C60@jlc.net \
--to=dmalek@jlc.net \
--cc=linuxppc-dev@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).