mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-07-30 16:59:15 +02:00
bad state?
This commit is contained in:
+1
-1
@@ -309,7 +309,7 @@ done_parsing_opts:
|
|||||||
|
|
||||||
/* num_bytes = audio frames( * channels) * bytes per sample */
|
/* num_bytes = audio frames( * channels) * bytes per sample */
|
||||||
if (pa_simple_write(device, dev_out, frames * sizeof(int16_t), &pulse_error) != 0) {
|
if (pa_simple_write(device, dev_out, frames * sizeof(int16_t), &pulse_error) != 0) {
|
||||||
fprintf(stderr, "Error: could not play audio. (%s)\n", pa_strerror(pulse_error));
|
fprintf(stderr, "Error: could not play audio. (%s : %d)\n", pa_strerror(pulse_error), pulse_error);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user