thanks for reply, it works. But it is strange that "pkg search -r 
soundcard.h" never gave me the right answer? or someone did a correction 
since yesterday.

gerard

Garrett D'Amore wrote:
> 
> You need to install SUNWaudh
> 
> The header is located in <sys/soundcard.h> after you install that package.
> 
>    - Garrett
> 
> solarg wrote:
>> hello all,
>> i'm trying to build audacity (audacity-src-1.3.10) with SFE spec files 
>> (http://opensolaris.org/jive/thread.jspa?threadID=91341), and it fails 
>> here:
>> "src/hostapi/oss/pa_unix_oss.c", line 80: #error: No sound card header 
>> file
>> cc: acomp failed for src/hostapi/oss/pa_unix_oss.c
>>
>>
>> The file pa_unix_oss.c contains:
>> #ifdef HAVE_SYS_SOUNDCARD_H
>> # include <sys/soundcard.h>
>> # ifdef __NetBSD__
>> #  define DEVICE_NAME_BASE           "/dev/audio"
>> # else
>> #  define DEVICE_NAME_BASE           "/dev/dsp"
>> # endif
>> #elif defined(HAVE_LINUX_SOUNDCARD_H)
>> # include <linux/soundcard.h>
>> # define DEVICE_NAME_BASE            "/dev/dsp"
>> #elif defined(HAVE_MACHINE_SOUNDCARD_H)
>> # include <machine/soundcard.h> /* JH20010905 */
>> # define DEVICE_NAME_BASE            "/dev/audio"
>> #else
>> # error No sound card header file
>> #endif
>>
>> Is it possible to have soundcard. in os20nn (b129)?
>> i found:
>> http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/sys/soundcard.h
>>  
>>
>>
>> but pkg search -r soundcard.h returns nothing.
>>
>> Here what i have on my machnie:
>> henry at ultra20:~/Download# ls -l /dev/audio
>> lrwxrwxrwx 1 root root 7 2009-01-24 15:29 /dev/audio -> sound/0
>> henry at ultra20:~/Download# ls -l /dev/dsp
>> lrwxrwxrwx 1 root root 4 2009-10-24 14:13 /dev/dsp -> dsp0
>> henry at ultra20:~/Download# cat /dev/sndstat
>> SunOS Audio Framework
>>
>> Audio Devices:
>> 0: audio810#0 NVIDIA AC'97, CK804 (DUPLEX)
>> 1: usb_ac#2 USB Audio, 1.0 (INPUT)
>>
>> Mixers:
>> 0: audio810#0 NVIDIA AC'97, CK804
>>         AC'97 codec: Avance Logic ALC655
>> 1: usb_ac#2 USB Audio, 1.0
>>
>> Thanks in advance for help,
>>
>> gerard
>>
>>
>> _______________________________________________
>> opensound-discuss mailing list
>> opensound-discuss at opensolaris.org
>> http://mail.opensolaris.org/mailman/listinfo/opensound-discuss
> 
> 



Reply via email to