Skip to main content

Out of sync audio video on linux?

Couple of days back, I played around with pulseaudio modules, sources and sinks and all that stuff (Obviously not knowing what I was doing). Few days later, I noticed that video playback from youtube (or any audio visual content) started to become choppy and slow often to the point of audio getting out of sync very quickly. I wasn't sure what the cause of this problem was. I initially thought my CPU was stepping down due to the heat. But it turns out that it was my screwed up pulseaudio config.

Doing `rm -rf ~/.config/pulse` followed by `pulseaudio -k` (kill the pulseaudio daemon) instantly fixed this issue. 

Comments

Popular posts from this blog

Main

Finally, here it is! (to those people who kept insisting on me to write a blog)

Honestly, I haven't a clue as to why I'm putting my time aside to write a blog. I've always wanted to have one, but never really fancied writing diary style entries.

Maybe I'll have another go at it. The first time I started writing for this blog, it was over half a decade ago. The posts I had were exactly the kind of personal diary like boring stuff that most people might not want to read. So I had to take it down.

Along with those personal tidbits, I had tons of crossposted content that I left in, thinking it would spice up things a bit. (Courtesy: Digg social spam tools; I still miss the old Digg). That turned out to be a breeding ground for spam comments.

verbose = 0;

tl;dr
I'm using this blog as a place to put in some amount of brain dump. Since this sub-domain is the primarily shared URL connected to "me", I'll also be using this a place to consolidate all my other l…

Adding Nextbit Robin to udev rules

If you ever had to use adb or fastboot for your android devices on linux, you may have noticed that devices show up only when you add 'sudo' to these tools. This isn't good. Here's a way to remedy it. Instructions tested on openSUSE tumbleweed.

* Update your adb and fastboot from Android Studio SDK manager (platform-tools) or wherever you got it from.
* Make sure your user is added to the "plugdev".  Create a plugdev group if it doesn't exist "sudo groupadd plugdev"
* Add your user to plugdev "sudo usermod -a -G plugdev $(whoami)"
* Edit /etc/udev/rules.d/51-android.rules (create file if it doesn't exist) and add the following line for nextbit robin:
SUBSYSTEM=="usb", ATTR{idVendor}=="2c3f", MODE="0666", GROUP="plugdev" Replace the ATTR{idVendor}'s value with your device's value. For all nextbit robin devices, these are the same "2c3f". You can find them by typing "lsus…