Skip to content

Instantly share code, notes, and snippets.

Avatar

Andrew Rossignol aarossig

View GitHub Profile
View pulseadio-dlna.service
[andrew@andrew-umpc ~]$ cat /etc/systemd/system/pulseaudio-dlna.service
[Unit]
Description=Pulseaudio DLNA
Requires=sound.target network.target dbus.service
After=sound.target network.target dbus.service
[Service]
User=root
ExecStart=/usr/bin/pulseaudio-dlna --encoder flac
@aarossig
aarossig / gist:44f5e1a926432d01390c
Created Feb 11, 2016
OLinuXino Maxi VGA Output
View gist:44f5e1a926432d01390c
From 31cb1b7313af40e5bc9d6394d1995e511b739ac0 Mon Sep 17 00:00:00 2001
From: Andrew Rossignol <andrew.rossignol@gmail.com>
Date: Wed, 10 Feb 2016 22:49:21 -0800
Subject: [PATCH] Enables VGA output on olinuxino.
---
arch/arm/boot/dts/imx23-olinuxino.dts | 38 +++++++++++++++++++++++++++++++++--
arch/arm/boot/dts/imx23.dtsi | 29 ++++++++++++++++++++++++++
2 files changed, 65 insertions(+), 2 deletions(-)
@aarossig
aarossig / Simple ALSA Demo
Created Jan 25, 2011
ALSA Easier Demo (Random Samples)
View Simple ALSA Demo
/*
* This extra small demo sends a random samples to your speakers.
*/
#include "alsa/asoundlib.h"
static char *device = "default"; /* playback device */
snd_output_t *output = NULL;
unsigned char buffer[16*1024]; /* some random data */