* Audigy2 in SNDRV_PCM_FMTBIT_S32_LE mode.
@ 2004-05-18 15:47 James Courtier-Dutton
2004-05-18 15:53 ` Takashi Iwai
0 siblings, 1 reply; 5+ messages in thread
From: James Courtier-Dutton @ 2004-05-18 15:47 UTC (permalink / raw)
To: alsa-devel
What would I need to change in the emu10k1 driver, to get alsa-lib to
send it 32bit audio samples.
I tried just adding the SNDRV_PCM_FMTBIT_S32_LE to the playback options,
but that did not work.
When I did that, everything just played at half speed.
Can anyone give me any pointers as to where else I should change things
in order to get 32bit audio to the Audigy2 DSP.
Cheers
James
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Audigy2 in SNDRV_PCM_FMTBIT_S32_LE mode.
2004-05-18 15:47 Audigy2 in SNDRV_PCM_FMTBIT_S32_LE mode James Courtier-Dutton
@ 2004-05-18 15:53 ` Takashi Iwai
2004-05-18 16:03 ` James Courtier-Dutton
0 siblings, 1 reply; 5+ messages in thread
From: Takashi Iwai @ 2004-05-18 15:53 UTC (permalink / raw)
To: James Courtier-Dutton; +Cc: alsa-devel
At Tue, 18 May 2004 16:47:01 +0100,
James Courtier-Dutton wrote:
>
> What would I need to change in the emu10k1 driver, to get alsa-lib to
> send it 32bit audio samples.
> I tried just adding the SNDRV_PCM_FMTBIT_S32_LE to the playback options,
> but that did not work.
>
> When I did that, everything just played at half speed.
>
> Can anyone give me any pointers as to where else I should change things
> in order to get 32bit audio to the Audigy2 DSP.
AFAIK, emu10k1 engine processes only 16bit PCM.
or do you know the register (or anything else) to handle 32bit data
for audigy?
Takashi
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Audigy2 in SNDRV_PCM_FMTBIT_S32_LE mode.
2004-05-18 15:53 ` Takashi Iwai
@ 2004-05-18 16:03 ` James Courtier-Dutton
2004-05-19 10:32 ` Takashi Iwai
0 siblings, 1 reply; 5+ messages in thread
From: James Courtier-Dutton @ 2004-05-18 16:03 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
Takashi Iwai wrote:
> At Tue, 18 May 2004 16:47:01 +0100,
> James Courtier-Dutton wrote:
>
>>What would I need to change in the emu10k1 driver, to get alsa-lib to
>>send it 32bit audio samples.
>>I tried just adding the SNDRV_PCM_FMTBIT_S32_LE to the playback options,
>>but that did not work.
>>
>>When I did that, everything just played at half speed.
>>
>>Can anyone give me any pointers as to where else I should change things
>>in order to get 32bit audio to the Audigy2 DSP.
>
>
> AFAIK, emu10k1 engine processes only 16bit PCM.
> or do you know the register (or anything else) to handle 32bit data
> for audigy?
>
>
> Takashi
>
>
The SB Live DSP can only handle 16bit PCM.
The SB Audigy DSP can handle 24/32 bit PCM.
I am working from what someone has told me to get 24bit sound. Send it
to the Audigy inside a 32bit value: -
For playback:
You can use voice grouping - alloc 4 FX busses for 1 stereo stream
or use TRAM.
Does this help you ?
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Audigy2 in SNDRV_PCM_FMTBIT_S32_LE mode.
2004-05-18 16:03 ` James Courtier-Dutton
@ 2004-05-19 10:32 ` Takashi Iwai
0 siblings, 0 replies; 5+ messages in thread
From: Takashi Iwai @ 2004-05-19 10:32 UTC (permalink / raw)
To: James Courtier-Dutton; +Cc: alsa-devel
At Tue, 18 May 2004 17:03:17 +0100,
James Courtier-Dutton wrote:
>
> Takashi Iwai wrote:
> > At Tue, 18 May 2004 16:47:01 +0100,
> > James Courtier-Dutton wrote:
> >
> >>What would I need to change in the emu10k1 driver, to get alsa-lib to
> >>send it 32bit audio samples.
> >>I tried just adding the SNDRV_PCM_FMTBIT_S32_LE to the playback options,
> >>but that did not work.
> >>
> >>When I did that, everything just played at half speed.
> >>
> >>Can anyone give me any pointers as to where else I should change things
> >>in order to get 32bit audio to the Audigy2 DSP.
> >
> >
> > AFAIK, emu10k1 engine processes only 16bit PCM.
> > or do you know the register (or anything else) to handle 32bit data
> > for audigy?
> >
> >
> > Takashi
> >
> >
>
> The SB Live DSP can only handle 16bit PCM.
> The SB Audigy DSP can handle 24/32 bit PCM.
>
> I am working from what someone has told me to get 24bit sound. Send it
> to the Audigy inside a 32bit value: -
> For playback:
> You can use voice grouping - alloc 4 FX busses for 1 stereo stream
> or use TRAM.
>
> Does this help you ?
if i understand the above correctly, audigy can assign 4 mono streams
as a stereo (interleaved?) 32bit stream.
it's similar as emu10k1 uses 2 mono streams for a single stereo 16-bit
interleaved stream.
in the case of 16-bit stereo, CPF_STEREO_MASK is used to toggle this
mode. so, there must be a similar register switch for 32-bit mode.
otherwise it can't work...
Takashi
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <200405191119.i4JBJANj002233@www3.pobox.sk>]
* Re: Audigy2 in SNDRV_PCM_FMTBIT_S32_LE mode.
[not found] <200405191119.i4JBJANj002233@www3.pobox.sk>
@ 2004-05-19 13:17 ` Takashi Iwai
0 siblings, 0 replies; 5+ messages in thread
From: Takashi Iwai @ 2004-05-19 13:17 UTC (permalink / raw)
To: Peter Zubaj; +Cc: alsa-devel
At Wed, 19 May 2004 13:19:10 +0200,
Peter Zubaj wrote:
>
> Hi,
>
> >in the case of 16-bit stereo, CPF_STEREO_MASK is used to toggle this
> >mode. so, there must be a similar register switch for 32-bit mode.
> >otherwise it can't work...
>
> AFAIK there is not such register.
>
> If there will be some alsalib plugin which will accept stereo 24bit
> stream and split this stream to four (or 3) 16 bit mono streams.
this wouldn't be difficult at all.
> These 4 (or 3) streams can be then feeded to 4 (or 3) FX buses
> definied similiar as front, rear devices in .asoundrc or Audigy.conf.
>
> 24 bit left sample -> 16 bit stream 1 + 8bit stream 2
> 24 bit right sample -> 16 bit stream 3 + 8bit stream 4
>
> or
>
> 24 bit left sample -> 16 bit stream 1 + 8bit stream 2 (low)
> 24 bit right sample -> 16 bit stream 3 + 8bit stream 2 (high)
the question is which FX bus corresponds to what?
Takashi
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-05-19 13:17 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-18 15:47 Audigy2 in SNDRV_PCM_FMTBIT_S32_LE mode James Courtier-Dutton
2004-05-18 15:53 ` Takashi Iwai
2004-05-18 16:03 ` James Courtier-Dutton
2004-05-19 10:32 ` Takashi Iwai
[not found] <200405191119.i4JBJANj002233@www3.pobox.sk>
2004-05-19 13:17 ` 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.