Re: [Alsa-devel] Receiving Sequencer Events

2002-02-17 Thread Guenther Sohler
Thank you very much. I'll implement it like that. rds guenther On 17-Feb-02 Jaroslav Kysela wrote: > On Sun, 17 Feb 2002, Guenther Sohler wrote: > >> Hallo List, >> >> I want to receive midi events from my external midi keyboard. >> >> Therefore I tried the seq decoder which comes with the alsa

RE: [Alsa-devel] dolby digital output

2002-02-17 Thread James Courtier-Dutton
> -Original Message- > From: Hod McWuff [mailto:[EMAIL PROTECTED]] > Sent: 17 February 2002 18:21 > To: James Courtier-Dutton > Subject: RE: [Alsa-devel] dolby digital output > > > > So, the upshot is that thanks to the AC3 latency spec, even with a > lightning-fast encoder, it wouldn't wo

RE: [Alsa-devel] dolby digital output

2002-02-17 Thread James Courtier-Dutton
>From what I understand, we can do ac3 "like" encoders in linux for free, and they might actually make sounds come out on Commercial AC3 decoders, but unless we pay a license fee, we cannot actually call it AC3. This is why we now have the "liba52" decoder which just happens to work quite nicely o

Re: [Alsa-devel] dolby digital output

2002-02-17 Thread Markus Plail
Hi there! On Sun, 17 Feb 2002 18:15:55 +0100 Andy Lo-A-Foe wrote: > On Sun, Feb 17, 2002 at 01:33:32AM -0500, Hod McWuff wrote: > > > I'd imagine the first step would be to add an ac3 encoder, and then > > (possibly) the 2->5.1 channel demuxing for stereo streams. This would > > result in the a

RE: [Alsa-devel] dolby digital output

2002-02-17 Thread James Courtier-Dutton
Any AC3 or DTS takes some time to decode even with an external decoder. The nice thing about them is that the standard tell us that they are fixed latency decoders. So, AC3 decoder will take a fixed amount of time to take a digital SPDIF in and convert it to 6 analogue out's for your speakers. Th

Re: [Alsa-devel] dolby digital output

2002-02-17 Thread Andy Lo-A-Foe
On Sun, Feb 17, 2002 at 01:33:32AM -0500, Hod McWuff wrote: > I'd imagine the first step would be to add an ac3 encoder, and then > (possibly) the 2->5.1 channel demuxing for stereo streams. This would > result in the ability to mix dolby digital streams (DVD's) with more > mundane PCM streams, s

Re: [Alsa-devel] Receiving Sequencer Events

2002-02-17 Thread Jaroslav Kysela
On Sun, 17 Feb 2002, Guenther Sohler wrote: > Hallo List, > > I want to receive midi events from my external midi keyboard. > > Therefore I tried the seq decoder which comes with the alsa package. > This application creates a port and when I connect the midi port to this > listener ports, i can s

[Alsa-devel] Receiving Sequencer Events

2002-02-17 Thread Guenther Sohler
Hallo List, I want to receive midi events from my external midi keyboard. Therefore I tried the seq decoder which comes with the alsa package. This application creates a port and when I connect the midi port to this listener ports, i can see the events coming from the keyboard. That means, If i

RE: [Alsa-devel] PCM frames already played

2002-02-17 Thread Guenther Sohler
Thank you very much. This sounds reasonably. I will try it. Until now I hoped there would be a more easy solution. But this is ok. rds guenther On 17-Feb-02 James Courtier-Dutton wrote: > I do this by counting how many frames have already been written(from the > app), minus the frames still wait

RE: [Alsa-devel] PCM frames already played

2002-02-17 Thread James Courtier-Dutton
I do this by counting how many frames have already been written(from the app), minus the frames still waiting to be written (from alsa, i.e. How many frames are still in the sound cards buffer waiting to be output.) Cheers James > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[

[Alsa-devel] Using plughw vs. hw in PD

2002-02-17 Thread Frank Barknecht
Hi all, I encountered a problem using PD (available at http://www.crca.ucsd.edu/~msp/software.html) with the plugin layer of ALSA (and a Midiman Audiophile + SBLive card here). This probably is a problem with the PD source code, but on pd-list one is a bit at a loss in fixing that problem. I can

[Alsa-devel] PCM frames already played

2002-02-17 Thread Guenther Sohler
Is there a way to determine the number of bytes/frames already played through the DAC since last reset via snd_pcm_status in v0.9.x ? Its possible in OSS via ioctl and in alsa v0.5.0 you can view at a element "bytes" in sthe respective structure. But how does it work in v0.9.x ? rds guenther

Re: [Alsa-devel] Sudden ISA DMA problems

2002-02-17 Thread Chris Rankin
--- Jaroslav Kysela <[EMAIL PROTECTED]> wrote: > Using pci_allocate_consistent() for ISA DMA > allocation routines is > definitely a bad idea. I added > snd_malloc_isa_pages() code as you > suggested to snd.o (it seems that it's good to > abstract such bus specific > allocation routines). Thanks

Re: [Alsa-devel] Problems with __BYTE_ORDER

2002-02-17 Thread Jaroslav Kysela
On Sat, 16 Feb 2002, Haroldo Gamal wrote: > Takashi, > > The modification you made on alsa-kernel/include/asound.h carries one problem: > > __BYTE_ORDER is not defined under linux/types.h. It makes a generation of > wrong SND_BIG_ENDIAN constant on i386 architecture. > > Am I wr

Re: [Alsa-devel] Sudden ISA DMA problems

2002-02-17 Thread Jaroslav Kysela
On Sat, 16 Feb 2002, [iso-8859-1] Chris Rankin wrote: > Hi, > > I saw from the CVS ChangeLog that ALSA is moving away > from the deprecated virt_to_bus() to the new > pci_allocate_consistent() system calls. Unfortunately, > this is causing problems for my ISA DMA sound driver > (CS4231 / MPU401 b