diff options
Diffstat (limited to 'firmware/drivers')
| -rw-r--r-- | firmware/drivers/audio/as3514.c | 2 | ||||
| -rw-r--r-- | firmware/drivers/audio/uda1380.c | 2 | ||||
| -rw-r--r-- | firmware/drivers/audio/wm8731.c | 4 | ||||
| -rw-r--r-- | firmware/drivers/audio/wm8758.c | 2 | ||||
| -rw-r--r-- | firmware/drivers/audio/wm8975.c | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/firmware/drivers/audio/as3514.c b/firmware/drivers/audio/as3514.c index 5d7c700..f88cafe 100644 --- a/firmware/drivers/audio/as3514.c +++ b/firmware/drivers/audio/as3514.c @@ -394,7 +394,7 @@ void audiohw_set_recvol(int left, int right, int type) * Enable line in 1 analog monitoring * */ -void audiohw_set_monitor(int enable) +void audiohw_set_monitor(bool enable) { /* LI1R_Mute_on - default */ unsigned int line_in1_r = as3514.regs[LINE_IN1_R] & ~(1 << 5); diff --git a/firmware/drivers/audio/uda1380.c b/firmware/drivers/audio/uda1380.c index 7ff34e7..f5b637e 100644 --- a/firmware/drivers/audio/uda1380.c +++ b/firmware/drivers/audio/uda1380.c @@ -451,7 +451,7 @@ void audiohw_set_recvol(int left, int right, int type) * Enable or disable recording monitor (so one can listen to the recording) * */ -void audiohw_set_monitor(int enable) +void audiohw_set_monitor(bool enable) { if (enable) /* enable channel 2 */ uda1380_write_reg(REG_MUTE, uda1380_regs[REG_MUTE] & ~MUTE_CH2); diff --git a/firmware/drivers/audio/wm8731.c b/firmware/drivers/audio/wm8731.c index 66eb1e8..e051fc4 100644 --- a/firmware/drivers/audio/wm8731.c +++ b/firmware/drivers/audio/wm8731.c @@ -177,7 +177,7 @@ void audiohw_postinit(void) { sleep(HZ); - /* 4) Set the ‘Active’ bit in register 12h. */ + /* 4) Set the �Active� bit in register 12h. */ codec_set_active(true); audiohw_mute(false); @@ -316,7 +316,7 @@ void audiohw_set_recvol(int left, int right, int type) } } -void audiohw_set_monitor(int enable) +void audiohw_set_monitor(bool enable) { if(enable) { diff --git a/firmware/drivers/audio/wm8758.c b/firmware/drivers/audio/wm8758.c index 4a01836..30740d5 100644 --- a/firmware/drivers/audio/wm8758.c +++ b/firmware/drivers/audio/wm8758.c @@ -268,7 +268,7 @@ void audiohw_set_recvol(int left, int right, int type) { (void)type; } -void audiohw_set_monitor(int enable) { +void audiohw_set_monitor(bool enable) { (void)enable; } diff --git a/firmware/drivers/audio/wm8975.c b/firmware/drivers/audio/wm8975.c index 65a5f03..a069d15 100644 --- a/firmware/drivers/audio/wm8975.c +++ b/firmware/drivers/audio/wm8975.c @@ -311,7 +311,7 @@ void audiohw_set_recvol(int left, int right, int type) { (void)type; } -void audiohw_set_monitor(int enable) { +void audiohw_set_monitor(bool enable) { (void)enable; } |