linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* G3 sound recording
@ 1999-05-28  6:26 Dan Malek
  1999-05-28 13:51 ` Sound stuff (was Re: G3 sound recording) Hollis R Blanchard
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Malek @ 1999-05-28  6:26 UTC (permalink / raw)
  To: linuxppc-dev


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.   ]]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-05-28 22:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-05-28  6:26 G3 sound recording Dan Malek
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

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).