Hi,
At Fri, 3 May 2002 09:11:33 -0700 (PDT),
Guilhem Tardy wrote:
>
> Hi,
>
> Now, I have this new driver which manages to open/close a pcm
> channel whenever one attempts to play a file with "play test.au",
> but complains (Sound protocol it not compatible) with "aplay
> test.au". Any idea what's wrong?
this error happens usually when an older version of alsa-lib /
alsa-utils are installed. please check the version of alsa-lib.
(must be linked to libasound.so.2)
> Besides, I have no mixer defined (I would just to allow open/close a
> playback or capture channel, no more) and wonder if it is a problem?
no. you can initialize the mixer part even in open of pcm callbacks,
if it's not necessarily configurable.
> I am just loading the driver manually for now (insmod snd,
> snd-timer, snd-pcm, ...), is there any special configuration I
> need? How to tell the driver to unmute?
generally modprobe resolves the dependency, i.e. just load the
top-level module like
# modprobe snd-yourdriver
then all low-level drivers will be loaded.
well, unmute...? if there is no mixer, the device should be always
unmuted, or as mentioned above, toggle mute/unmute at open/close.
anyway, i would advise you to post your working code (or its URL) to
alsa-devel ML, so that other developers can take a look.
ciao,
Takashi
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel