Bharat Rajagopalan | 25 May 14:26
Picon

Novation XStation 25 - alsamixer error - cannot load mixer controls: Invalid argument - ignore_ctl_error causes instability

Hi all,


I am running Kubuntu 12.04 with the 3.2.0.23 lowlatency kernel. I have installed Kxstudio and am using my XStation 25 rather successfully with jackdbus. I have disabled pulseaudio on kde and am routing everything via jack and using the pulseaudio bridge for applications like skype which seem to need it.

Now I am trying to use a master mixer for jack to control my hardware channels, so as a result settled on Kmix (started as env KMIX_PULSEAUDIO_DISABLE=1  kmix to disable pulse and to show alsa channels).

However I noted that while my onboard sound card showed up, the Xstation didn't. So i did  

sudo lsusb -v

Output here:

aplay -L - Output here:



Key thing to note in the output of aplay was:                                                                                                                                                                             

card 3: XStation [XStation], device 0: USB Audio [USB Audio]                                                                                                                                                         
  Subdevices: 0/1                                                                                                                                                                                                    
  Subdevice #0: subdevice #0 

The Subdevices show 0/1 AFTER I boot into kde (it shows 1/1 immediately on boot prior to logging into kde prior to jackdbus/pulseaudio kicking in...however other cards remain 1/1)


mendred <at> dantooine:~$ alsamixer -c3
cannot load mixer controls: Invalid argument
 
So I tweaked around with my /etc/modprobe.d/alsa-base.conf and added ignore_ctl_error=1 to the snd-usb-audio module

options snd-usb-audio index=-2 ignore_ctl_error=1 nrpacks=1 

and then after restarting (Strangely sudo alsa force-reload didnt get it to work, i needed to restart the comp)
alsamixer -c3

brought up the XStation mixer and it was visible on kmix as well

However, the volumes could either be set at 0 or at 100 and nothing in between and it didnt seem that the XStation responded to the software mixer (e.g. muting it didnt mute anything for e.g.). Also the system became unstable and froze repeatedly, so I have turned back ignore_ctl_error=0 

The wierd thing is that XStation works fine under  both pulseaudio using pavu control and jack.

I am assuming that this is some issue with the driver that deals with the mixer part? Any help on working around this to get a working alsa mixer would be appreciated!

Thanks!
Bharat







------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Alsa-user mailing list
Alsa-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user
Massimiliano Cialdi | 24 May 17:46
Picon

passing arguments

hi
my .asoundrc I have:

------------8<----------------------------
pcm.filter {
     @args [ ENNOISE ENBIQUAD FLAT ]
     @args.ENNOISE {
         type integer
         default 0
     }
     @args.ENBIQUAD {
         type integer
         default 0
     }
     @args.FLAT {
         type integer
         default 0
     }
     type test
     slave {
         pcm "play0"
     }
     noise $ENNOISE
     biquad $ENBIQUAD
     flat $FLAT
}
pcm.filter_mono {
     @args [ _ENNOISE _ENBIQUAD _FLAT ]
     @args._ENNOISE {
         type integer
         default 0
     }
     @args._ENBIQUAD {
         type integer
         default 0
     }
     @args._FLAT {
         type integer
         default 0
     }
     type plug
     slave {
         pcm "filter:$_ENNOISE,$_ENBIQUAD,$_FLAT"
         channels 1
         rate 44100
     }
}
------------8<----------------------------

If I use filter device there is no problems, for example:
# mplayer -vo null -ao alsa:device=filter=1,0,0 sweep_100-5000.wav
it plays correctly wav file

but I have to use filter_mono device, and I get an error:
# mplayer -vo null -ao alsa:device=filter_mono=1,0,0 sweep_100-5000.wav
MPlayer UNKNOWN-4.3.3 (C) 2000-2010 MPlayer Team

Playing sweep_100-5000.wav.
Audio only file format detected.
==========================================================================
Forced audio codec: mad
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 1 ch, s16le, 705.6 kbit/100.00% (ratio: 88200->88200)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
[AO_ALSA] alsa-lib: conf.c:1685:(snd_config_load1) 
_toplevel_:171:33:Unexpected char
[AO_ALSA] alsa-lib: conf.c:3467:(snd_config_hook_load) 
/home/root/.asoundrc may be old or corrupted: consider to remove or fix it
[AO_ALSA] alsa-lib: conf.c:3326:(snd_config_hooks_call) function 
snd_config_hook_load returned error: Invalid argument
[AO_ALSA] alsa-lib: conf.c:3713:(snd_config_update_r) hooks failed, 
removing configuration
[AO_ALSA] Playback open error: Invalid argument

how can I pass arguments from filter_mono to filter device?

thanks

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Picon

Input/Output error

Hi.

I'm using Ubuntu 11.04 i386 with kernel 2.6.38-15-generic-pae to
record some audio with arecord.

I'm getting this strange error when I try to record from my FM tuner
card from device hw1,0:

root <at> dvr-test:/home/dvr/dvr# arecord -f cd -D hw:1,0 -d 20 test.wav
Registrazione in corso WAVE 'test.wav' : Signed 16 bit Little Endian,
Frequenza 44100 Hz, Stereo
Attenzione: il campionamento non è accurato (richiesto=44100Hz,
ottenuto=32000Hz)
         provare il plugin plug
arecord: pcm_read:1773: read error: Input/output error

And the test.wav file is empty, of course.

I tried to upgrade to Ubuntu 12.04 also, but I get the same error.
I tried to change my FM tuner PCI card, but I didn't solve the problem.

I googled a lot but I didn't find any solution for my problem.

Here you can find my ALSA info:
http://www.alsa-project.org/db/?f=cfc2632071342f2b0373c3a484fa04b19acf0958

Could you help me, please?

Thank you very much!
Bye.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Vincent Tschanz | 22 May 11:56
Picon
Gravatar

Macbook pro 1.2 Headphone and speakers

Hi,

I have a Macbook Pro 1.2 .With ubuntu 12.04, the sound works, but when I
plug in headphones, I have sound both in headphones and internal speakers.

I tried to add "options snd-hda-intel model=macbook-pro-v1" at the end
of /etc/modprobe.d/alsa-base.conf

But it is not working better.
The soundcard on that laptop is a SigmaTel STAC9221 A1

Is there something else I can try to get the sound working correctly?

Thank you

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
paul424 | 21 May 18:53
Picon
Favicon

Speedlink SL-8871 sound card , chipset cmi8768


Dnia 21 maja 2012 11:31 paul424 <paul424 <at> o2.pl> napisał(a):

> As in title in this post I will try to get help with the aforementioned card. 
> 
> http://www.speedlink.com/?p=2&cat=17&pid=21069&paus=1&PHPSESSID=3e0d21d98eebe062f6e63e090b700be6
> 
> I am on alsa-1.0.25-123.1.x86_64
> uname -a
> Linux linux-ex0a 3.1.10-1.9-desktop #1 SMP PREEMPT Thu Apr 5 18:48:38 UTC 2012 (4a97ec8) x86_64 x86_64
x86_64 GNU/Linux.
> 
> 
> I cannot get the properly working sound on the line-in output ( green socket :) ) . I can get only sound when
switching "Rear out" at Line-in alsamixer switch. That sounds terrible, as only the basses would come
out. 
> 
> aplay -L, devices are many, but none seems to output proper sound.
> 
> Where should I try to get the card working. 
> 
> null
>     Discard all samples (playback) or generate zero samples (capture)
> default:CARD=CMI8768
>     C-Media CMI8768, C-Media PCI DAC/ADC
>     Default Audio Device
> sysdefault:CARD=CMI8768
>     C-Media CMI8768, C-Media PCI DAC/ADC
>     Default Audio Device
> front:CARD=CMI8768,DEV=0
>     C-Media CMI8768, C-Media PCI DAC/ADC
>     Front speakers
> rear:CARD=CMI8768,DEV=0
>     C-Media CMI8768, C-Media PCI 2nd DAC
>     Rear speakers
> surround40:CARD=CMI8768,DEV=0
>     C-Media CMI8768, C-Media PCI 2nd DAC
>     4.0 Surround output to Front and Rear speakers
> surround41:CARD=CMI8768,DEV=0
>     C-Media CMI8768, C-Media PCI 2nd DAC
>     4.1 Surround output to Front, Rear and Subwoofer speakers
> surround50:CARD=CMI8768,DEV=0
>     C-Media CMI8768, C-Media PCI 2nd DAC
>     5.0 Surround output to Front, Center and Rear speakers
> surround51:CARD=CMI8768,DEV=0
>     C-Media CMI8768, C-Media PCI 2nd DAC
>     5.1 Surround output to Front, Center, Rear and Subwoofer speakers
> surround71:CARD=CMI8768,DEV=0
>     C-Media CMI8768, C-Media PCI 2nd DAC
>     7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
> iec958:CARD=CMI8768,DEV=0
>     C-Media CMI8768, C-Media PCI DAC/ADC
>     IEC958 (S/PDIF) Digital Audio Output
> 
> 
> 
> 
> My alsa-info.sh
> 
> upload=true&script=true&cardinfo=
> !!################################
> !!ALSA Information Script v 0.4.60
> !!################################
> 
> !!Script ran on: Mon May 21 09:24:56 UTC 2012
> 
> 
> !!Linux Distribution
> !!------------------
> 
> Welcome to openSUSE 12.1 "Asparagus" - Kernel \r (\l). openSUSE 12.1 (x86_64) NAME=openSUSE
PRETTY_NAME="openSUSE 12.1 (Asparagus) (x86_64)" ID=opensuse
> 
> 
> !!DMI Information
> !!---------------
> 
> Manufacturer:      Gigabyte Technology Co., Ltd.
> Product Name:      M61SME-S2
> Product Version:    
> 
> 
> !!Kernel Information
> !!------------------
> 
> Kernel release:    3.1.10-1.9-desktop
> Operating System:  GNU/Linux
> Architecture:      x86_64
> Processor:         x86_64
> SMP Enabled:       Yes
> 
> 
> !!ALSA Version
> !!------------
> 
> Driver version:     1.0.24
> Library version:    
> Utilities version:  1.0.24.2
> 
> 
> !!Loaded ALSA modules
> !!-------------------
> 
> snd_cmipci
> 
> 
> !!Sound Servers on this system
> !!----------------------------
> 
> No sound servers found.
> 
> 
> !!Soundcards recognised by ALSA
> !!-----------------------------
> 
>  0 [CMI8768        ]: CMI8738-MC8 - C-Media CMI8768
>                       C-Media CMI8768 at 0xa000, irq 17
> 
> 
> !!PCI Soundcards installed in the system
> !!--------------------------------------
> 
> 01:07.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
> 02:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1)
> 
> 
> !!Advanced information - PCI Vendor/Device/Subsystem ID's
> !!--------------------------------------------------------
> 
> 01:07.0 0401: 13f6:0111 (rev 10)
> 	Subsystem: 13f6:0111
> --
> 02:00.1 0403: 10de:0be2 (rev a1)
> 	Subsystem: 1462:8051
> 
> 
> !!Loaded sound module options
> !!--------------------------
> 
> !!Module: snd_cmipci
> 	enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
> 	fm_port : 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
> 	id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
> 	index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
> 	joystick_port : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
> 	mpu_port : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
> 	soft_ac3 : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
> 
> 
> !!ALSA Device nodes
> !!-----------------
> 
> crw-rw----+ 1 root audio 116,  8 May 21 02:17 /dev/snd/controlC0
> crw-rw----+ 1 root audio 116,  2 May 21 02:17 /dev/snd/midiC0D0
> crw-rw----+ 1 root audio 116,  7 May 21 02:17 /dev/snd/pcmC0D0c
> crw-rw----+ 1 root audio 116,  6 May 21 11:23 /dev/snd/pcmC0D0p
> crw-rw----+ 1 root audio 116,  5 May 21 02:17 /dev/snd/pcmC0D1p
> crw-rw----+ 1 root audio 116,  4 May 21 02:17 /dev/snd/pcmC0D2c
> crw-rw----+ 1 root audio 116,  3 May 21 02:17 /dev/snd/pcmC0D2p
> crw-rw----  1 root audio 116,  1 May 21 02:17 /dev/snd/seq
> crw-rw----+ 1 root audio 116, 33 May 21 02:17 /dev/snd/timer
> 
> /dev/snd/by-path:
> total 0
> drwxr-xr-x 2 root root  60 May 21 02:17 .
> drwxr-xr-x 3 root root 240 May 21 02:17 ..
> lrwxrwxrwx 1 root root  12 May 21 02:17 pci-0000:01:07.0 -> ../controlC0
> 
> 
> !!Aplay/Arecord output
> !!------------
> 
> APLAY
> 
> **** List of PLAYBACK Hardware Devices ****
> card 0: CMI8768 [C-Media CMI8768], device 0: CMI8738-MC8 [C-Media PCI DAC/ADC]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 0: CMI8768 [C-Media CMI8768], device 1: CMI8738-MC8 [C-Media PCI 2nd DAC]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 0: CMI8768 [C-Media CMI8768], device 2: CMI8738-MC8 [C-Media PCI IEC958]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> 
> ARECORD
> 
> **** List of CAPTURE Hardware Devices ****
> card 0: CMI8768 [C-Media CMI8768], device 0: CMI8738-MC8 [C-Media PCI DAC/ADC]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 0: CMI8768 [C-Media CMI8768], device 2: CMI8738-MC8 [C-Media PCI IEC958]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> 
> !!Amixer output
> !!-------------
> 
> !!-------Mixer controls for card 0 [CMI8768]
> 
> Card hw:0 'CMI8768'/'C-Media CMI8768 at 0xa000, irq 17'
>   Mixer name	: 'CMedia PCI'
>   Components	: ''
>   Controls      : 41
>   Simple ctrls  : 22
> Simple mixer control 'Master',0
>   Capabilities: pvolume penum
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 31
>   Mono:
>   Front Left: Playback 31 [100%]
>   Front Right: Playback 31 [100%]
> Simple mixer control '3D Control - Switch',0
>   Capabilities: pswitch pswitch-joined penum
>   Playback channels: Mono
>   Mono: Playback [off]
> Simple mixer control 'PCM',0
>   Capabilities: pvolume pswitch pswitch-joined cswitch penum
>   Playback channels: Front Left - Front Right
>   Capture channels: Front Left - Front Right
>   Limits: Playback 0 - 255
>   Front Left: Playback 255 [100%] [0.00dB] [on] Capture [on]
>   Front Right: Playback 255 [100%] [0.00dB] [on] Capture [on]
> Simple mixer control 'Synth',0
>   Capabilities: pvolume pswitch pswitch-joined cswitch penum
>   Playback channels: Front Left - Front Right
>   Capture channels: Front Left - Front Right
>   Limits: Playback 0 - 31
>   Front Left: Playback 8 [26%] [on] Capture [on]
>   Front Right: Playback 8 [26%] [on] Capture [on]
> Simple mixer control 'Line',0
>   Capabilities: pvolume pswitch cswitch penum
>   Playback channels: Front Left - Front Right
>   Capture channels: Front Left - Front Right
>   Limits: Playback 0 - 31
>   Front Left: Playback 22 [71%] [on] Capture [on]
>   Front Right: Playback 22 [71%] [on] Capture [on]
> Simple mixer control 'Line-In Mode',0
>   Capabilities: enum
>   Items: 'Line-In' 'Rear Output' 'Bass Output'
>   Item0: 'Bass Output'
> Simple mixer control 'CD',0
>   Capabilities: pvolume pswitch cswitch penum
>   Playback channels: Front Left - Front Right
>   Capture channels: Front Left - Front Right
>   Limits: Playback 0 - 31
>   Front Left: Playback 21 [68%] [on] Capture [on]
>   Front Right: Playback 21 [68%] [on] Capture [on]
> Simple mixer control 'Mic',0
>   Capabilities: pvolume pvolume-joined cvolume cvolume-joined pswitch pswitch-joined cswitch
cswitch-joined penum
>   Playback channels: Mono
>   Capture channels: Mono
>   Limits: Playback 0 - 31 Capture 0 - 7
>   Mono: Playback 8 [26%] [off] Capture 7 [100%] [off]
> Simple mixer control 'Mic Boost',0
>   Capabilities: pswitch pswitch-joined cswitch cswitch-joined penum
>   Playback channels: Mono
>   Capture channels: Mono
>   Mono: Playback [off] Capture [on]
> Simple mixer control 'Mic-In Mode',0
>   Capabilities: enum
>   Items: 'Mic-In' 'Center/LFE Output'
>   Item0: 'Center/LFE Output'
> Simple mixer control 'Phone',0
>   Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
>   Playback channels: Mono
>   Limits: Playback 0 - 7
>   Mono: Playback 2 [29%] [on]
> Simple mixer control 'IEC958 5V',0
>   Capabilities: pswitch pswitch-joined penum
>   Playback channels: Mono
>   Mono: Playback [off]
> Simple mixer control 'IEC958 Copyright',0
>   Capabilities: pswitch pswitch-joined penum
>   Playback channels: Mono
>   Mono: Playback [off]
> Simple mixer control 'IEC958 In Monitor',0
>   Capabilities: pswitch pswitch-joined penum
>   Playback channels: Mono
>   Mono: Playback [off]
> Simple mixer control 'IEC958 In Phase Inverse',0
>   Capabilities: pswitch pswitch-joined penum
>   Playback channels: Mono
>   Mono: Playback [off]
> Simple mixer control 'IEC958 In Select',0
>   Capabilities: pswitch pswitch-joined penum
>   Playback channels: Mono
>   Mono: Playback [off]
> Simple mixer control 'IEC958 In Valid',0
>   Capabilities: pswitch pswitch-joined penum
>   Playback channels: Mono
>   Mono: Playback [off]
> Simple mixer control 'IEC958 Loop',0
>   Capabilities: pswitch pswitch-joined penum
>   Playback channels: Mono
>   Mono: Playback [off]
> Simple mixer control 'IEC958 Output',0
>   Capabilities: pswitch pswitch-joined penum
>   Playback channels: Mono
>   Mono: Playback [off]
> Simple mixer control 'Beep',0
>   Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
>   Playback channels: Mono
>   Limits: Playback 0 - 3
>   Mono: Playback 1 [33%] [on]
> Simple mixer control 'Aux',0
>   Capabilities: pvolume pswitch cswitch penum
>   Playback channels: Front Left - Front Right
>   Capture channels: Front Left - Front Right
>   Limits: Playback 0 - 15
>   Front Left: Playback 5 [33%] [on] Capture [on]
>   Front Right: Playback 5 [33%] [on] Capture [on]
> Simple mixer control 'Four Channel Mode',0
>   Capabilities: pswitch pswitch-joined penum
>   Playback channels: Mono
>   Mono: Playback [off]
> 
> 
> !!Alsactl output
> !!-------------
> 
> --startcollapse--
> state.CMI8768 {
> 	control.1 {
> 		iface MIXER
> 		name 'Master Playback Volume'
> 		value.0 31
> 		value.1 31
> 		comment {
> 			access 'read write'
> 			type INTEGER
> 			count 2
> 			range '0 - 31'
> 		}
> 	}
> 	control.2 {
> 		iface MIXER
> 		name '3D Control - Switch'
> 		value false
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 1
> 		}
> 	}
> 	control.3 {
> 		iface MIXER
> 		name 'PCM Playback Switch'
> 		value true
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 1
> 		}
> 	}
> 	control.4 {
> 		iface MIXER
> 		name 'PCM Capture Switch'
> 		value.0 true
> 		value.1 true
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 2
> 		}
> 	}
> 	control.5 {
> 		iface MIXER
> 		name 'Synth Playback Volume'
> 		value.0 8
> 		value.1 8
> 		comment {
> 			access 'read write'
> 			type INTEGER
> 			count 2
> 			range '0 - 31'
> 		}
> 	}
> 	control.6 {
> 		iface MIXER
> 		name 'Synth Playback Switch'
> 		value true
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 1
> 		}
> 	}
> 	control.7 {
> 		iface MIXER
> 		name 'Synth Capture Route'
> 		value.0 true
> 		value.1 false
> 		value.2 false
> 		value.3 true
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 4
> 		}
> 	}
> 	control.8 {
> 		iface MIXER
> 		name 'CD Playback Volume'
> 		value.0 21
> 		value.1 21
> 		comment {
> 			access 'read write'
> 			type INTEGER
> 			count 2
> 			range '0 - 31'
> 		}
> 	}
> 	control.9 {
> 		iface MIXER
> 		name 'CD Playback Switch'
> 		value.0 true
> 		value.1 true
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 2
> 		}
> 	}
> 	control.10 {
> 		iface MIXER
> 		name 'CD Capture Route'
> 		value.0 true
> 		value.1 false
> 		value.2 false
> 		value.3 true
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 4
> 		}
> 	}
> 	control.11 {
> 		iface MIXER
> 		name 'Line Playback Volume'
> 		value.0 22
> 		value.1 22
> 		comment {
> 			access 'read write'
> 			type INTEGER
> 			count 2
> 			range '0 - 31'
> 		}
> 	}
> 	control.12 {
> 		iface MIXER
> 		name 'Line Playback Switch'
> 		value.0 true
> 		value.1 true
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 2
> 		}
> 	}
> 	control.13 {
> 		iface MIXER
> 		name 'Line Capture Route'
> 		value.0 true
> 		value.1 false
> 		value.2 false
> 		value.3 true
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 4
> 		}
> 	}
> 	control.14 {
> 		iface MIXER
> 		name 'Mic Playback Volume'
> 		value 8
> 		comment {
> 			access 'read write'
> 			type INTEGER
> 			count 1
> 			range '0 - 31'
> 		}
> 	}
> 	control.15 {
> 		iface MIXER
> 		name 'Mic Playback Switch'
> 		value false
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 1
> 		}
> 	}
> 	control.16 {
> 		iface MIXER
> 		name 'Mic Capture Switch'
> 		value false
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 1
> 		}
> 	}
> 	control.17 {
> 		iface MIXER
> 		name 'Beep Playback Volume'
> 		value 1
> 		comment {
> 			access 'read write'
> 			type INTEGER
> 			count 1
> 			range '0 - 3'
> 		}
> 	}
> 	control.18 {
> 		iface MIXER
> 		name 'Aux Playback Volume'
> 		value.0 5
> 		value.1 5
> 		comment {
> 			access 'read write'
> 			type INTEGER
> 			count 2
> 			range '0 - 15'
> 		}
> 	}
> 	control.19 {
> 		iface MIXER
> 		name 'Aux Playback Switch'
> 		value.0 true
> 		value.1 true
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 2
> 		}
> 	}
> 	control.20 {
> 		iface MIXER
> 		name 'Aux Capture Switch'
> 		value.0 true
> 		value.1 true
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 2
> 		}
> 	}
> 	control.21 {
> 		iface MIXER
> 		name 'Mic Boost Playback Switch'
> 		value false
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 1
> 		}
> 	}
> 	control.22 {
> 		iface MIXER
> 		name 'Mic Capture Volume'
> 		value 7
> 		comment {
> 			access 'read write'
> 			type INTEGER
> 			count 1
> 			range '0 - 7'
> 		}
> 	}
> 	control.23 {
> 		iface MIXER
> 		name 'Phone Playback Volume'
> 		value 2
> 		comment {
> 			access 'read write'
> 			type INTEGER
> 			count 1
> 			range '0 - 7'
> 		}
> 	}
> 	control.24 {
> 		iface MIXER
> 		name 'Phone Playback Switch'
> 		value true
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 1
> 		}
> 	}
> 	control.25 {
> 		iface MIXER
> 		name 'Beep Playback Switch'
> 		value true
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 1
> 		}
> 	}
> 	control.26 {
> 		iface MIXER
> 		name 'Mic Boost Capture Switch'
> 		value true
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 1
> 		}
> 	}
> 	control.27 {
> 		iface MIXER
> 		name 'Four Channel Mode'
> 		value false
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 1
> 		}
> 	}
> 	control.28 {
> 		iface MIXER
> 		name 'Line-In Mode'
> 		value 'Bass Output'
> 		comment {
> 			access 'read write'
> 			type ENUMERATED
> 			count 1
> 			item.0 Line-In
> 			item.1 'Rear Output'
> 			item.2 'Bass Output'
> 		}
> 	}
> 	control.29 {
> 		iface MIXER
> 		name 'IEC958 Output Switch'
> 		value false
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 1
> 		}
> 	}
> 	control.30 {
> 		iface MIXER
> 		name 'IEC958 In Valid'
> 		value false
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 1
> 		}
> 	}
> 	control.31 {
> 		iface MIXER
> 		name 'IEC958 Copyright'
> 		value false
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 1
> 		}
> 	}
> 	control.32 {
> 		iface MIXER
> 		name 'IEC958 5V'
> 		value false
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 1
> 		}
> 	}
> 	control.33 {
> 		iface MIXER
> 		name 'IEC958 Loop'
> 		value false
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 1
> 		}
> 	}
> 	control.34 {
> 		iface MIXER
> 		name 'IEC958 In Monitor'
> 		value false
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 1
> 		}
> 	}
> 	control.35 {
> 		iface PCM
> 		device 2
> 		name 'IEC958 Playback Default'
> 		value '0082000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
> 		comment {
> 			access 'read write'
> 			type IEC958
> 			count 1
> 		}
> 	}
> 	control.36 {
> 		iface PCM
> 		device 2
> 		name 'IEC958 Playback Con Mask'
> 		value ffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
> 		comment {
> 			access read
> 			type IEC958
> 			count 1
> 		}
> 	}
> 	control.37 {
> 		iface PCM
> 		device 2
> 		name 'IEC958 Playback PCM Stream'
> 		value '0082000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
> 		comment {
> 			access 'read write inactive'
> 			type IEC958
> 			count 1
> 		}
> 	}
> 	control.38 {
> 		iface MIXER
> 		name 'IEC958 In Select'
> 		value false
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 1
> 		}
> 	}
> 	control.39 {
> 		iface MIXER
> 		name 'IEC958 In Phase Inverse'
> 		value false
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 1
> 		}
> 	}
> 	control.40 {
> 		iface MIXER
> 		name 'Mic-In Mode'
> 		value 'Center/LFE Output'
> 		comment {
> 			access 'read write'
> 			type ENUMERATED
> 			count 1
> 			item.0 Mic-In
> 			item.1 'Center/LFE Output'
> 		}
> 	}
> 	control.41 {
> 		iface MIXER
> 		name 'PCM Playback Volume'
> 		value.0 255
> 		value.1 255
> 		comment {
> 			access 'read write user'
> 			type INTEGER
> 			count 2
> 			range '0 - 255'
> 			tlv '0000000100000008ffffec1400000014'
> 			dbmin -5100
> 			dbmax 0
> 			dbvalue.0 0
> 			dbvalue.1 0
> 		}
> 	}
> }
> --endcollapse--
> 
> 
> !!All Loaded Modules
> !!------------------
> 
> Module
> fuse
> ip6t_LOG
> xt_tcpudp
> xt_pkttype
> ipt_LOG
> xt_limit
> af_packet
> ip6t_REJECT
> nf_conntrack_ipv6
> nf_defrag_ipv6
> ip6table_raw
> xt_NOTRACK
> ipt_REJECT
> iptable_raw
> iptable_filter
> ip6table_mangle
> nf_conntrack_netbios_ns
> nf_conntrack_broadcast
> nf_conntrack_ipv4
> nf_defrag_ipv4
> ip_tables
> xt_conntrack
> nf_conntrack
> ip6table_filter
> ip6_tables
> x_tables
> cpufreq_conservative
> cpufreq_userspace
> cpufreq_powersave
> powernow_k8
> mperf
> nvidia
> snd_cmipci
> gameport
> snd_pcm
> snd_page_alloc
> snd_opl3_lib
> ppdev
> snd_timer
> snd_hwdep
> snd_mpu401_uart
> i2c_nforce2
> sr_mod
> snd_rawmidi
> snd_seq_device
> snd
> parport_pc
> sg
> edac_core
> cdrom
> parport
> soundcore
> joydev
> forcedeth
> k8temp
> edac_mce_amd
> floppy
> button
> pcspkr
> serio_raw
> autofs4
> processor
> thermal_sys
> ata_generic
> sata_nv
> pata_amd
> 
> 
> !!ALSA/HDA dmesg
> !!------------------
> 
> 
> 
> 
> 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Alsa-user mailing list
Alsa-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user
paul424 | 21 May 11:17
Picon
Favicon

Speedlink SL-8871 sound card , chipset cmi8768

In this link i will try to get help with aforementioned card . 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
paul424 | 21 May 11:14
Picon
Favicon

Speedlink SL8871 sound card , chipset cmi8768

As in title in this post I will try to get help with the aforementioned card. 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Dan Swain | 20 May 23:43
Picon

emu10k1 (Audigy) FXBus routing query

Dear all,


I am writing to ask how to route certain DSP 'outputs' from my Audigy 2 ZS back into the equivalent 'ASIO inputs' for recording purposes.

Specifically, I'd like to route outputs from the Wavetable Synths on my card to inputs that would go straight into a DAW (such as Ardour), so that I can apply effects, record and mix-down as if they were external synth signals.

I know that with the kX project drivers in Windows this is possible, by routing the Synth outputs to FXBus outputs 16-63, leaving the ASIO inputs as 0-15 for the audio input, and then patching which channels I require from the Synth to those inputs (e.g. Synth Channel 1 -> FXBus out 16&17 -> FXBus in 0&1).

After reading a thread that contained responses from Jaroslav, I believe the answer is in emufx.c, but I'm unsure as to where to start as I need to assign the outputs from the Synths correctly first.

Thanks in advance! Any help would be greatly appreciated!

Kind Regards,

Dan
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Alsa-user mailing list
Alsa-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user
Dieter Knopf | 19 May 06:25

Permanent audio device with snd-usb-audio

Hello,

i'm searching for a way to create a permanent audio device with the
snd-usb-audio and a USB microphone.

The device should be already there and working and after plugging in
the USB device it should be avaialble through that device.

Example: /dev/pcm is already there and i can stream from it and after
i plugged in the USB device this should be available through that
device. After unplugging it it should be still there. Like a mixer.

Thanks

Dieter

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Boszormenyi Zoltan | 16 May 13:18
Picon

Re: HDMI audio on NVIDIA trims the first second off the stream

2012-05-16 12:31 keltezéssel, Fengguang Wu írta:
> On Wed, May 16, 2012 at 12:17:21PM +0200, Boszormenyi Zoltan wrote:
>> Hi,
>>
>> 2012-05-16 11:11 keltezéssel, Fengguang Wu írta:
>>> On Mon, May 14, 2012 at 02:02:06PM +0200, Boszormenyi Zoltan wrote:
>>>> Hi Linux sound driver maintainers and authors,
>>>>
>>>> we have a little(?) problem that we discovered while experimenting
>>>> with HDMI audio output on a Zotac ZBOX with NVIDIA ION GT218.
>>>> We are using the embedded Angstrom distribution with kernel
>>>> version 2.6.38.4 and NVIDIA proprietary driver version 260.19.21.
>>>>
>>>> Both the mainboard audio controller and the HDMI audio are
>>>> driven by the in-kernel snd-hda-intel. lspci output is:
>>>>
>>>> 00:00.0 Class 0600: 8086:a000
>>>> 00:1b.0 Class 0403: 8086:27d8
>>>> 00:1c.0 Class 0604: 8086:27d0
>>>> 00:1c.1 Class 0604: 8086:27d2
>>>> 00:1c.2 Class 0604: 8086:27d4
>>>> 00:1d.0 Class 0c03: 8086:27c8
>>>> 00:1d.1 Class 0c03: 8086:27c9
>>>> 00:1d.2 Class 0c03: 8086:27ca
>>>> 00:1d.3 Class 0c03: 8086:27cb
>>>> 00:1d.7 Class 0c03: 8086:27cc
>>>> 00:1e.0 Class 0604: 8086:2448
>>>> 00:1f.0 Class 0601: 8086:27bc
>>>> 00:1f.2 Class 0101: 8086:27c0
>>>> 00:1f.3 Class 0c05: 8086:27da
>>>> 01:00.0 Class 0c03: 1106:3432
>>>> 02:00.0 Class 0280: 168c:002b
>>>> 03:00.0 Class 0300: 10de:0a64
>>>> 03:00.1 Class 0403: 10de:0be3
>>>> 04:0b.0 Class 0200: 10ec:8167
>>>>
>>>> Relevant parts (decoded by http://kmuto.jp/debian/hcl/):
>>>>
>>>> 8086:27d8 Intel Corporation N10/ICH 7 Family High Definition Audio Controller
>>>> 10de:0a64 nVidia Corporation GT218 [ION]
>>>> 10de:0be3 nVidia Corporation High Definition Audio Controller
>>>>
>>>> The problem is that when the audio stream starts, the first one or
>>>> two seconds are not audible, it's trimmed from the stream.
>>>>
>>>> I have found a few available test samples that show the problem
>>>> at http://www.audiocheck.net/
>>>>
>>>> The longer mono sample at
>>>>      http://www.audiocheck.net/Audio/audiocheck.net_welcome2.wav
>>>> need to be converted to stereo before being playable on the HDMI output:
>>>>
>>>> sox audiocheck.net_welcome2.wav -c 2 audiocheck.net_welcome-stereo.wav
>>>>
>>>> When played with
>>>>      aplay -D hw:1,7 audiocheck.net_welcome-stereo.wav
>>>> the "Welcome to" words at the very beginning are not audible.
>>>>
>>>> The next two samples at
>>>>      http://www.audiocheck.net/Audio/audiocheck.net_L.wav
>>>>      http://www.audiocheck.net/Audio/audiocheck.net_R.wav
>>>> are shorter than 2 seconds and are not audible at all when played.
>>>>
>>>> When played with "aplay -D hw:0,0" over the mainboard device,
>>>> all samples are OK.
>>>>
>>>> Does anyone know whether it's a known problem or maybe an
>>>> already fixed one?
>>> It's a known problem. We have a workaround to avoid unnecessary changing
>>> states with this commit. However if you play a 2-channel clip after
>>> finished another 8-channel one, there is no way to hide the inherent
>>> delays in the TV from the user..
>>>
>>> commit 5779191e0efd851fb0d54698c13cb4f5325caca6
>>> Author: Wu Fengguang<fengguang.wu <at> intel.com>
>>> Date:   Wed Nov 18 12:38:06 2009 +0800
>>>
>>>      ALSA: intelhdmi - sticky stream id and format
>>>
>>>      We tracked down the first-0.5s-hdmi-audio-samples-lost problem to the
>>>      AC_VERB_SET_CHANNEL_STREAMID command. It is suspected that many HDMI
>>>      sinks need some time to adapt to the new state.
>>>
>>>      The workaround is to avoid changing stream id/format whenever possible.
>>>      Proposed by David.
>>>
>>> Thanks,
>>> Fengguang
>> thanks for your answer. However, this GIT commit is dated
>> 2009-11-18 and according to "git log", it went into Linux
>> 2.6.32-rc8. We are using 2.6.38.4.
> Do you see the 2s delays on every new files played, even if they are
> of the same format?

Yes.

[zozo <at> localhost samples]$ file *
audiocheck.net_L.wav:              RIFF (little-endian) data, WAVE audio, Microsoft PCM, 
16 bit, stereo 44100 Hz
audiocheck.net_R.wav:              RIFF (little-endian) data, WAVE audio, Microsoft PCM, 
16 bit, stereo 44100 Hz
audiocheck.net_welcome-stereo.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 
16 bit, stereo 44100 Hz

> If so, we need to check it in probably two steps:
>
> 1) run this during playback and when stopped playback:
>
> $ grep stream= /proc/asound/card0/codec*
>     Converter: stream=8, channel=0
>     Converter: stream=0, channel=0
>     Converter: stream=0, channel=0
>     Converter: stream=0, channel=0
>     Converter: stream=0, channel=0
>     Converter: stream=0, channel=0
>     Converter: stream=0, channel=0

It's actually card1 for me. I started from a clean state and
restored the unmuted state of the HDMI outputs:

# rmmod nvidia
# rmmod snd-hda-intel
# rmmod snd-hda-codec-hdmi
# rmmod snd-hda-codec-realtek
# rmmod snd-hda-codec
# modprobe snd-hda-intel
# modprobe nvidia
# alsactl -f /etc/alsa.state restore

# grep stream= /proc/asound/card1/codec*
/proc/asound/card1/codec#0:  Converter: stream=0, channel=0
/proc/asound/card1/codec#1:  Converter: stream=0, channel=0
/proc/asound/card1/codec#2:  Converter: stream=0, channel=0
/proc/asound/card1/codec#3:  Converter: stream=0, channel=0

After X started from the console:

# grep stream= /proc/asound/card1/codec*
/proc/asound/card1/codec#0:  Converter: stream=0, channel=0
/proc/asound/card1/codec#1:  Converter: stream=0, channel=0
/proc/asound/card1/codec#2:  Converter: stream=0, channel=0
/proc/asound/card1/codec#3:  Converter: stream=0, channel=0

While playing the longer "welcome" file:

# grep stream= /proc/asound/card1/codec*
/proc/asound/card1/codec#0:  Converter: stream=0, channel=0
/proc/asound/card1/codec#1:  Converter: stream=6, channel=0
/proc/asound/card1/codec#2:  Converter: stream=0, channel=0
/proc/asound/card1/codec#3:  Converter: stream=0, channel=0

When playing is stopped:

# grep stream= /proc/asound/card1/codec*
/proc/asound/card1/codec#0:  Converter: stream=0, channel=0
/proc/asound/card1/codec#1:  Converter: stream=6, channel=0
/proc/asound/card1/codec#2:  Converter: stream=0, channel=0
/proc/asound/card1/codec#3:  Converter: stream=0, channel=0

> You'll see the first line has "stream=8". Your system may have some
> different output, but the principle is, the two outputs should remain
> the same. If your "stream=X" is reset to "stream=0" when playback stopped,
> it should be the root cause.

So, the "6" is not reset to "0".

> 2) otherwise enable CONFIG_SND_DEBUG_VERBOSE and check if this message
> appears on every new file played:
>
>          hdmi_setup_audio_infoframe: pin=... channels=...
>
> If so, hdmi_infoframe_uptodate() is not working properly for NVIDIA
> cards.

I will recompile the kernel with the new config option set and report back.

Thanks for your help.

>
> Thanks,
> Fengguang
>

-- 
----------------------------------
Zoltán Böszörményi
Cybertec Schönig&  Schönig GmbH
Gröhrmühlgasse 26
A-2700 Wiener Neustadt, Austria
Web: http://www.postgresql-support.de
      http://www.postgresql.at/

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Alsa-user mailing list
Alsa-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user
Boszormenyi Zoltan | 16 May 12:17
Picon

Re: HDMI audio on NVIDIA trims the first second off the stream

Hi,

2012-05-16 11:11 keltezéssel, Fengguang Wu írta:
> On Mon, May 14, 2012 at 02:02:06PM +0200, Boszormenyi Zoltan wrote:
>> Hi Linux sound driver maintainers and authors,
>>
>> we have a little(?) problem that we discovered while experimenting
>> with HDMI audio output on a Zotac ZBOX with NVIDIA ION GT218.
>> We are using the embedded Angstrom distribution with kernel
>> version 2.6.38.4 and NVIDIA proprietary driver version 260.19.21.
>>
>> Both the mainboard audio controller and the HDMI audio are
>> driven by the in-kernel snd-hda-intel. lspci output is:
>>
>> 00:00.0 Class 0600: 8086:a000
>> 00:1b.0 Class 0403: 8086:27d8
>> 00:1c.0 Class 0604: 8086:27d0
>> 00:1c.1 Class 0604: 8086:27d2
>> 00:1c.2 Class 0604: 8086:27d4
>> 00:1d.0 Class 0c03: 8086:27c8
>> 00:1d.1 Class 0c03: 8086:27c9
>> 00:1d.2 Class 0c03: 8086:27ca
>> 00:1d.3 Class 0c03: 8086:27cb
>> 00:1d.7 Class 0c03: 8086:27cc
>> 00:1e.0 Class 0604: 8086:2448
>> 00:1f.0 Class 0601: 8086:27bc
>> 00:1f.2 Class 0101: 8086:27c0
>> 00:1f.3 Class 0c05: 8086:27da
>> 01:00.0 Class 0c03: 1106:3432
>> 02:00.0 Class 0280: 168c:002b
>> 03:00.0 Class 0300: 10de:0a64
>> 03:00.1 Class 0403: 10de:0be3
>> 04:0b.0 Class 0200: 10ec:8167
>>
>> Relevant parts (decoded by http://kmuto.jp/debian/hcl/):
>>
>> 8086:27d8 Intel Corporation N10/ICH 7 Family High Definition Audio Controller
>> 10de:0a64 nVidia Corporation GT218 [ION]
>> 10de:0be3 nVidia Corporation High Definition Audio Controller
>>
>> The problem is that when the audio stream starts, the first one or
>> two seconds are not audible, it's trimmed from the stream.
>>
>> I have found a few available test samples that show the problem
>> at http://www.audiocheck.net/
>>
>> The longer mono sample at
>>      http://www.audiocheck.net/Audio/audiocheck.net_welcome2.wav
>> need to be converted to stereo before being playable on the HDMI output:
>>
>> sox audiocheck.net_welcome2.wav -c 2 audiocheck.net_welcome-stereo.wav
>>
>> When played with
>>      aplay -D hw:1,7 audiocheck.net_welcome-stereo.wav
>> the "Welcome to" words at the very beginning are not audible.
>>
>> The next two samples at
>>      http://www.audiocheck.net/Audio/audiocheck.net_L.wav
>>      http://www.audiocheck.net/Audio/audiocheck.net_R.wav
>> are shorter than 2 seconds and are not audible at all when played.
>>
>> When played with "aplay -D hw:0,0" over the mainboard device,
>> all samples are OK.
>>
>> Does anyone know whether it's a known problem or maybe an
>> already fixed one?
> It's a known problem. We have a workaround to avoid unnecessary changing
> states with this commit. However if you play a 2-channel clip after
> finished another 8-channel one, there is no way to hide the inherent
> delays in the TV from the user..
>
> commit 5779191e0efd851fb0d54698c13cb4f5325caca6
> Author: Wu Fengguang<fengguang.wu <at> intel.com>
> Date:   Wed Nov 18 12:38:06 2009 +0800
>
>      ALSA: intelhdmi - sticky stream id and format
>
>      We tracked down the first-0.5s-hdmi-audio-samples-lost problem to the
>      AC_VERB_SET_CHANNEL_STREAMID command. It is suspected that many HDMI
>      sinks need some time to adapt to the new state.
>
>      The workaround is to avoid changing stream id/format whenever possible.
>      Proposed by David.
>
> Thanks,
> Fengguang

thanks for your answer. However, this GIT commit is dated
2009-11-18 and according to "git log", it went into Linux
2.6.32-rc8. We are using 2.6.38.4.

Best regards,
Zoltán Böszörményi

--

-- 
----------------------------------
Zoltán Böszörményi
Cybertec Schönig&  Schönig GmbH
Gröhrmühlgasse 26
A-2700 Wiener Neustadt, Austria
Web: http://www.postgresql-support.de
      http://www.postgresql.at/

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

Gmane