[Top][All Lists]

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

[Tinycc-devel] linux/soundcard.h

From: Levent Yavas
Subject: [Tinycc-devel] linux/soundcard.h
Date: Mon, 31 May 2004 12:00:53 +0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030915

hi, i have problems with linux/soundcard.h header file with tcc-0.9.20, seems it couldn't follow #defines in here. code is just plain wave playing init code, snd_linux.c in quake source. i cleaned up asm codes, only c codes remains, but stucked at this point:
if (ioctl(audio_fd, SNDCTL_DSP_GETCAPS, &caps)==-1)
can't get SNDCTL_DSP_GETCAPS from linux/soundcard.h

i can't easiliy isolate code (you can think i'm lazy) so i can't include at here. but if somebody needed it, i can send whole code (250k tar.gz). it is fun to test optimizations done in quake, i'm really curious to see how tcc will perform over gcc and icc :)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]