diff --git a/ChangeLog b/ChangeLog index 98737b23e1..752eefde28 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-08-08 Ronald S. Bultje + + * ext/alsa/gstalsasink.c: (set_hwparams): + Assign debug category, add negotiation debug msgs. + 2005-08-07 Ronald S. Bultje * ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_start): diff --git a/ext/alsa/gstalsasink.c b/ext/alsa/gstalsasink.c index 137823dcb3..aaf8c72ece 100644 --- a/ext/alsa/gstalsasink.c +++ b/ext/alsa/gstalsasink.c @@ -30,7 +30,7 @@ #include #include - +#include "gstalsa.h" #include "gstalsasink.h" /* elementfactory information */ @@ -241,6 +241,8 @@ set_hwparams (GstAlsaSink * alsa) snd_pcm_hw_params_alloca (¶ms); + GST_DEBUG ("Negotiating to %d channels @ %d Hz", alsa->channels, alsa->rate); + /* choose all parameters */ CHECK (snd_pcm_hw_params_any (alsa->handle, params), no_config); /* set the interleaved read/write format */