Web lists-archives.org

Re: [Mingw-users] SNDCTL_DSP_RESET ?




Erik,

   I have a suite of programs that are used for Voice Messaging.  I have the
Linux modules working and now I am trying to port these modules to Windoze.
It has not been a joyful experience. Things that are easy in Linux can't be done
in Win32.  I got the sftp interface working on both but I am not happy with
the Win32 implementation (very ugly code).

   I can't seem to find a simple example of code to read and write to/from the
audio device. Not sure if I want to use mci or wave APIs? Also need a way to
determine if there is input from the console.  Select is not supported for
the console in Win32?

   Thanks for your time.

-- 
William Estrada
MrUmunhum@xxxxxxxxxxx
Mt-Umunhum-Wireless.net ( http://Mt-Umunhum-Wireless.net )
Ymessenger: MrUmunhum

> Message: 3
> Date: Fri, 9 Nov 2007 16:42:59 +1100
> From: Erik de Castro Lopo <mle+mingw@xxxxxxxxxxxxx>
> Subject: Re: [Mingw-users] SNDCTL_DSP_RESET ?
> To: mingw-users@xxxxxxxxxxxxxxxxxxxxx
> Message-ID: <20071109164259.b322ea01.mle+mingw@xxxxxxxxxxxxx>
> Content-Type: text/plain; charset=US-ASCII
> 
> william estrada wrote:
> 
>> > Hi group,
>> > 
>> >    Where can I find SNDCTL_DSP_RESET for the OSS ioctl call?
> 
> You won't find it in MinGW, nor will you find it in Cygwin.
> 
> In fact very few Linux specific icotls (like SNDCTL_*) will
> be found in MinGW/Cygwin. Any program using these ioctls are
> unlikely to be portable to windows.
> 
> Whcih program specifically are you talking about?
> 
> Erik



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users