Commit 1c3ccbb0 authored by Simon Morlat's avatar Simon Morlat
Browse files

enhance two traces

parent 4ba7a137
......@@ -245,6 +245,8 @@ static snd_pcm_t * alsa_open_r(const char *pcmdev,int bits,int stereo,int rate)
static snd_pcm_t * alsa_open_w(const char *pcmdev,int bits,int stereo,int rate)
snd_pcm_t *pcm_handle;
ms_message("alsa_open_r: opening %s at %iHz, bits=%i, stereo=%i",pcmdev,rate,bits,stereo);
if (snd_pcm_open(&pcm_handle, pcmdev,SND_PCM_STREAM_PLAYBACK,SND_PCM_NONBLOCK) < 0) {
ms_warning("alsa_open_w: Error opening PCM device %s",pcmdev );
......@@ -174,7 +174,7 @@ int ms_filter_call_method(MSFilter *f, unsigned int id, void *arg){
return methods[i].method(f,arg);
if (magic!=MS_FILTER_BASE_ID) ms_error("no such method on filter %s",f->desc->name);
if (magic!=MS_FILTER_BASE_ID) ms_error("no such method on filter %s, fid=%i",f->desc->name,magic);
return -1;
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