All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Adds 24bit, 96khz support for multichannel playback on the Audigy 2 sound cards.
@ 2005-03-12 19:57 James Courtier-Dutton
  2005-03-13  8:07 ` Jaroslav Kysela
  2005-03-13 21:13 ` Dmitry Baryshkov
  0 siblings, 2 replies; 9+ messages in thread
From: James Courtier-Dutton @ 2005-03-12 19:57 UTC (permalink / raw)
  To: ALSA development

Please see readme.txt at 
http://www.alsa-project.org/~james/alsa-driver/p16v/
http://www.alsa-project.org/~james/alsa-driver/p16v/readme.txt

It works with the current alsa CVS.
I would like this to be merged with the CVS quite soon if possible.

Summary:
Add support for the P16V chip (CA0151-DBS) present on Creative Sound 
Blaster 2 ZS and Creative Sound Blaster 4 Pro sound cards.
A new 8 channel playback device appears as device 4.

Signoff: James Courtier-Dutton


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* Re: [PATCH] Adds 24bit, 96khz support for multichannel playback on the Audigy 2 sound cards.
  2005-03-12 19:57 [PATCH] Adds 24bit, 96khz support for multichannel playback on the Audigy 2 sound cards James Courtier-Dutton
@ 2005-03-13  8:07 ` Jaroslav Kysela
  2005-03-13 10:52   ` James Courtier-Dutton
  2005-03-13 11:23   ` James Courtier-Dutton
  2005-03-13 21:13 ` Dmitry Baryshkov
  1 sibling, 2 replies; 9+ messages in thread
From: Jaroslav Kysela @ 2005-03-13  8:07 UTC (permalink / raw)
  To: James Courtier-Dutton; +Cc: ALSA development

On Sat, 12 Mar 2005, James Courtier-Dutton wrote:

> Please see readme.txt at 
> http://www.alsa-project.org/~james/alsa-driver/p16v/
> http://www.alsa-project.org/~james/alsa-driver/p16v/readme.txt
> 
> It works with the current alsa CVS.
> I would like this to be merged with the CVS quite soon if possible.

Could you cleanup a bit your code before merging? It seems that there is 
alot of #if 0 .. #endif parts....

						Jaroslav

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* Re: [PATCH] Adds 24bit, 96khz support for multichannel playback on the Audigy 2 sound cards.
  2005-03-13  8:07 ` Jaroslav Kysela
@ 2005-03-13 10:52   ` James Courtier-Dutton
  2005-03-13 12:05     ` Jaroslav Kysela
  2005-03-13 11:23   ` James Courtier-Dutton
  1 sibling, 1 reply; 9+ messages in thread
From: James Courtier-Dutton @ 2005-03-13 10:52 UTC (permalink / raw)
  To: Jaroslav Kysela; +Cc: ALSA development

Jaroslav Kysela wrote:
> 
> 
> Could you cleanup a bit your code before merging? It seems that there is 
> alot of #if 0 .. #endif parts....
> 

The code inside the #if 0 .. #endif implements features that I have not 
yet finished merging. E.g. 24bit capture.
As I fix each section, the #if 0 etc. will be removed.
Would you prefer that I just remove all the current sections under #if 0 
and then add them back in as I get them working?

James


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* Re: [PATCH] Adds 24bit, 96khz support for multichannel playback on the Audigy 2 sound cards.
  2005-03-13  8:07 ` Jaroslav Kysela
  2005-03-13 10:52   ` James Courtier-Dutton
@ 2005-03-13 11:23   ` James Courtier-Dutton
  1 sibling, 0 replies; 9+ messages in thread
From: James Courtier-Dutton @ 2005-03-13 11:23 UTC (permalink / raw)
  To: Jaroslav Kysela; +Cc: ALSA development

Jaroslav Kysela wrote:
> On Sat, 12 Mar 2005, James Courtier-Dutton wrote:
> 
> 
>>Please see readme.txt at 
>>http://www.alsa-project.org/~james/alsa-driver/p16v/
>>http://www.alsa-project.org/~james/alsa-driver/p16v/readme.txt
>>
> 
> Could you cleanup a bit your code before merging? It seems that there is 
> alot of #if 0 .. #endif parts....
> 

I have updated the p16v.c file as you requested. it is in 
http://www.alsa-project.org/~james/alsa-driver/p16v/p16v.c




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* Re: [PATCH] Adds 24bit, 96khz support for multichannel playback on the Audigy 2 sound cards.
  2005-03-13 10:52   ` James Courtier-Dutton
@ 2005-03-13 12:05     ` Jaroslav Kysela
  2005-03-13 12:24       ` James Courtier-Dutton
  0 siblings, 1 reply; 9+ messages in thread
From: Jaroslav Kysela @ 2005-03-13 12:05 UTC (permalink / raw)
  To: James Courtier-Dutton; +Cc: ALSA development

On Sun, 13 Mar 2005, James Courtier-Dutton wrote:

> Jaroslav Kysela wrote:
> > 
> > 
> > Could you cleanup a bit your code before merging? It seems that there is 
> > alot of #if 0 .. #endif parts....
> > 
> 
> The code inside the #if 0 .. #endif implements features that I have not 
> yet finished merging. E.g. 24bit capture.
> As I fix each section, the #if 0 etc. will be removed.
> Would you prefer that I just remove all the current sections under #if 0 
> and then add them back in as I get them working?

Okay, applied the stripped version and new code slipped into 1.0.9rc1 
(will be available in next minutes)...

						Jaroslav

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* Re: [PATCH] Adds 24bit, 96khz support for multichannel playback on the Audigy 2 sound cards.
  2005-03-13 12:05     ` Jaroslav Kysela
@ 2005-03-13 12:24       ` James Courtier-Dutton
  0 siblings, 0 replies; 9+ messages in thread
From: James Courtier-Dutton @ 2005-03-13 12:24 UTC (permalink / raw)
  To: Jaroslav Kysela; +Cc: ALSA development

Jaroslav Kysela wrote:
> On Sun, 13 Mar 2005, James Courtier-Dutton wrote:
> 
> 
>>Jaroslav Kysela wrote:
>>
>>>
>>>Could you cleanup a bit your code before merging? It seems that there is 
>>>alot of #if 0 .. #endif parts....
>>>
>>
>>The code inside the #if 0 .. #endif implements features that I have not 
>>yet finished merging. E.g. 24bit capture.
>>As I fix each section, the #if 0 etc. will be removed.
>>Would you prefer that I just remove all the current sections under #if 0 
>>and then add them back in as I get them working?
> 
> 
> Okay, applied the stripped version and new code slipped into 1.0.9rc1 
> (will be available in next minutes)...
> 
> 						Jaroslav

Nice, thanks

James


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* Re: [PATCH] Adds 24bit, 96khz support for multichannel playback on the Audigy 2 sound cards.
  2005-03-12 19:57 [PATCH] Adds 24bit, 96khz support for multichannel playback on the Audigy 2 sound cards James Courtier-Dutton
  2005-03-13  8:07 ` Jaroslav Kysela
@ 2005-03-13 21:13 ` Dmitry Baryshkov
  2005-03-13 21:43   ` James Courtier-Dutton
  1 sibling, 1 reply; 9+ messages in thread
From: Dmitry Baryshkov @ 2005-03-13 21:13 UTC (permalink / raw)
  To: alsa-devel

Hello,
On Sat, Mar 12, 2005 at 07:57:25PM +0000, James Courtier-Dutton wrote:
> Please see readme.txt at 
> http://www.alsa-project.org/~james/alsa-driver/p16v/
> http://www.alsa-project.org/~james/alsa-driver/p16v/readme.txt
> 

Thank you for your work.

I have plain Audigy2 6.1 (SB0240) and I tried using alsa-driver-1.0.9rc1.
speaker-test command from your readme worked more or less. When it worked,
channels were swapped. speaker-test tried to shout from Rear Left, but I
got sound from Center, Rear Right - LFE, Unk Left - Rear Left,
Unk Right - Rear Right (I had to patch speaker-test a bit, so it doesn't
segfault). I can't verify what channel sends sound to the "Back",
because I have no 4-pin minijack.

BTW1: this incorrect "naming" maybe a more generic problem, because if I
try to use multichannel device (plughw:0,3), i get same mis"naming".

BTW2: I wander when will ALSA support 6.1 configurations/cards correctly?

Also at some point p16v hanged, every program trying to use plughw:0,4
hangs at first poll(). modprobe -r snd-emu10k1 ; modprobe snd-emu10k1
cycle doesn't help. Later I'll try rebooting to see if it's permanent
damage or not.

-- 
With best wishes
Dmitry Baryshkov


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* Re: [PATCH] Adds 24bit, 96khz support for multichannel playback on the Audigy 2 sound cards.
  2005-03-13 21:13 ` Dmitry Baryshkov
@ 2005-03-13 21:43   ` James Courtier-Dutton
  2005-03-14 15:26     ` Takashi Iwai
  0 siblings, 1 reply; 9+ messages in thread
From: James Courtier-Dutton @ 2005-03-13 21:43 UTC (permalink / raw)
  To: Dmitry Baryshkov; +Cc: alsa-devel

Dmitry Baryshkov wrote:
> Hello,
> On Sat, Mar 12, 2005 at 07:57:25PM +0000, James Courtier-Dutton wrote:
> 
>>Please see readme.txt at 
>>http://www.alsa-project.org/~james/alsa-driver/p16v/
>>http://www.alsa-project.org/~james/alsa-driver/p16v/readme.txt
>>
> 
> 
> Thank you for your work.
> 
> I have plain Audigy2 6.1 (SB0240) and I tried using alsa-driver-1.0.9rc1.
> speaker-test command from your readme worked more or less. When it worked,
> channels were swapped. speaker-test tried to shout from Rear Left, but I
> got sound from Center, Rear Right - LFE, Unk Left - Rear Left,
> Unk Right - Rear Right (I had to patch speaker-test a bit, so it doesn't
> segfault). I can't verify what channel sends sound to the "Back",
> because I have no 4-pin minijack.
> 
> BTW1: this incorrect "naming" maybe a more generic problem, because if I
> try to use multichannel device (plughw:0,3), i get same mis"naming".
> 
> BTW2: I wander when will ALSA support 6.1 configurations/cards correctly?
> 
> Also at some point p16v hanged, every program trying to use plughw:0,4
> hangs at first poll(). modprobe -r snd-emu10k1 ; modprobe snd-emu10k1
> cycle doesn't help. Later I'll try rebooting to see if it's permanent
> damage or not.
> 

Please upgrade your speaker-test version to the latest in alsa-utils.
Failing that, there is a newer version at 
http://www.alsa-project.org/~james/speaker-test/

The p16v does not support hardware mixing, so only one application can 
open it at a time.

James



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* Re: [PATCH] Adds 24bit, 96khz support for multichannel playback on the Audigy 2 sound cards.
  2005-03-13 21:43   ` James Courtier-Dutton
@ 2005-03-14 15:26     ` Takashi Iwai
  0 siblings, 0 replies; 9+ messages in thread
From: Takashi Iwai @ 2005-03-14 15:26 UTC (permalink / raw)
  To: James Courtier-Dutton; +Cc: Dmitry Baryshkov, alsa-devel

At Sun, 13 Mar 2005 21:43:26 +0000,
James Courtier-Dutton wrote:
> 
> Dmitry Baryshkov wrote:
> > Hello,
> > On Sat, Mar 12, 2005 at 07:57:25PM +0000, James Courtier-Dutton wrote:
> > 
> >>Please see readme.txt at 
> >>http://www.alsa-project.org/~james/alsa-driver/p16v/
> >>http://www.alsa-project.org/~james/alsa-driver/p16v/readme.txt
> >>
> > 
> > 
> > Thank you for your work.
> > 
> > I have plain Audigy2 6.1 (SB0240) and I tried using alsa-driver-1.0.9rc1.
> > speaker-test command from your readme worked more or less. When it worked,
> > channels were swapped. speaker-test tried to shout from Rear Left, but I
> > got sound from Center, Rear Right - LFE, Unk Left - Rear Left,
> > Unk Right - Rear Right (I had to patch speaker-test a bit, so it doesn't
> > segfault). I can't verify what channel sends sound to the "Back",
> > because I have no 4-pin minijack.
> > 
> > BTW1: this incorrect "naming" maybe a more generic problem, because if I
> > try to use multichannel device (plughw:0,3), i get same mis"naming".
> > 
> > BTW2: I wander when will ALSA support 6.1 configurations/cards correctly?
> > 
> > Also at some point p16v hanged, every program trying to use plughw:0,4
> > hangs at first poll(). modprobe -r snd-emu10k1 ; modprobe snd-emu10k1
> > cycle doesn't help. Later I'll try rebooting to see if it's permanent
> > damage or not.
> > 
> 
> Please upgrade your speaker-test version to the latest in alsa-utils.
> Failing that, there is a newer version at 
> http://www.alsa-project.org/~james/speaker-test/

FYI, 1.0.9rc1 already includes the latest one (0.0.7).


Takashi


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

end of thread, other threads:[~2005-03-14 15:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-12 19:57 [PATCH] Adds 24bit, 96khz support for multichannel playback on the Audigy 2 sound cards James Courtier-Dutton
2005-03-13  8:07 ` Jaroslav Kysela
2005-03-13 10:52   ` James Courtier-Dutton
2005-03-13 12:05     ` Jaroslav Kysela
2005-03-13 12:24       ` James Courtier-Dutton
2005-03-13 11:23   ` James Courtier-Dutton
2005-03-13 21:13 ` Dmitry Baryshkov
2005-03-13 21:43   ` James Courtier-Dutton
2005-03-14 15:26     ` Takashi Iwai

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.