|
59 | 59 | * however, not reflected by decoder which queried the data before. |
60 | 60 | */ |
61 | 61 |
|
62 | | -#include "config.h" |
63 | | -#include "config_unix.h" |
64 | | -#include "config_win32.h" |
| 62 | +#include "video_display.h" |
| 63 | + |
| 64 | +#include <assert.h> // for assert |
| 65 | +#include <errno.h> // for errno |
| 66 | +#include <math.h> // for floor |
| 67 | +#include <pthread.h> // for pthread_create, pthread_join |
| 68 | +#include <stdint.h> // for uint32_t |
| 69 | +#include <stdio.h> // for perror, printf |
| 70 | +#include <stdlib.h> // for free, abort, calloc |
| 71 | +#include <string.h> // for strcmp, strncpy, memcpy, strlen |
| 72 | + |
| 73 | +#include "compat/strings.h" // for strncasecmp |
65 | 74 | #include "debug.h" |
| 75 | +#include "host.h" // for exit_uv, mainloop, EXIT_FAIL... |
66 | 76 | #include "lib_common.h" |
| 77 | +#include "messaging.h" // for new_response, msg_universal |
67 | 78 | #include "module.h" |
68 | 79 | #include "tv.h" |
69 | 80 | #include "types.h" |
70 | 81 | #include "utils/color_out.h" |
71 | 82 | #include "utils/macros.h" |
72 | 83 | #include "utils/thread.h" |
73 | 84 | #include "video.h" |
74 | | -#include "video_display.h" |
75 | 85 | #include "video_display/splashscreen.h" |
76 | 86 | #include "vo_postprocess.h" |
77 | 87 |
|
@@ -584,16 +594,16 @@ void display_put_audio_frame(struct display *d, const struct audio_frame *frame) |
584 | 594 | * @param quant_samples number of bits per sample |
585 | 595 | * @param channels count of channels |
586 | 596 | * @param sample_rate samples per second |
587 | | - * @retval TRUE if reconfiguration succeeded |
588 | | - * @retval FALSE if reconfiguration failed |
| 597 | + * @retval true if reconfiguration succeeded |
| 598 | + * @retval false if reconfiguration failed |
589 | 599 | */ |
590 | 600 | bool display_reconfigure_audio(struct display *d, int quant_samples, int channels, int sample_rate) |
591 | 601 | { |
592 | 602 | assert(d->magic == DISPLAY_MAGIC); |
593 | 603 | if (!d->funcs->reconfigure_audio) { |
594 | 604 | log_msg(LOG_LEVEL_FATAL, MOD_NAME "Selected display '%s' doesn't support audio!\n", d->display_name); |
595 | 605 | exit_uv(EXIT_FAIL_USAGE); |
596 | | - return FALSE; |
| 606 | + return false; |
597 | 607 | } |
598 | 608 | return d->funcs->reconfigure_audio(d->state, quant_samples, channels, sample_rate); |
599 | 609 | } |
|
0 commit comments