mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-06 11:18:30 +00:00
Get printvideo audio working on Windows and MacOS
This commit is contained in:
parent
07fde68d52
commit
5d3b91d8b9
18 changed files with 93470 additions and 212 deletions
|
@ -18,6 +18,7 @@ libc/isystem/byteswap.h \
|
|||
libc/isystem/clzerointrin.h \
|
||||
libc/isystem/complex.h \
|
||||
libc/isystem/cosmo.h \
|
||||
libc/isystem/cosmoaudio.h \
|
||||
libc/isystem/cpio.h \
|
||||
libc/isystem/cpuid.h \
|
||||
libc/isystem/crypt.h \
|
||||
|
|
|
@ -171,7 +171,7 @@ static textwindows int sys_poll_nt_impl(struct pollfd *fds, uint64_t nfds,
|
|||
// some programs like bash like to poll([stdin], 1, -1) so let's
|
||||
// avoid busy looping in such cases. we could generalize this to
|
||||
// always avoid busy loops, but we'd need poll to launch threads
|
||||
if (pn == 1 && sn == 0 && (pipefds[i].events & POLLRDNORM_)) {
|
||||
if (0 && pn == 1 && sn == 0 && (pipefds[i].events & POLLRDNORM_)) {
|
||||
int err = errno;
|
||||
switch (CountConsoleInputBytesBlocking(waitfor, sigmask)) {
|
||||
case -1:
|
||||
|
|
1
libc/isystem/cosmoaudio.h
Normal file
1
libc/isystem/cosmoaudio.h
Normal file
|
@ -0,0 +1 @@
|
|||
#include "dsp/audio/cosmoaudio/cosmoaudio.h"
|
Loading…
Add table
Add a link
Reference in a new issue