[xiph-commits] r18635 - trunk/ao/src

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Sat Sep 29 00:32:37 PDT 2012


Author: xiphmont
Date: 2012-09-29 00:32:37 -0700 (Sat, 29 Sep 2012)
New Revision: 18635

Modified:
   trunk/ao/src/audio_out.c
Log:
Commit additional logging in the event a driver fails to open due to a rejected option (only some driver backends do this)
See trac #1904


Modified: trunk/ao/src/audio_out.c
===================================================================
--- trunk/ao/src/audio_out.c	2012-09-28 22:53:21 UTC (rev 18634)
+++ trunk/ao/src/audio_out.c	2012-09-29 07:32:37 UTC (rev 18635)
@@ -924,6 +924,8 @@
     }else{
       if (!device->funcs->set_option(device, options->key, options->value)) {
         /* Problem setting options */
+        aerror("Driver %s unable to set option %s=%s\n",
+               info_table[device->driver_id]->short_name, options->key, options->value);
         return AO_EOPENDEVICE;
       }
     }



More information about the commits mailing list