file-transfer-over-soundcard

Ken Brown kbrown@cornell.edu
Wed May 20 22:25:00 GMT 2015


On 5/20/2015 5:31 PM, Spet wrote:
> -------- Original Message --------
>> On May 20, 2015, at 12:36 PM, Spet <spora@email.it> wrote:
>>>
>>> Do it is possible to port this console code to win32 with cygwin?
>>> https://github.com/vlofgren/file-transfer-over-soundcard/
>>
>> I was able to get its record.c program to compile without complaints
>> by changing the third line from
>>
>>      #include <linux/soundcard.h>
>>
>> to
>>
>>      #include <sys/soundcard.h>
>>
>> I don’t get any output when recording in my Windows 10 test VM.
>> Perhaps that would change if I had a real sound source hooked up to it.
>>
>> Anyway, you’re the one with the itch.  Scratch it. :)
>>
> "file-transfer-over-soundcard-master" is based on OSS, which is a Linux
> sound interface.
> Do CygWin support OSS?

Yes.  The OSS interface is in /usr/include/sys/soundcard.h.

Ken


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list