Modified: freeswitch/trunk/src/mod/endpoints/mod_skypiax/alsa/dummy.c (16836 => 16837)
--- freeswitch/trunk/src/mod/endpoints/mod_skypiax/alsa/dummy.c 2010-02-26 16:33:02 UTC (rev 16836)
+++ freeswitch/trunk/src/mod/endpoints/mod_skypiax/alsa/dummy.c 2010-02-26 17:52:36 UTC (rev 16837)
@@ -630,10 +630,15 @@
int idx, err;
int dev = devptr->id;
- card = snd_card_new(index[dev], id[dev], THIS_MODULE, sizeof(struct snd_dummy));
- if (card == NULL)
- return -ENOMEM;
+ card = snd_card_new(index[dev], id[dev], THIS_MODULE, sizeof(struct snd_dummy)); //giova if this gives you problems, comment it out and remove comment from the 4 lines commented below
+ if (card == NULL) //giova if this gives you problems, comment it out and remove comment from the 4 lines commented below
+ return -ENOMEM; //giova if this gives you problems, comment it out and remove comment from the 4 lines commented below
+ //giova err = snd_card_create(index[dev], id[dev], THIS_MODULE,
+ //giova sizeof(struct snd_dummy), &card);
+ //giova if (err < 0)
+ //giova return err;
+
dummy = card->private_data;
dummy->card = card;
for (idx = 0; idx < MAX_PCM_DEVICES && idx < pcm_devs[dev]; idx++) {