Displaying 1 result from an estimated 1 matches for "log_debug1".
Did you mean:
log_debug
2004 Aug 06
0
Patch for IceS (im_alsa.c)
...c228
< if ((err = snd_pcm_hw_params_set_rate_near(s->fd, hwparams, &s->rate, 0)) < 0)
---
> if ((err = realrate = snd_pcm_hw_params_set_rate_near(s->fd, hwparams, &s->rate, 0)) < 0)
257a259,265
> /* Check that sample rate was set correctly */
> LOG_DEBUG1("ALSA Sound card has sample rate %d", realrate);
> if (s->rate != realrate)
> {
> LOG_WARN4("Sample rate changed on ALSA audio device %s! (Configuration says %d, sound card wants %d, so %d it is...)",
> device, s->rate, realrate, realrat...