Всем привет! Вот уже несколько дней кряду ищу разумное решение эмуляции OSS через ALSA. Сегодня наткнулся на, вроде, неплохое решение - OSS Proxy Daemon. http://sourceforge.net/projects/osspd/ . Скачал исходники. Открыл Readme.
Не понял некоторые пункты:
1. OSS Proxy uses CUSE .... First you need CUSE support in kernel which might land on 2.6.28 with sufficient luck[3] and then you also need libfuse which supports CUSE. Как это проверить?
2. The OSS Proxy daemon - osspd - should be started first. Note that osspd will fail to start if sound device number regions are already occupied. You'll need to turn off OSS or its emulation. Как?
3. First build it by running `make'. You can set OSSPD_CFLAGS, OSSPD_LDFLAGS,
OSSP_PADSP_CFLAGS and OSSP_PADSP_LDFLAGS if you have stuff at non-default locations.
Что подразумевается под «You can set OSSPD_CFLAGS, OSSPD_LDFLAGS, OSSP_PADSP_CFLAGS and OSSP_PADSP_LDFLAGS if you have stuff at non-default locations»?
4. Самое главное. Исходник ни в какую не хочет компилироваться: liyi@liyi-PBL21 ~/Загрузки/ossp-1.3.2 $ sudo make
Package fuse was not found in the pkg-config search path.
Perhaps you should add the directory containing `fuse.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fuse' found
Package fuse was not found in the pkg-config search path.
Perhaps you should add the directory containing `fuse.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fuse' found
Package libpulse was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpulse.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libpulse' found
Package libpulse was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpulse.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libpulse' found
Package alsa was not found in the pkg-config search path.
Perhaps you should add the directory containing `alsa.pc'
to the PKG_CONFIG_PATH environment variable
No package 'alsa' found
Package alsa was not found in the pkg-config search path.
Perhaps you should add the directory containing `alsa.pc'
to the PKG_CONFIG_PATH environment variable
No package 'alsa' found
gcc -Wall -o osspd osspd.c -L. -lossp
osspd.c:14:27: фатальная ошибка: cuse_lowlevel.h: Нет такого файла или
каталога
компиляция прервана.
make: *** [osspd] Ошибка 1.
5. After build completes, there will be two executables - `osspd' and
`ossp-padsp'. Just copy them to where other system executables live.
Specific location doesn't matter as long as both files end up in the
same directory.
Execute `osspd'. It will create the device files and you're all set.
`osspd' uses syslog with LOG_DAEMON facility, so if something doesn't
work take a look at what osspd complains about. Куда скопировать?
Как установить программу?
Перемещено beastie из linux-hardware