Hello
I am a beginner user of FreeBSD, I have installed FreeBSD 10 STABLE version in VirtualBox. The only issue I am having with my installation is with the audio. I am running i3 tiling manager. Whenever I listen to an video/audio, either in any player or youtube etc. the speed of the audio is very fast, it sounds like as if a child is talking fast. I searched in google and I found some issues dating back to 2003 with the ac97rate. I have adjusted the rate of dev.pcm.0.ac97rate=55000 from 38735. The issue goes away but when the OS is shutdown and started again, the same speedy audio issues come up again and I have to do the complete procedure again.
I have even added the dev.pcm.0.ac97rate=55000 to /boot/loader.conf and /etc/rc.conf. I also have to change the rate to different values again and again to get the right setup. How can I solve this issue?
Here are my settings:
I am a beginner user of FreeBSD, I have installed FreeBSD 10 STABLE version in VirtualBox. The only issue I am having with my installation is with the audio. I am running i3 tiling manager. Whenever I listen to an video/audio, either in any player or youtube etc. the speed of the audio is very fast, it sounds like as if a child is talking fast. I searched in google and I found some issues dating back to 2003 with the ac97rate. I have adjusted the rate of dev.pcm.0.ac97rate=55000 from 38735. The issue goes away but when the OS is shutdown and started again, the same speedy audio issues come up again and I have to do the complete procedure again.
I have even added the dev.pcm.0.ac97rate=55000 to /boot/loader.conf and /etc/rc.conf. I also have to change the rate to different values again and again to get the right setup. How can I solve this issue?
Here are my settings:
Code:
# cat /dev/sndstat
Installed devices:
pcm0: <Intel ICH (82801AA)> (play/rec) default
Code:
# dmesg | grep pcm
pcm0: <Intel ICH (82801AA)> port 0xd100-0xd1ff,0xd200-0xd23f irq 21 at device 5.0 on pci0
pcm0: <SigmaTel STAC9700/83/84 AC97 Codec>
pcm0: measured ac97 link rate at 39707 Hz
Code:
# cat /boot/loader.conf
sound_load="YES"
snd_driver_load="YES"
snd_ich_load="YES"
dev.pcm.0.ac97rate=55000
Code:
# sysctl dev.pcm
dev.pcm.0.%desc: Intel ICH (82801AA)
dev.pcm.0.%driver: pcm
dev.pcm.0.%location: slot=5 function=0
dev.pcm.0.%pnpinfo: vendor=0x8086 device=0x2415 subvendor=0x8086 subdevice=0x0000 class=0x040100
dev.pcm.0.%parent: pci0
dev.pcm.0.eapd: 1
dev.pcm.0.play.vchans: 2
dev.pcm.0.play.vchanmode: fixed
dev.pcm.0.play.vchanrate: 47998
dev.pcm.0.play.vchanformat: s16le:2.0
dev.pcm.0.rec.vchans: 1
dev.pcm.0.rec.vchanmode: fixed
dev.pcm.0.rec.vchanrate: 47998
dev.pcm.0.rec.vchanformat: s16le:2.0
dev.pcm.0.buffersize: 16384
dev.pcm.0.bitperfect: 0
dev.pcm.0.ac97rate: 55000