[Alsa-user] Encode PCM S16LE

2007-04-03 Thread Mik Ngo
Hello, I am trying to capture the "default" audio output using alsa API and use ffmpeg to compress the raw stream. I set the captured format to be SND_PCM_FORMAT_S16_LE and use CODEC_ID_MP2 from ffmpeg to compress the captured stream. For some reasons, the output stream is corrupted and I can hea

Re: [Alsa-user] Encode PCM S16LE

2007-04-03 Thread Michael Bourgeous
Try testing your program by reading a raw PCM file from disk, to see if it is ffmpeg's encoding routines (which seems likely if the S16_LE format is working). If you are able to record flawless raw audio with your program, then you'd probably get better answers by asking on the ffmpeg list. Mike

[Alsa-user] Could anybody please give me an advice.

2007-04-03 Thread Ali Rustam
Could anybody please give me an advice. I want to by an external sound card for my notebook in amount of say 150-200$. Can anybody tell me which devices of this price work best with linux.I'm thinking of audiophile USB and Echo Indigo but to be honest I don't know if they are supported well en

Re: [Alsa-user] Could anybody please give me an advice.

2007-04-03 Thread Federico Grau
On Tue, Apr 03, 2007 at 09:51:00PM +0100, Ali Rustam wrote: > Could anybody please give me an advice. > > I want to by an external sound card for my notebook in amount of say > 150-200$. > Can anybody tell me which devices of this price work best with linux.I'm > thinking of audiophile USB and

Re: [Alsa-user] restoring mixer settings, multiuser

2007-04-03 Thread sara lidgey
The permissions are as follows: $ ls -l /etc/asound.state -rw-r--r-- 1 root root 56196 Mar 15 18:32 /etc/asound.state Lee Revell <[EMAIL PROTECTED]> wrote: On 4/2/07, sara lidgey wrote: > Hi, > > I work in an environment where many different people are sharing the same > few systems for aud

Re: [Alsa-user] restoring mixer settings, multiuser

2007-04-03 Thread Lee Revell
On 4/3/07, sara lidgey <[EMAIL PROTECTED]> wrote: > The permissions are as follows: > $ ls -l /etc/asound.state > -rw-r--r-- 1 root root 56196 Mar 15 18:32 /etc/asound.state > Should work. Does alsactl restore return any errors when it is run from .bash_profile? Any difference if you run it f

Re: [Alsa-user] Could anybody please give me an advice.

2007-04-03 Thread Bill Unruh
On Tue, 3 Apr 2007, Ali Rustam wrote: > Could anybody please give me an advice. > > I want to by an external sound card for my notebook in amount of say 150-200$. > Can anybody tell me which devices of this price work best with linux.I'm > thinking of audiophile USB and Echo Indigo but to be hon