Resources for “Introduction to Sound Programming with ALSA”
ALSA Project: www.alsa-project.org
Alternate Sound APIs:
aRts and CSL: www.arts-project.org
JACK: jackit.sourceforge.net
OpenAL: www.openal.org/home
SDL: www.libsdl.org
Sound and MIDI Software for Linux: linux-sound.org
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Sponsored by AMD
If you already use virtualized infrastructure, you are well on your way to leveraging the power of the cloud. Virtualization offers the promise of limitless resources, but how do you manage that scalability when your DevOps team doesn’t scale? In today’s hypercompetitive markets, fast results can make a difference between leading the pack vs. obsolescence. Organizations need more benefits from cloud computing than just raw resources. They need agility, flexibility, convenience, ROI, and control.
Stackato private Platform-as-a-Service technology from ActiveState extends your private cloud infrastructure by creating a private PaaS to provide on-demand availability, flexibility, control, and ultimately, faster time-to-market for your enterprise.
Sponsored by ActiveState
| Speed Up Your Web Site with Varnish | Jun 19, 2013 |
| Non-Linux FOSS: libnotify, OS X Style | Jun 18, 2013 |
| Containers—Not Virtual Machines—Are the Future Cloud | Jun 17, 2013 |
| Lock-Free Multi-Producer Multi-Consumer Queue on Ring Buffer | Jun 12, 2013 |
| Weechat, Irssi's Little Brother | Jun 11, 2013 |
| One Tail Just Isn't Enough | Jun 07, 2013 |
- Speed Up Your Web Site with Varnish
- Containers—Not Virtual Machines—Are the Future Cloud
- Lock-Free Multi-Producer Multi-Consumer Queue on Ring Buffer
- Linux Systems Administrator
- Non-Linux FOSS: libnotify, OS X Style
- Senior Perl Developer
- Technical Support Rep
- UX Designer
- Android's Limits
- Web & UI Developer (JavaScript & j Query)
- Reply to comment | Linux Journal
1 hour 6 min ago - Yeah, user namespaces are
2 hours 23 min ago - Cari Uang
5 hours 54 min ago - user namespaces
8 hours 47 min ago - yea
9 hours 13 min ago - One advantage with VMs
11 hours 42 min ago - about info
12 hours 15 min ago - info
12 hours 16 min ago - info
12 hours 17 min ago - info
12 hours 19 min ago
Featured Jobs
| Linux Systems Administrator | Houston and Austin, Texas | Host Gator |
| Senior Perl Developer | Austin, Texas | Host Gator |
| Technical Support Rep | Houston and Austin, Texas | Host Gator |
| UX Designer | Austin, Texas | Host Gator |
| Web & UI Developer (JavaScript & j Query) | Austin, Texas | Host Gator |
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?




Comments
do u know how to solve this e
do u know how to solve this error i got the same error
plz tell me how to link the programme with alsa library
hardik
simple capture program doesn't record nothing...
I typed the simple playing program and I made some tests, it works almost with no problems.
However, this is not the case for the simple capture program. It is typed like the article says, I compiled and no errors, but the file where the result is redirected has in appearence not information. I played the content of this file with the simple playing. I have tried with different inputs, the CD and the MIC on the KMix interface without many success. The same happens with the 6735l4.c file, there is any idea???
The version of the ALSA API is 1.0.8rc2.
thanx,
--marco.
Am I missing something?
I expected to find the listings from the article, transcribed for compillation by the lazy. But no?
problems compiling listing 1
I get this when I try to run listing 1. I am using alsa version 1.0.6
Do I need to link something?
> /tmp/ccY117TW.o(.text+0x47): In function `main':
> : undefined reference to `snd_pcm_stream_name'
> /tmp/ccY117TW.o(.text+0x84): In function `main':
> : undefined reference to `snd_pcm_access_name'
> /tmp/ccY117TW.o(.text+0xc1): In function `main':
> : undefined reference to `snd_pcm_format_name'
> /tmp/ccY117TW.o(.text+0xd0): In function `main':
> : undefined reference to `snd_pcm_format_description'
> /tmp/ccY117TW.o(.text+0xdd): In function `main':
> : undefined reference to `snd_pcm_format_name'
> /tmp/ccY117TW.o(.text+0x11e): In function `main':
> : undefined reference to `snd_pcm_subformat_description'
> /tmp/ccY117TW.o(.text+0x12b): In function `main':
> : undefined reference to `snd_pcm_subformat_name'
> /tmp/ccY117TW.o(.text+0x16c): In function `main':
Re: problems compiling listing 1
use -lasound
Re: Resources for Introduction to Sound Programming with ALSA
I am using ALSA version 1.6a and seem to be having problems with listing2,3 and 4. I keep getting the error "unable to set hw parameters: Invalid argument -22" I added the -22 by printing the rc value. The error is caused by the snd_pcm_hw_params( handle, params) call to write the parameters to the driver. I looked at the ALSA documentation and can't seem to find a breakdown of the params struct. It would help if I knew what parameter are bad.
Re: Resources for Introduction to Sound Programming with ALSA
the variable dir needs to be initialized to 0. This will make at least listing 2 work. I suspect that it will make listings 3 and 4 work as well.
d!
Re: Resources for Introduction to Sound Programming with ALSA
I have a similar problem, with listing four only. It seems that may Soundblaster live does not accept a sampling rate of 44100. However, a smpling rate of 88200 is accepted. (I have not got any sound yet, but that may be due to other things.)
Re: Resources for Introduction to Sound Programming with ALSA
I'm struggling with the same problem.
Help!
Philip