Tiny Core Extensions > TCE Talk
alsa issues
Juanito:
If I remember correctly, this is something to do with the soundcard.h(?) header updated for oss in compiletc - I think it actually mentions how to correct the 'SOUND_PCM_READ_RATE_is_obsolete' error in the header itself.
jpeters:
I would think the declarations for pcm.c would be in pcm.h; they're not.....that seems to be the problem.
The headers from alsa-lib are in /usr/local/include/alsa/ folder. I'll try an older alsa-lib, and see if they're included.
jpeters:
I commented out some components in mixer.c and pcm.c files that apparently related to obsolete
or missing components; then it compiled
Jason W:
Actually, Juanito is right, soundcard.h was modified to be used with OSS. Installing the header from the kernel source allowed alsa-oss to build.
However, all of the alsa-lib include files are missing from the alsa.tcel extension, but probably on purpose since it's intent was an end user app.
Jpeters, would it be all the same to you if I go ahead and post the alsa-oss extension since I already extracted the kernel header and built the extension against it?
jpeters:
--- Quote from: Jason W on February 07, 2009, 04:12:59 PM ---Actually, Juanito is right, soundcard.h was modified to be used with OSS. Installing the header from the kernel source allowed alsa-oss to build.
--- End quote ---
I noticed that it also specified that it needed to be run with OSS loaded
--- Quote --- However, all of the alsa-lib include files are missing from the alsa.tcel extension, but probably on purpose since it's intent was an end user app.
--- End quote ---
That might explain why alsamixer can't find a default soundcard. (i.e, alsamixer -c 0). I had to get rid of alsa-lib to run skype. I was getting:
--- Code: ---ALSA lib control.c:910:(snd_ctl_open_noupdate) Invalid CTL hw:0
--- End code ---
Without alsa-lib, skype runs, although with the following error:
--- Code: ---ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
--- End code ---
--- Quote ---Jpeters, would it be all the same to you if I go ahead and post the alsa-oss extension since I already extracted the kernel header and built the extension against it?
--- End quote ---
I would truly appreciate that, thank you! My girlfriend is complaining.....
Edit: Will it run xmms??
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version