Re: [Alsa-user] SPDIF woes

2008-09-03 Thread Clemens Ladisch
Jason Gauthier wrote: > I can't find many cards except for the Creative Labs X-Fi that seems to > fit both.. and from what I read SPDIF passthrough doesn't work.I'm > not 100% sure what that means. (Pretty new to this level of audio) SPDIF was designed to transport two channels of 16-bit uncom

Re: [Alsa-user] how can i use alsa-lib api to control pcm playback volume.

2008-09-03 Thread Falcon Xu
Hi: I,ve finished this problem using snd_hctl_ apis. code as below: err = snd_hctl_open(&ctlhandle, "default", 0);elemt = snd_hctl_last_elem(ctlhandle);err = snd_hctl_elem_read(elemt, elemvalue);sndvolume0 = snd_ctl_elem_value_get_integer(elemvalue, 0);sndvolume1 = snd_ctl_elem_value_get_

[Alsa-user] 24-bit and 96KHz file

2008-09-03 Thread Amaury De Ganseman
Hi, I have a 24-bit/96KHz file. When I play it, it says that it plays in s16_le and samplerate ouput is 48KHz (I see that on my hardware equaliser). I have an ESI Juli@ and use the alsa driver of the 2.6.26. output of mplayer: Playing Radiohead - 06 - Karma Police.flac. Audio only file format de

Re: [Alsa-user] SPDIF woes

2008-09-03 Thread Jason Gauthier
Jason Gauthier wrote: > I can't find many cards except for the Creative Labs X-Fi that seems to > fit both.. and from what I read SPDIF passthrough doesn't work.I'm > not 100% sure what that means. (Pretty new to this level of audio) >SPDIF was designed to transport two channels of 16-bit unc

Re: [Alsa-user] 24-bit and 96KHz file

2008-09-03 Thread Vladimir Mosgalin
Hi Amaury De Ganseman! On 2008.09.03 at 13:16:42 +0200, Amaury De Ganseman wrote next: > I have a 24-bit/96KHz file. > When I play it, it says that it plays in s16_le and samplerate ouput > is 48KHz (I see that on my hardware equaliser). > I have an ESI Juli@ and use the alsa driver of the 2.6.2

Re: [Alsa-user] 24-bit and 96KHz file

2008-09-03 Thread Amaury De Ganseman
Ok, thanks for your answer. But why don't use 96KHz as samplerate for output ? Why downsample to 48KHz ? Use the native samplerate is too complicated ;-) ? I know that alsa by default use 48KHz (dmix) but if my song is in 96KHz why not use this SR ? Thanks On Wed, Sep 3, 2008 at 3:20 PM, Vla

Re: [Alsa-user] 24-bit and 96KHz file

2008-09-03 Thread Oliver Lupton
Amaury De Ganseman wrote: > Ok, thanks for your answer. > > But why don't use 96KHz as samplerate for output ? Why downsample to > 48KHz ? Use the native samplerate is too complicated ;-) ? > > I know that alsa by default use 48KHz (dmix) but if my song is in > 96KHz why not use this SR ? > > >

[Alsa-user] Audio problems

2008-09-03 Thread Erik jakobsen
Reply to posting by Erik Jakobsen, Audio problem, of 9/1/08. It sounds like your problem is as follows, so please correct where this is wrong: 1. Playing an MP3, or other sound file such as a WAV, which goes through the ALSA PCM driver 2. Using a player such as "aplay" 3. Using a mixer control suc

[Alsa-user] Erik Jokobsen, VIA chipset

2008-09-03 Thread Wesley Johnson
TO: Erik Jakobsen Send smaller files with just the information needed. Please do not send entire dumps of all modules and devices on your system. Your last email repeated my email around 5 times, with all your comments interspersed, which makes for a very long tedious read. You need to send that

[Alsa-user] Audio problems

2008-09-03 Thread Erik jakobsen
Hi. If I play a MP3 file, I cannot control the sound by the Master in Kmix's output. The sound is controled by the PCM output. I think it's a matter of a miss with the driver/mixer configuration. But how can I determine that, and how can I solve it ?.

Re: [Alsa-user] Audio problems

2008-09-03 Thread Erik Jakobsen
Erik Jakobsen wrote: > Hi. > > If I play a MP3 file, I cannot control the sound by the Master in Kmix's > output. > The sound is controled by the PCM output. > > I think it's a matter of a miss with the driver/mixer configuration. > > But how can I determine that, and how can I solve it ?. > > > >