Re: Re: Re: [linux-audio-dev] Oss & threading -- is it possible

2003-10-13 Thread David Olofson
On Friday 10 October 2003 19.19, [EMAIL PROTECTED] wrote: [...] > quiet interesting ;) > > Could you give me a short idea howto mix two > signals/stream/oscilators/whatever ?? The actual mixing is just a matter of adding the signals together. You'll have to make sure the result doesn't overflow (

Re: Re: Re: [linux-audio-dev] Oss & threading -- is it possible

2003-10-10 Thread hexe_2003
directBOX Reply --- From: [EMAIL PROTECTED] To : [EMAIL PROTECTED] Date: 10.10.2003 19:17:01 On Friday 10 October 2003 17.41, [EMAIL PROTECTED] wrote: [...] > But well, If I synthize ( ? spelling) two signals and want to send > them at the same time to the device, my firs

Re: Re: [linux-audio-dev] Oss & threading -- is it possible

2003-10-10 Thread David Olofson
On Friday 10 October 2003 17.41, [EMAIL PROTECTED] wrote: [...] > But well, If I synthize ( ? spelling) two signals and want to send > them at the same time to the device, my first idea'd be: > 1.) Open /dev/dsp, maybe O_NONBLOCK | O_WRONLY > 2.) thread > 3.) two threads calculate the both signals

Re: Re: [linux-audio-dev] Oss & threading -- is it possible

2003-10-10 Thread hexe_2003
directBOX Reply --- From: [EMAIL PROTECTED] To : [EMAIL PROTECTED] Date: 10.10.2003 17:37:43 >Hello ! > >I've read somewhere that it is not possible that threads write different data to / >dev/dsp. >But how does Cheesetracker, for example, make it then? i don't how chees