All of lore.kernel.org
 help / color / mirror / Atom feed
* switch to new PCM API for 1.0 release
@ 2003-11-05 10:47 Jaroslav Kysela
  2003-11-08 16:39 ` Martin Langer
  2003-11-24  4:19 ` 1.0.0pre2 - ymfpci tom burkart
  0 siblings, 2 replies; 9+ messages in thread
From: Jaroslav Kysela @ 2003-11-05 10:47 UTC (permalink / raw)
  To: ALSA development

Hi all,

	I decided to switch to new PCM API (values are returned using an
indirect pointer rather as return value, so error codes are not mixed with
values). The binary compatibility is kept. So, you can use old
applications with new libraries and you can even use applications compiled
against 1.0 alsa-lib with 0.9 library binaries.
	The only change for developers or package maintainers are two
defines for old (not updated) applications:

#define ALSA_PCM_OLD_HW_PARAMS_API
#define ALSA_PCM_OLD_SW_PARAMS_API
#include <alsa/asoundlib.h>

	Also note that these defines might be removed for updated
applications (altough the code will not compile with 0.9 libraries):

#define ALSA_PCM_NEW_HW_PARAMS_API
#define ALSA_PCM_NEW_SW_PARAMS_API

						Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: 1.0.0pre2 - ymfpci
@ 2003-11-25  0:35 tom burkart
  0 siblings, 0 replies; 9+ messages in thread
From: tom burkart @ 2003-11-25  0:35 UTC (permalink / raw)
  To: ALSA Development

[-- Attachment #1: Type: text/plain, Size: 682 bytes --]

Quoting Takashi Iwai <tiwai@suse.de>:


> i thought you got the silent output, but now you get a scraching
> output?
Ok, I must have just woken up...  The scratchiness of the sound are the louder
parts of the music (so it appears anyway).  So I am postulating that for some
reason the lower 8 bits do not make it to the chip/output.  This is a guess, but
who knows, maybe there is some truth in it...

> anyway, please show again the register dump via proc file, and
> hw_params in /proc/asound/card0/pcm0p/sub0.  both files should be
> checked during playback.
Attached.

tom.




-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

[-- Attachment #2: ymfpci.tgz --]
[-- Type: application/x-tar-gz, Size: 997 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-11-25  0:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-05 10:47 switch to new PCM API for 1.0 release Jaroslav Kysela
2003-11-08 16:39 ` Martin Langer
2003-11-08 19:04   ` Jaroslav Kysela
2003-11-08 19:14     ` Martin Langer
2003-11-08 19:32       ` Jaroslav Kysela
2003-11-08 20:43         ` Martin Langer
2003-11-24  4:19 ` 1.0.0pre2 - ymfpci tom burkart
2003-11-24 10:17   ` Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2003-11-25  0:35 tom burkart

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.