Subversion Repositories svnkaklik

Compare Revisions

Regard whitespace Rev 519 → Rev 520

//programy/C/ix86/sound/capture.c
19,6 → 19,8
exit (1);
}
fprintf (stdout,"nastaveni formatu");
 
if ((err = snd_pcm_hw_params_malloc (&hw_params)) < 0) {
fprintf (stderr, "cannot allocate hardware parameter structure (%s)\n",
snd_strerror (err));
42,6 → 44,7
snd_strerror (err));
exit (1);
}
fprintf (stdout,"nastaveni formatu");
if ((err = snd_pcm_hw_params_set_rate_near (capture_handle, hw_params, &exact_rate, 0)) < 0) {
fprintf (stderr, "cannot set sample rate (%s)\n",
48,7 → 51,7
snd_strerror (err));
exit (1);
}
fprintf (stdout,"nastaveni vzorkovani")
fprintf (stdout,"nastaveni vzorkovani");
if ((err = snd_pcm_hw_params_set_channels (capture_handle, hw_params, 2)) < 0) {
fprintf (stderr, "cannot set channel count (%s)\n",