Commit 1be2b9f2 authored by Ronald S. Bultje's avatar Ronald S. Bultje
Browse files

Remove debug

Original commit message from CVS:
Remove debug
parent 23d142d2
......@@ -347,13 +347,12 @@ gst_alsa_class_probe_devices (GstAlsaClass *klass,
for (num = 0; num < MAX_DEVICES; num++) {
dev = g_strdup_printf ("hw:%d", num);
printf ("Trying to open %s\n", dev);
if (!(res = snd_pcm_open (&pcm, dev, 0, 0))) {
klass->devices = g_list_append (klass->devices, dev);
printf ("success\n");
snd_pcm_close (pcm);
} else {
printf ("failure=%d (%s)\n", res, snd_strerror (res));
g_free (dev);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment