Re: esound API



On  4 Mar, Michal Palczewski scribbled:
->  I'm trying to port synasthaesthasia to work with esound among other
->  projects I want to port. I have succeded with synaesthasia
->  except for a minor point.  When I try to open a esd_record_stream (so
->  that I can read from the dsp and get the cd output)  it messes up any 
->  other sounds that are being played.  I'm assuming this has something to do
->  with the format and rate variables passed to the function.  Is there

no - probably because you dont have a full duplex soudn card.. you
should open a monitor stream to monitor all output actually :)

->  anyway to read from a record stream without disturbing any other sounds
->  that are being played.  How exactly does the esd_format variable work?
->  The documentation in the header file doesn't explain it very well.

its justa  choice - 8bit or 16bit basically (and a few others) ot's a
bitmask.
 
->  I could just put esd on standby and read from the dsp using low level
->  esound commands but I would still like to hear all other sounds.
->  
->  Mike 
->  
->  

-- 
--------------- Codito, ergo sum - "I code, therefore I am" --------------------
raster@rasterman.com       /\___ /\ ___/||\___ ____/|/\___  raster@redhat.com
Carsten Haitzler           | _ //__\\ __||_ __\\ ___|| _ /  Red Hat Advanced
218/21 Conner Drive        || // __ \\_ \ | |   \ _/_|| /   Development Labs
Chapel Hill NC 27514 USA   ||\\\/  \//__/ |_|   /___/||\\   919 547 0012 ext 282
+1 (919) 929 9443, 801 4392   For pure Enlightenment   http://www.rasterman.com/

              \|/ ____ \|/  For those of you unaware. This face here is in fact
	      "@'/ ,. \@"   a Linux Kernel Error Message.
	      /_| \__/ |_\
		 \__U_/
							   



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]