This is about a simple thing-
Since my internal microphone wasn't working I connected a simple wired iPhone earphones (3.5mm jack)
Need to record audio and listen to using Chrome. Since this is a well known accessory I think this should be supported.
Follow up on:
[ https://forums.freebsd.org/threads/simple-internal-microphone-on-freebsd-13r.80791/ ]
Here is the sysctl and dmesg after that:
Here is the problem now:
I set the following:
sysctl hw.snd.default_unit=1
I started audacity and set recording src as /dev/dsp0 and played it using the earphones through /dev/dsp1. Everything worked fine!
Later I set sysctl hw.snd.default_unit=0 and started chrome. I was able to record audio, download it and play under Audacity but not using Chrome!
If I wish to listen to audio via Chrome I have to set sysctl hw.snd.default_unit=1, close and start Chrome and I can listen to audio, BUT cannot record audio then!
Any idea how to make Chrome do both record audio AND play it at the same time?
Is this a Chrome issue or my weird microphone setup?
Firefox records but the audio is distorted, it's like someone is speaking with their mouth full of unchewable popcorn while being behind 20 glass windows with thundering and rains pouring.?️??️
Since my internal microphone wasn't working I connected a simple wired iPhone earphones (3.5mm jack)
Need to record audio and listen to using Chrome. Since this is a well known accessory I think this should be supported.
Follow up on:
[ https://forums.freebsd.org/threads/simple-internal-microphone-on-freebsd-13r.80791/ ]
Here is the sysctl and dmesg after that:
Code:
sysctl -a
dev.hdaa.0.nid35: audio mixer
Widget cap: 0x0020010b STEREO
Association: 2 (0x0001)
OSS: speaker, mic
Input amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
Connections: 6
+ [DISABLED] <- nid=24 [pin: Speaker (None)] [DISABLED]
+ <- nid=25 [pin: Mic (Black Jack)]
+ [DISABLED] <- nid=26 [pin: Speaker (None)] [DISABLED]
+ [DISABLED] <- nid=27 [pin: Speaker (None)] [DISABLED]
+ <- nid=29 [beep widget]
+ [DISABLED] <- nid=18 [pin: Speaker (None)] [DISABLED]
dev.hdaa.0.nid34: audio mixer [DISABLED]
Widget cap: 0x0020010b STEREO
Input amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
Connections: 6
+ [DISABLED] <- nid=24 [pin: Speaker (None)] [DISABLED]
+ [DISABLED] <- nid=25 [pin: Mic (Black Jack)]
+ [DISABLED] <- nid=26 [pin: Speaker (None)] [DISABLED]
+ [DISABLED] <- nid=27 [pin: Speaker (None)] [DISABLED]
+ [DISABLED] <- nid=29 [beep widget]
+ [DISABLED] <- nid=19 [pin: Speaker (None)] [DISABLED]
dev.hdaa.0.nid25_original: 0x04a11030 as=3 seq=0 device=Mic conn=Jack ctype=1/8 loc=Right color=Black misc=0
dev.hdaa.0.nid25_config: 0x04a11030 as=3 seq=0 device=Mic conn=Jack ctype=1/8 loc=Right color=Black misc=0
dev.hdaa.0.nid25: pin: Mic (Black Jack)
Widget cap: 0x0040048b PWR UNSOL STEREO
Association: 2 (0x0001)
OSS: mic (mic)
Pin cap: 0x00003724 PDC IN VREF[ 50 80 100 GROUND HIZ ]
Pin config: 0x04a11030 as=3 seq=0 device=Mic conn=Jack ctype=1/8 loc=Right color=Black misc=0
Pin control: 0x00000025 IN VREFs
Input amp: 0x00270300 mute=0 step=3 size=39 offset=0 (0/30dB)
--------
dmesg | grep hd
hdac0: <Intel Comet Lake-LP HDA Controller> mem 0xblabla-0xblabla,0xblabla-0xblalbla at device 31.3 on pci0
hdacc0: <Realtek ALC257 HDA CODEC> at cad 0 on hdac0
hdaa0: <Realtek ALC257 Audio Function Group> at nid 1 on hdacc0
pcm0: <Realtek ALC257 (Analog)> at nid 20 and 25 on hdaa0
pcm1: <Realtek ALC257 (Right Analog Headphones)> at nid 33 on hdaa0
hdacc1: <Intel Kaby Lake HDA CODEC> at cad 2 on hdac0
hdaa1: <Intel Kaby Lake Audio Function Group> at nid 1 on hdacc1
pcm2: <Intel Kaby Lake (HDMI/DP 8ch)> at nid 3 on hdaa1
Here is the problem now:
I set the following:
sysctl hw.snd.default_unit=1
I started audacity and set recording src as /dev/dsp0 and played it using the earphones through /dev/dsp1. Everything worked fine!
Later I set sysctl hw.snd.default_unit=0 and started chrome. I was able to record audio, download it and play under Audacity but not using Chrome!
If I wish to listen to audio via Chrome I have to set sysctl hw.snd.default_unit=1, close and start Chrome and I can listen to audio, BUT cannot record audio then!
Any idea how to make Chrome do both record audio AND play it at the same time?
Is this a Chrome issue or my weird microphone setup?
Firefox records but the audio is distorted, it's like someone is speaking with their mouth full of unchewable popcorn while being behind 20 glass windows with thundering and rains pouring.?️??️