I want to run Linux program that require a soundcard, on a server, which has no soundcard. Is it possible to create a dummy soundcard? I am totally unaware of Linux sound system internals. Please point me in right direction.
I have followed this example: http://alsa.opensrc.org/.asoundrc but it didn't work out.
PS: There is similar question: How to create a virtual sound device in Linux?. But this is totally different in the context that the user is creating an alias to already available soundcard.
Edit:
I want a dummy device to be created in /dev/.. so that any application that needs a sound device will find it.
I am completely unware, how alsa works. So I simply followed the example. I created /etc/asound.conf with:
pcm.card0 {
type hw
card 0
}
ctl.card0 {
type hw
card 0
}
And aplay -L
gives me:
null
Discard all samples (playback) or generate zero samples (capture)