mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-02-27 11:33:54 +01:00
fix?
This commit is contained in:
@@ -400,7 +400,8 @@ int main(int argc, char **argv) {
|
|||||||
if(strlen(audio_sca_device) != 0) pa_simple_free(sca_device);
|
if(strlen(audio_sca_device) != 0) pa_simple_free(sca_device);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
snd_pcm_uframes_t frames = BUFFER_SIZE;
|
snd_pcm_uframes_t frames;
|
||||||
|
snd_pcm_hw_params_get_period_size_min(output_params, &frames, &dir);
|
||||||
snd_pcm_hw_params_set_period_size_near(output_handle, output_params, &frames, &dir); // i don't have a clue why like this
|
snd_pcm_hw_params_set_period_size_near(output_handle, output_params, &frames, &dir); // i don't have a clue why like this
|
||||||
output_error = snd_pcm_hw_params(output_handle, output_params);
|
output_error = snd_pcm_hw_params(output_handle, output_params);
|
||||||
if(output_error < 0) {
|
if(output_error < 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user