mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-02-27 12:53:53 +01:00
no clue
This commit is contained in:
@@ -98,6 +98,10 @@ int main(int argc, char **argv) {
|
|||||||
format.channels = 1;
|
format.channels = 1;
|
||||||
format.rate = RDS_SAMPLE_RATE;
|
format.rate = RDS_SAMPLE_RATE;
|
||||||
|
|
||||||
|
buffer.prebuf = 0;
|
||||||
|
buffer.tlength = 12228;
|
||||||
|
buffer.maxlength = 12228;
|
||||||
|
|
||||||
rds1_device = pa_simple_new(
|
rds1_device = pa_simple_new(
|
||||||
NULL,
|
NULL,
|
||||||
"rds95",
|
"rds95",
|
||||||
@@ -126,7 +130,7 @@ int main(int argc, char **argv) {
|
|||||||
NULL
|
NULL
|
||||||
);
|
);
|
||||||
if(rds2_device == NULL) {
|
if(rds2_device == NULL) {
|
||||||
fprintf(stderr, "Error: cannot open sound device.\n");
|
fprintf(stderr, "Error: cannot open RDS2 sound device.\n");
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user