background preloader


Facebook Twitter

Introduction to Sound Programming with ALSA. ALSA stands for the Advanced Linux Sound Architecture. It consists of a set of kernel drivers, an application programming interface (API) library and utility programs for supporting sound under Linux. In this article, I present a brief overview of the ALSA Project and its software components. The focus is on programming the PCM interfaces of ALSA, including programming examples with which you can experiment. You may want to explore ALSA simply because it is new, but it is not the only sound API available.

ALSA is a good choice if you are performing low-level audio functions for maximum control and performance or want to make use of special features not supported by other sound APIs. If you already have written an audio application, you may want to add native support for the ALSA sound drivers. The ALSA Project was started because the sound drivers in the Linux kernel (OSS/Free drivers) were not being maintained actively and were lagging behind the capabilities of new sound technology. Linux ALSA sound notes. Updated: 2008-01-23Created: 2004-08-14 Licensing and disclaimer of warranty This document is an incomplete draft. These notes are about configuring the Linux ALSA sound subsystem components (in particular the ALSA drivers and the ALSA library), and not about installing the various bits of ALSA. These notes have some limitations, mostly due to my limited experiences, and my reluctance to include hearsay (but I do sometimes): The are very incomplete, both as a whole and each part.

There are missing sections, links, paragraphs. The text has not been proofread or edited or checked. Unless you are a UNIX/Linux developer don't even try to compile and install the various ALSA components yourself, unless you feel really lucky: just use the precompiled packages provided by your distribution for the kernel, kernel drivers, libraries and applications. Structure of ALSA and terminology Takashi Iwai has a nice diagram that illustrates the structure of ALSA. The hardware level The kernel module level output. A close look at ALSA. Intro -- Concepts -- Configuration -- Troubleshooting -- In practice Intro Everyone who has more to do with music on their Linux box than listening to stereo sound on a single sound card will sooner or later come into contact with ALSA. It stands for Advanced Linux Sound Architecture and is much more powerful and versatile than the dated Open Sound System which preceded it. In fact, you may already be using ALSA unawares via its OSS emulation feature.

Still, when searching for some answers concerning ALSA on the web, I found a great many more questions, contradictory statements and very few actual answers. There are two reasons for this: Some sound issues are not as simple as they seem, and ALSA's documentation is plain lousy (which some have attributed to job security ). Before we start, you might want to have a look at other sources.

. — it covers more ground than this page at the expense of going less deep. Other web sources include a LINUX Journal article about basic ALSA programming . . Alsa. Linux Audio and Sound - Application and Software Index [Linux-Sound] Gimmix. Music Player for GTK+ Download Entertainer 0.5.1 for Linux - Entertainer aims to be a simple and easy-to-use media center solution for Gnome and XFce desktop environments. Entertainer aims to be a simple and easy-to-use media center solution for Gnome and XFce desktop environments.

It is written completely in Python using object-oriented programming paradigm. Entertainer uses GStreamer multimedia framework for multimedia playback. User Interface is implemented with Clutter UI-library, which allows sleek OpenGL animated user interfaces. Entertainer also uses other great projects like SQLite, pyIMDBb and iNotify. The ultimate goal of the project is to create the best media center solution available for any platform. Movies and TV-series You can watch movies and TV-Series from your harddrive. Music library Let's play music! Photographs Watch your family photographs from the big screen. RSS-reader Entertainer includes a simple RSS-reader which allows you to read feeds right from your couch.

Themes Entertainer supports themeing! Requirements: Install the following dependencies: Installation of Clutter 0.5.0 Add the following to your sources.list then Installation: . . Eina :: a classic player for a modern era. Ario - Captures d'écran. Audacious - An Advanced Audio Player.