ext/alsa/gstalsasink.c: Assign debug category, add negotiation debug msgs.

Original commit message from CVS:
* ext/alsa/gstalsasink.c: (set_hwparams):
Assign debug category, add negotiation debug msgs.
This commit is contained in:
Ronald S. Bultje 2005-08-08 10:16:34 +00:00
parent ba32f38042
commit be08afaabf
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* ext/alsa/gstalsasink.c: (set_hwparams):
Assign debug category, add negotiation debug msgs.
2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_start):

View file

@ -30,7 +30,7 @@
#include <getopt.h>
#include <alsa/asoundlib.h>
#include "gstalsa.h"
#include "gstalsasink.h"
/* elementfactory information */
@ -241,6 +241,8 @@ set_hwparams (GstAlsaSink * alsa)
snd_pcm_hw_params_alloca (&params);
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 */