On Fri, 23 Jan 2004 15:24:18 -0500 (EST) "Jason M. Sullivan" <[EMAIL PROTECTED]> wrote:
> It has. I've gotten to the point where I can record (the trick with > using hexdump on http://alsa.opensrc.org/index.php?page=AlsaTips was > particularly helpful), but things get all screwy when I throw dsnoop > into the mix. > > % arecord -D hw:0 -d 10 -f cd -t wav file.wav > > Works fine, and I get a spiffy recording out. > > % arecord -D plug:dsnoop -d 10 -f cd -t wav file.wav This is weird. I tested it and i got the same results. Recording directly via hw:0 works, while the plug:dsnoop failed.. It is a buzzing sound. I suppose the fundamental frequency is around 50-150hz [my ears ain't especially ood though].. I can post a sample clip for the others to hear if needed.. But i suppose this depends on the period size, etc.. It definetly sounds like one period repeated forever. ALSA 1.0.1 here.. > > Gives me garbage. It sounds like a little snip (like, .1 seconds > worth) of what's coming in, repeated over and over again for 10 > seconds. My OSS expreiment with dsnoop gave the same results (which > makes me think the OSS emulation part is right). Yes, i think so, too. I also think that maybe dsnoop has a bug. > > My .asoundrc looks like this... > > pcm.dsp0 { > type plug > slave.pcm "dsnoop" > } > > # mixer0 > ctl.mixer0 { > type hw > card 0 > } > > ...any suggestions? Thanks for all the help so far. Yes, if you get dsnoop to work you can use the asym plugin to define a pcm device for OSS that uses dmix and dsnoop giving you a full duplex device sharable by many apps.. I created an ad hoc wiki page for asym [which consists mainly on takashis emails to this list]: http://alsa.opensrc.org/index.php?page=asym Flo -- http://www.soundclick.com/bands/9/florianschmidt.htm http://www.arted.biz/mista.tapas ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user
