-
Add
Enable=Source
to /etc/bluetooth/audio.conf right after[General]
. -
Find address in form XX:XX:XX:XX:XX:XX of phone with
hcitool scan
. -
Pair and trust smartphone with
sudo bluez-simple-agent hci0 XX:XX:XX:XX:XX:XX
andsudo bluez-test-device trusted XX:XX:XX:XX:XX:XX yes
. -
Create loopback in pulseaudio connection bluetooth a2dp source with alsa sink:
Latency Comparison Numbers (~2012) | |
---------------------------------- | |
L1 cache reference 0.5 ns | |
Branch mispredict 5 ns | |
L2 cache reference 7 ns 14x L1 cache | |
Mutex lock/unlock 25 ns | |
Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
Compress 1K bytes with Zippy 3,000 ns 3 us | |
Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
# ~/.mpd/config | |
# MPD configuration that enables you to run the server from the userspace | |
# And to stream music over HTTP so that you could listen it in a distributed fashion (from the office/school) | |
# Uncomment the commented lines to stream music to the local audio output | |
# Note that you can have more than one audio outputs enabled! | |
# Where is my music? | |
music_directory "/home/mpdaemon/Music" | |
playlist_directory "/home/mpdaemon/.mpd/playlists" |
package com.opentok.media.avc; | |
import java.io.IOException; | |
import java.nio.ByteBuffer; | |
import android.media.MediaCodec; | |
import android.media.MediaCodecInfo; | |
import android.media.MediaFormat; | |
public class AvcEncoder { |
##git mergetool
In the middle file (future merged file), you can navigate between conflicts with ]c
and [c
.
Choose which version you want to keep with :diffget //2
or :diffget //3
(the //2
and //3
are unique identifiers for the target/master copy and the merge/branch copy file names).
:diffupdate (to remove leftover spacing issues)
:only (once you’re done reviewing all conflicts, this shows only the middle/merged file)
Once upon a time there was a user that wanted to install firefox.
The user tried to do pacman -S firefox
but it didn't work. The all
mighty pacman reported that firefox-3.2.4-1.i686.pkg.tar.gz
could not
be found on his mirror. So the user tried pacman -Sy firefox
. It
worked and the user rejoiced since he could once again go and troll /h/.
But all was not good. The user had made a grave error!
See, when the user told the almighty pacman to -Sy firefox
, pacman did
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
unbind C-b | |
set-option -g prefix ` | |
bind ` send-prefix |
Command: C:\Program Files\Sublime Text 3\sublime_text.exe | |
Arguments: $(ItemPath):$(CurLine):$(CurCol) | |
Initial directory: $(ItemDir) |
How to get simultaneous / dual output to both Analog out and HDMI out with Jack Audio on Ubuntu 13.10
- OS: Xubuntu (Ubuntu) 13.10 (saucy)
- Audio: HDA Intel PCH (ALC269VB Analog) on an Intel Core i5 2557M (Sandy Bridge microarch)
jackd2
, 1.9.9.5+20130622git7de15e7a-1