I found these broken links in the page
http://www.alsa-project.org/documentation.php3 :
http://www.alsa-project.org/~iwai/*
http://www.alsa-project.org/~frank/alsa-sequencer/
http://www.alsa-project.org/~valentyn/*
http://www.alsa-project.org/~jfulmer/alsa-faq.html
--
Giuliano.
-
On Wed, 26 May 2004 09:52:06 +0200 (CEST)
Jaroslav Kysela <[EMAIL PROTECTED]> wrote:
> > > ALSA does not know about this. All period sizes must be equal.
> >
> > I thought about this again. Are you sure all periods must be aqual ?
> > When I record or play something using unequal periods, sound
On Sun, 23 May 2004 11:21:41 +0200 (CEST)
Jaroslav Kysela <[EMAIL PROTECTED]> wrote:
> On Sat, 22 May 2004, Giuliano Pochini wrote:
>
> > Period 0 is 6624 frames and Period 1 is 6592 frames long (32 frames
> > shorter). I put some debug code and this is the output for
On Sun, 23 May 2004 11:21:41 +0200 (CEST)
Jaroslav Kysela <[EMAIL PROTECTED]> wrote:
> On Sat, 22 May 2004, Giuliano Pochini wrote:
>
> > Period 0 is 6624 frames and Period 1 is 6592 frames long (32 frames
> > shorter). I put some debug code and this is the output for
I'm getting a lot of xruns with some buffer/period sizes and it's perfectly
reproducible. It happens when the buffer is divided in two periods and the
second period is a bit smaller of the first one. For example:
[EMAIL PROTECTED] Giu]$ aplay -v -B30 -F15 something.wav
Playing WAVE 'som
On Sun, 16 May 2004 15:55:29 +0200 (CEST)
Jaroslav Kysela <[EMAIL PROTECTED]> wrote:
> > snd_pcm_lib_preallocate_pages_for_all() preallocates the buffers for the
> > first 4 substreams by default. Can I change that number from the driver ? I
> > would like to preallocate a buffer only for the firs
On 18-May-2004 Manuel Jander wrote:
> Unfortunately i have to agree with Clemens. In my opinion the ALSA API
> is giving the applications too much freedom in choosing parameters and
> does not enforce any restrictions on hardware that can't support them.
I don't thing that freedom is a bad thing
I'm trying to write a rule for the Layla24. That card supports all standard
sample rates 8KHz-96KHz and continuous rates only in the range 25KHz-100KHz.
I wrote this rule, but ALSA gets confused and it sometimes chooses a wrong
value, sometimes fails. I can't figure out why. This is the rule:
{
snd_pcm_lib_preallocate_pages_for_all() preallocates the buffers for the
first 4 substreams by default. Can I change that number from the driver ? I
would like to preallocate a buffer only for the first subdev, or maybe for
the first, the 3rd, the 5th...
--
Giuliano.
---
On Fri, 14 May 2004 12:37:46 +0200
Takashi Iwai <[EMAIL PROTECTED]> wrote:
> > > prepare and trigger callbacks are already in irq-disabled.
> > > i.e. you need only spin_lock() in them.
> >
> > Does it mean that ALSA acquires the lock only when it calls PCM callbacks,
> > that is trigger(), etc.,
I get the size to be passed to request_mem_region()
with pci_resource_len(). But that size sometimes
(depends on the card) is several MBs, while the hw
registers are just a few bytes above the base
address. Is it ok using a fixed length ?
--
Giuliano.
--
On Mon, 10 May 2004 17:08:49 +0200
Takashi Iwai <[EMAIL PROTECTED]> wrote:
> prepare and trigger callbacks are already in irq-disabled.
> i.e. you need only spin_lock() in them.
Does it mean that ALSA acquires the lock only when it calls PCM callbacks,
that is trigger(), etc., are atomic only wr
Fix for:
/home/Giu/soft/alsa-driver-1.0.4/ppc/pmac.c: In function `snd_pmac_tx_intr':
/home/Giu/soft/alsa-driver-1.0.4/ppc/pmac.c:702: warning: `return' with no value, in
function returning non-void
[...]
--- ppc/pmac.c_old Thu May 13 19:49:12 2004
+++ ppc/pmac.c Thu May 13 19:49:57 200
On 13-May-2004 Adam Tla/lka wrote:
>> What do you want to do with the mixer?
> Hmm - typically people just want to control PCM volume.
> When using OSS you can just do mixer ioctl's on the opened PCM fd.
> Simple and clear.
No, it's not simple, unless the driver makes it simple
removing some cap
On 10-May-2004 Takashi Iwai wrote:
> prepare and trigger callbacks are already in irq-disabled.
> i.e. you need only spin_lock() in them. [...]
Fine. I moved SetSampleRate() from prepare() to the hw_params()
callback because it may need to reload the firmware.
--
Giuliano.
-
On 10-May-2004 Takashi Iwai wrote:
> At Sun, 9 May 2004 18:21:21 +0200,
> Giuliano Pochini wrote:
>>
>> I read /linux/Documentation/firmware_class/README infos about the firmware
>> loader. That loader is not used by any of the alsa drivers. Is there a
>> reason
On Wed, 12 May 2004, James Courtier-Dutton wrote:
> Are you saying that Opensound OSS linux drivers support the LynxTWO,
> Lynx L22 and Lynx AES16 ? I don't think so.
>From www.opensound.com homepage:
* OSS v3.99.1c [...] Beta drivers for LynxTWO professional soundcards
announced.
--
Giuli
On Wed, 12 May 2004, James Courtier-Dutton wrote:
> Just for general info.
> pci10b5,1142 NOT-HANDLED "lynxone"
Add the LynxTWO, Lynx L22 and Lynx AES16. LynxStudio provides programming
info only under a NDA that doesn't allow the licencee to release anything
in source form.
--
Giuliano.
-
On 11-May-2004 Niklas Werner wrote:
> Hi *,
>
> is there any progress on the status of full support for the newer devices
> as snapper, etc (in the AlBooks,..). I'm running the 2.6.5 benh-kernel
> from bitkeeper and basically the sound only works reliably when using the
> oss emulation.
I have a
On 10-May-2004 Takashi Iwai wrote:
>> > Some drivers use spin_lock_irq() a lot, while others always use
>> > spin_lock_irqsave(). I can't see the difference. When it's safe
>> > using the _irq() version ?
>>
>> Only when you know that you are not in interrupt context.
>
> also, not in the context
On Sat, 6 Mar 2004, Jaroslav Kysela wrote:
>> On the Echoaudio cards the sample rate is a global setting, so I need a way
>> to prevent an app to change the rate if someone else already set it (the
>> card han several devices/subdevices). I was thinking to put a simple
>> "if (IsAudioOpen()) rate
I read /linux/Documentation/firmware_class/README infos about the firmware
loader. That loader is not used by any of the alsa drivers. Is there a
reason ? Should I write my own custom loader or is it better using the
firmware-class one ?
--
Giuliano.
Some drivers use spin_lock_irq() a lot, while others always use
spin_lock_irqsave(). I can't see the difference. When it's safe using the
_irq() version ?
--
Giuliano.
---
This SF.Net email is sponsored by Sleepycat Software
Learn develope
On 04-May-2004 Takashi Iwai wrote:
>> After a lot of cleanups and coding style changes, my driver still has some
>> things that must be fixed properly. Busy-waits are one of those.
>>
>> The most used busy-waits have a timeout of 10ms and 100ms and they are
>> called with a spinlock_irq held or fr
After a lot of cleanups and coding style changes, my driver still has some
things that must be fixed properly. Busy-waits are one of those.
The most used busy-waits have a timeout of 10ms and 100ms and they are
called with a spinlock_irq held or from the irq handler. With my card
the longest wai
On 28-Apr-2004 Clemens Ladisch wrote:
> Steve deRosier wrote:
>> Is there any way for a program to query the alsa-lib to determine
>> the version number?
>
> The function snd_asoundlib_version() won't be available before 1.0.5.
> For earlier versions, you can try to test if the symbols listed in
>
> I have some problems with 6 channel sis 7012 device - I'm using it as 3
> stereo channels. I trigger 3 different instances of aplay at once and I get
> underrun messages from aplay.
>
> What does this mean ?
It happens because aplay can't send audio data as fast as the card needs it.
> How to
On Sun, 28 Mar 2004 09:54:46 +0200 (CEST)
Jaroslav Kysela <[EMAIL PROTECTED]> wrote:
> On Sat, 27 Mar 2004, Giuliano Pochini wrote:
>
> > I'm not sure if this is alsa's fault. It happens when I unload the module.
> > Yup, snd_gina24 is the driver I'm devel
I'm not sure if this is alsa's fault. It happens when I unload the module.
Yup, snd_gina24 is the driver I'm developing, but it also happens with
snd-powermac and when I try to load a module for a card I don't have.
Linux Jay 2.6.5-rc2-ben0 #1 SMP Sat Mar 27 09:10:55 CET 2004 ppc unknown
Badnes
The hw supports all standard sample rates from 8KHz to 96KHz and continuous
mode, but the latter only in the range 25KHz-100KHz. What kind of constraint
I have to set ?
--
Giuliano.
---
This SF.Net email is sponsored by: IBM Linux Tutorials
On 25-Mar-2004 Brian Furey wrote:
> Thanks Giuliano,
>
> How can I get a dump of the current hardware configuration space?
Hmm, lspci ? :)
If you mean how to get the capabilities of the card, it's a bit
tricky. The caps are not a static thing. Each setting may rure
others. For example, a card ha
On 24-Mar-2004 Brian Furey wrote:
> Hi all,
> im using the ALSA driver 1.0.0 on two linux machines that connect a
> voice-over-ip session. I need to know the minimum fragment size that
> the alsa driver can take from the soundcard and place in the
> sending/receiving buffer. Does it depend on the
When I try to load a module and it fails (snd-darla20 in this case) the
module is not unloaded. IIRC it didn't happen some months ago, but I have no
idea what is the cause because I changed a lot of stuff in the meantime
(kernel, compiler, modutils...). Is this the expected behaviour ?
[EMAIL PR
My driver is almost complete and I'm working to make it acceptable for
inclusion in alsa-driver. It drives 8 different cards and it raises some
problems. The main file is echoaudio.c and is contains all the control
interfaces of all cards. It registers only the controls a card has at
runtime, so
On Mon, 22 Mar 2004, Pavana Sharma wrote:
> Hello,
>
> I am trying to export the controls to user space. I want to know the
> complete list of controls
> [...]
> Where can I get the complete list of controls which an audio codec has
> to support.
There is not such a list because they depend on
On 10-Mar-2004 Ove Kaaven wrote:
>> Uhm... I think first of all we need a way to know how many
>> virtual channels are available (hw and sw)
>
> For the EMU10K1, snd_pcm_info_get_subdevices_count() and
> snd_pcm_info_get_subdevices_avail() works for me. But I suppose you're
> right that this isn'
On 10-Mar-2004 Ove Kaaven wrote:
> Well, the requirements that raised this thread should be fairly clear.
> For example,
>
> ALTERNATIVE 1
>
> snd_pcm_set_volume(snd_pcm_t* pcm, int volume)
>
> and
>
> snd_pcm_set_pan(snd_pcm_t* pcm, int pan)
>
> using whatever value range makes the most sense, a
On 09-Mar-2004 Ove Kaaven wrote:
> Independently? No, our software mixing code resamples, adjusts volume,
> and mixes the stream into the buffer in one step.
It should be more efficient than separate passes. It minimizes
memory i/o and some operation (multiply-add == volume-mix) can
be done nati
On 06-Mar-2004 Adam Tla/lka wrote:
>> > On the Echoaudio cards the sample rate is a global setting, so I need a way
>> > to prevent an app to change the rate if someone else already set it (the
>> > card han several devices/subdevices). I was thinking to put a simple
>> > "if (IsAudioOpen()) rate
On the Echoaudio cards the sample rate is a global setting, so I need a way
to prevent an app to change the rate if someone else already set it (the
card han several devices/subdevices). I was thinking to put a simple
"if (IsAudioOpen()) rate_min=rate_max=current_rate;" in pcm_open callback,
but
On 04-Mar-2004 Takashi Iwai wrote:
>> > > It is wavetable synthesizer API not PCM API. This part of ALSA is still
>> > > in the development phase.
>> >
>> > But when that gets fully developed, would I have to use the rawmidi API
>> > to do this then?
>>
>> I think that sequencer API is more appro
On 02-Mar-2004 Manuel Jander wrote:
>> Yes. Every driver using SG must do this. Look into bt87x.c or
>> via82xx.c for examples.
>
> Well, i guess in that case the period size loses any relevance in
> terms of efficiency.
Efficiency about what ? If the hardware can be programmed to use
any pe
On 25-Feb-2004 Adam Tla/lka wrote:
> On Tue, Feb 24, 2004 at 10:54:58PM +0100, Benno Senoner wrote:
>> for those that are too lazy to browse the forums:
>>
>> http://www.4front-tech.com/forum/viewtopic.php?t=25
>> -
>>
>> far more advanced ???
>> Ok I'd like see Ardour runnnig with multip
On Wed, 25 Feb 2004, Gupta, Kshitij wrote:
> hi,
> I have a very trivial question about the dma transfers with respect
> to ALSA framework.
>
> Let me first explain a scenario
> We have a Circularly linked Buffer pool
>
> buf1buf2buf3 buf4 bufn
>
> In very simple terms pl
> > Is there a list anywhere listing the differences between OSS and ALSA
> > with regard to sound card hardware.
> > It would be nice to have a nice small list of all the sound hardware OSS
> > supports, but ALSA does not.
> > Then the intention would be to reduce that list to no entries by
> >
--- pci/rme9652/hdsp.c_old Sun Feb 22 15:52:59 2004
+++ pci/rme9652/hdsp.c Sun Feb 22 15:57:43 2004
@@ -3810,8 +3810,8 @@
{
int mapped_channel;
-snd_assert(channel >= 0 || channel < hdsp->max_channels, return NULL);
-
+ snd_assert(channel >= 0 && channel <
I have problems running my driver with a Layla24-CARDBUS
card. The same driver works fine with the PCI version of
the card and the manufacturer says they're identical. Is
there something I have to take care of in case the card
is connected to the CARDBUS port ?
--
Giuliano.
---
On Thu, 29 Jan 2004 14:38:14 +0100
Takashi Iwai <[EMAIL PROTECTED]> wrote:
> note that --with-isapnp is ignored on 2.6 kernel.
> the isapnp support depends only on the kernel itself.
Ok, I used that option only to avoid compiling useless stuff.
> does the attached patch work?
Yes it works. I co
It fails at line #113 of /Makefile :
@for d in $(SUBDIRS); do if ! $(MAKE) -C $$d prepare; then exit 1; fi; done
I have no idea why $(SUBDIRS) is an empty string:
[EMAIL PROTECTED] alsa-driver-1.0.2]$ ./cvscompile --with-cards=powermac
--with-isapnp=no --with-sequencer=no --with-oss=n
Who is the maintainer of the soundcard matrix ? What is the preferred
format for sending him updates ?
--
Giuliano.
---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the brea
On 19-Jan-2004 Michal Kostrzewa wrote:
> Hello,
>
> Please help me in that license related case:
> I want to write a Lynx AES16 (http://www.lynxstudio.com/aes16.html) ALSA
> driver (I'm from Warsaw University of Technology and we want to use this
> card in our investigations). I wrote to Lynxstudi
Attached is an update to the current status of the driver for Echoaudio
cards. That page is now generated dynamically and I don't know what
format do you prefer. I just grabbed the page and edited it.
--
Giuliano.
Title:
Advanced Linux Sound Architecture - Soundcard Matrix
I have to save the settings of the mixer and I need a unique name for each
card. Does snd_ctl_card_info_get_id() return different ids if there are two
identical cards ?
--
Giuliano.
---
This SF.net email is sponsored by: IBM Linux Tutorials.
B
On 08-Dec-2003 Arve Knudsen wrote:
> Wether its done via the control or pcm interface, it'd be good to have a
> loose coupling between configuration and streams, so one could could access
> configuration space without locking a stream don't you think?
Yes, of course. Perhaps it can be done alread
On Sun, 07 Dec 2003 14:19:28 -0500
Paul Davis <[EMAIL PROTECTED]> wrote:
> i personally am heading towards believing that we made a design
> decision that was wrong here. i now tend to think that the PCM
> interface should not be involved with configuring the hardware at all,
> and that this shoul
On Sat, 6 Dec 2003, Jaroslav Kysela wrote:
> See alsa-kernel/pci/ens1370.c and alsa-kernel/pci/ens1371.c for an elegant solution.
Tnx.
--
Giuliano.
---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help yo
Echoaudio cards are grouped into two families: EchoGals (the old
discontinued serie) and the Echo24. The driver is almost identical for both
families, but some constants define at compile time. I currently select the
family by a hack in the makefile:
ifneq ($(CONFIG_SND_GINA24),)
EXTRA_CFLAGS +=
> Actually, I'm not completely opposed to the idea. But I am totally
> clueless when it comes to writing device drivers, and would have no
> idea where to start.
Start here: http://www.alsa-project.org/documentation.php3#Driver
You don't have to start writing the driver from scratch. You only
ha
The executable utils/mod-deps shouldn't be shipped with the alsa-driver
tarball. It's an x86 binary and it makes cvscompile to fail on other platforms.
--
Giuliano.
---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceF
On Tue, 25 Nov 2003 20:09:57 +0100
Takashi Iwai <[EMAIL PROTECTED]> wrote:
> for building multiple drivers with a common core/library module, you
> can find an example in isa/sb directory. there snd-sb-common is
> shared among several different top-level modules. (usually, the
> common module is
On Mon, 24 Nov 2003 21:25:00 +0100 (CET)
Jaroslav Kysela <[EMAIL PROTECTED]> wrote:
> On Mon, 24 Nov 2003, Giuliano Pochini wrote:
>
> > snd_ctl_elem_info_t.dimen contains the dimensions of the array of
> > controls. AFAIK there are no drivers which use that feature (b
My driver supports several different cards of the same series. Most of the
code is common for all cards, so I put the code which is not common into
separate .c files. Well, now I need a way to tell make what is the card I
want the driver for.
--
Giuliano.
---
snd_ctl_elem_info_t.dimen contains the dimensions of the array of
controls. AFAIK there are no drivers which use that feature (but mine)
to look for examples. We have to agree about the order of them:
Array[d0][d1][d2][d3]
or
Array[d3][d2][d1][d0]
I used the first one. Is it ok ?
--
Giulian
If I try to register two different controls which have the same name, it does
not fails very nicely. It does not call the .dev_free callback and it doesn't
free a lot of stuff:
Nov 22 23:55:53 localhost kernel: ALSA ../alsa-kernel/core/memory.c:81: kmalloc(5)
from e501bc78 not freed
Nov 22 23:55
On 15-Nov-2003 Jaroslav Kysela wrote:
> On Sat, 15 Nov 2003, Giuliano Pochini wrote:
>
>> My hardware can start/stop multiple indipendent substreams at the same time.
>> Does the ALSA driver API support that feature ?
>
> Yes, use snd_pcm_set_sync() function in open() ca
My hardware can start/stop multiple indipendent substreams at the same time. Does
the ALSA driver API support that feature ?
--
Giuliano.
---
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access you
On Sat, 4 Oct 2003 16:58:12 -0500
Ryan Underwood <[EMAIL PROTECTED]> wrote:
> > i have an ES1983S Maestro-3i on a c600 dell laptop
> > i got this message in syslog :
> >
> > ALSA sound/core/pcm_lib.c:214: Unexpected hw_pointer value (stream = 0,
> > delta: -944, max jitter = 1024): wrong interrupt
On 01-Oct-2003 Nathaniel Gray wrote:
> My sound card uses different devices for capture (device 0) and playback
> (device 1). I have two issues with capture right now:
>
> 1. If I do something like:
> arecord -f dat -D hw:0,1 -d 5 foo.wav
> it seems to record for much longer than 5 secon
On 28-Aug-2003 Jaroslav Kysela wrote:
>> >>--*-- What is the best-supported *Pro Audio* device in terms of solid ALSA dri
>> >>ver support? Not interested in Sound Blasters and chips on the motherboard --
>> >> something along the lines of the Echo, M-Audio, or RME products. But the ALS
>> >>A d
On 28-Aug-2003 Paul Davis wrote:
>>--*-- What is the best-supported *Pro Audio* device in terms of solid ALSA dri
>>ver support? Not interested in Sound Blasters and chips on the motherboard --
>> something along the lines of the Echo, M-Audio, or RME products. But the ALS
>>A drivers need to be
When I play something, depending on the buffer length and the period length,
sometimes ALSA complaints about a wrong hw_pointer value. pcm_hw_pointer()
returns the right value and the irq handler (not shown below) calls
snd_pcm_period_elapsed() only when the period is done. I can't understand what
Please do not include the utils/mod-deps x86 binary executable in the stable
alsa-driver tarballs. cvscompile silently fails on non-x86 platforms.
--
Bye.
Giuliano.
---
This SF.Net email sponsored by: Free pre-built ASP.NET sites includin
On 05-Aug-2003 Antti Boman wrote:
> This seems like the problem I've always had with my single processor
> with JACK and SCHED_FIFO, with 2.4.20 kernel. I haven't tried the
> realtime setting for a while, though.
>
> Maybe there's some other thing causing these? Should we gather a bit
> more in-de
On 14-Jul-2003 James Courtier-Dutton wrote:
>>>Worst case accuracy is about one period AFAIK. It depends on the sound chip
>>>because the low level driver reads the DMA pointer (or something) from some
>>>hardware register or it can know the DMA pointer when it receives an interrupt
>>>at the end
It's against alsa-lib 0.9.5. It also applies to the CVS version because
the files are identical.
--- ./src/control/control.c_old Sun Jul 13 14:01:10 2003
+++ ./src/control/control.c Sun Jul 13 14:09:31 2003
@@ -1699,10 +1699,10 @@
assert(obj);
if (obj->access & SNDRV_CTL_ELE
On Thu, 10 Jul 2003 16:31:28 +0100
James Courtier-Dutton <[EMAIL PROTECTED]> wrote:
> Hi,
>
> When an application reads the "avail" or "delay" pcm values: -
> 1) how accurate are they?
> 2) does the accuracy depend on the sound card driver being used.
Worst case accuracy is about one period AFAIK
On 09-Jul-2003 Garrett Kajmowicz wrote:
> I'm just begining my first ALSA application. As a part of the GUI I need to
> prompt the user to select from a list the soundcard and input device for both
> recording and playback. How would you suggest doing this? Examples welcome.
Try this:
int er
I'm looking for a small program that reads and writes a few bytes through
the midi port.
--
Bye.
Giuliano.
---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are availab
A fellow testing my driver has a strange problem. lspci
shows the card is attached to IRQ10, but the driver reads
IRQ5 instead. He has another soundchip (CMI-something)
which uses IRQ5. My driver follows the tutorial by tiwai
closely and it's nearly identical to a lot of other
drivers. Any ideas,
On 26-Jun-2003 Fred Gleason wrote:
> I've got things working with my ASI6114. Playback works well.
>
> Alsamixer shows me a bewildering array of controls, few of which seem to
> do anything. How do I control stream levels?
I don't know that chip, but the names of the controls should be
self-exp
On 23-Jun-2003 Takashi Iwai wrote:
> At Sun, 22 Jun 2003 21:10:31 +0200 (CEST),
> Jaroslav wrote:
>>
>> Hello all,
>>
>> here are my next goals for the ALSA library development (short
>> term). I invite all developers to comment these directions.
>>
>> * create ordinary pcm & mixer interfa
On 23-Jun-2003 D. Sen wrote:
> Here's a question
>
> Does Alsa drivers *have* to be in source code form? Can someone not
> release an object file for linking
ALSA is GPL. If you use any part of it (e.g. header files) then the
driver must be GPL too. You can workaround this, but it's extr
Docs/drivers for the LynxTwo are released only under NDA, and the agreement
doesn't allow the subscriber to release a driver in source code form. I
don't thing you'll see an ALSA driver for that card anytime soon.
--
Bye.
Giuliano.
On Sun, 22 Jun 2003 10:07:11 +1000
"D. Sen" <[EMAIL PROTEC
On 18-Jun-2003 Warren Turkal wrote:
> Any suggestions on how?
Ask him the address of his boss.
Bye.
---
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Server
On sab, 2003-06-14 at 22:06, Paul Davis wrote:
> >
> >Some of the cards by Echoaudio have a midi port, but it's not MPC401
> >compatible. The card has two tiny buffers to send and receive bytes. Where
> >can I get infos, sample code, etc. to add midi support to my driver ?
> >The Layla24 also exist
Some of the cards by Echoaudio have a midi port, but it's not MPC401
compatible. The card has two tiny buffers to send and receive bytes. Where
can I get infos, sample code, etc. to add midi support to my driver ?
The Layla24 also exists in PCMCIA edition. Just like above, I need docs...
Tnx.
--
On 12-Jun-2003 Jaroslav Kysela wrote:
> On 12 Jun 2003, Gorm David Lai wrote:
>
>> I tried your example. Aplay is rather stupid, so it is seems it needs a
>
> Not too stupid, but you should use right device (plughw vs. hw) and
> probably right alsa-lib configuration (~/.asoundrc).
The format writ
My card which can enter a low power state. It turns
off some components but it leaves the PCI bus interface
active. To bring the card back to life it has to be
reinitialized from scratch. What "D" state is it ? PCI
power management papers say that already in D1 state
i/o space is disabled. I'm a
On 11-Jun-2003 Sundaranathan S wrote:
> Hi All,
>
> Can anyone tell me how to test alsa-lib APIs. If there is any
> documentation available please let me know.
Yes, the official documentation is here:
http://www.alsa-project.org/documentation.php3
Bye.
--
On 09-Jun-2003 Jaroslav Kysela wrote:
>
>> How can I tell "make dep" to ignore some of the files listed in
>> "snd-mychip-objs" ?
>
> It is not possible. Could you send me your code? I will try to look what
> is wrong.
There's nothing wrong. The driver is based on the C++ code written by the
manu
How can I tell "make dep" to ignore some of the files listed in
"snd-mychip-objs" ?
Bye.
---
This SF.net email is sponsored by: Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you
On mer, 2003-06-04 at 17:17, Takashi Iwai wrote:
> At Wed, 04 Jun 2003 17:57:32 +0200 (CEST),
>
> wouldn't it better to put another Makefile in sub directories?
Sure. I followed the instrutions you wrote here a couple of months ago.
When I do cvscompile --with-cards=powermac,echoaudio[...] it stop
On 04-Jun-2003 Jaroslav Kysela wrote:
>> I tried to replace Rules.make with an older version and it works
>> fine. How do I compile the driver for 0.9.4+ ? I also would like
>> to group all files in a subdir.
>
> Do you have a file alsa-driver/pci/echoaudio.patch?
Yes... I removed it and now it
In v0.9.4 Rules.make changed. I used to put the files of my driver
in the alsa-driver-xxx/pci directory, but they don't compile anymore:
bash-2.05$ make
Coping file alsa-kernel/core/pci/echoaudio.c
cp: cannot stat `/home/pochini/soft/alsa-driver-0.9.4/alsa-kernel/pci/echoaudio.c': No
such file o
On 02-Apr-2003 Takashi Iwai wrote:
>> Yes, otherwise snd_pcm_lib_malloc_pages() fails and hw_params
>> callback exits with an error.
>
> ok, then something overwrites the entry.
> how about to check runtime->dma_area at each callback?
Bug found. Alsaplayer calls hw_params two times with different
On 02-Apr-2003 Takashi Iwai wrote:
>> > anyway, runtime->dma_area and runtime->dma_bytes MUST be filled
>> > manually IFF you don't use snd_pcm_lib_malloc_pages().
>> > (dma_area won't be needed if the mmap is not supported and copy
>> > callback is defined, though.)
>>
>> I use snd_pcm_lib_malloc
On 02-Apr-2003 Takashi Iwai wrote:
> sorry, which fields do you mean exactly?
> runtime->private_data and runtime->hw ?
Yes.
> anyway, runtime->dma_area and runtime->dma_bytes MUST be filled
> manually IFF you don't use snd_pcm_lib_malloc_pages().
> (dma_area won't be needed if the mmap is not s
On 02-Apr-2003 Takashi Iwai wrote:
>> I don't set .copy callback and ->dma_area should be 0 because the card
>> uses a sg-list. #:(
>
> no, dma_area should not be zero. you shouldn't change the value, if
> you use snd_pcm_lib_malloc_pages(). in the case of sg-buffer,
> dma_area will hold the vir
> My driver do not work anymore with xmms (alsa-xmms plugin) and
> alsaplayer. [...]
I tried to force the alsaplayer plugin to set S16_LE format (data is BE
on powerpc) and it do not spit that errors anymore, but it do not play
anything and in the logs alsa prints:
ALSA ../alsa-kernel/core/pcm_l
My driver do not work anymore with xmms (alsa-xmms plugin) and
alsaplayer. I have no idea when that happened because I always use
alsa-utils to make tests and I made a lot of changes since the last time
I tested xmms and ap. Alsaplayer writes this:
[EMAIL PROTECTED] Giu]$ alsaplayer
ALSA lib pcm
1 - 100 of 136 matches
Mail list logo