Re: [Alsa-user] Could Alsa cause a hard crash?

2015-04-14 Thread Clemens Ladisch
Jeff Sadowski wrote: I was having issues with Mythtv hard crashing my system. I had previously had the output sound device set directly as my HDMI on my Intel Corporation 5 Series/3400 Series Chipset High Definition Audio I remembered in the past having issues with pulse audio and any other

Re: [Alsa-user] usb sound card - device order

2015-05-04 Thread Clemens Ladisch
Legreg Accounts wrote: pcm.!default { Don't do that. options snd-usb-audio index=0 This does not work if there is some other driver that already has grabbed this index. Use this instead: options snd slots=snd-usb-audio Regards, Clemens

Re: [Alsa-user] How to report bugs?

2015-05-07 Thread Clemens Ladisch
Todd Dailey wrote: How to report bugs when https://bugtrack.alsa-project.org/alsa-bug does not work? For driver bugs, use the kernel bugzilla: https://bugzilla.kernel.org/ For other bugs, send a mail to the alsa-devel list. Regards, Clemens

Re: [Alsa-user] usb sound card - device order

2015-05-05 Thread Clemens Ladisch
Régis Legrand wrote: # Keep snd-usb-audio from beeing loaded as first soundcard options snd-usb-audio index=-2 options snd slots=snd-usb-audio These two options conflict. Remove the first one. But i still have a random card number for my audio 2 dj: You have to unload and reload all sound

Re: [Alsa-user] missing input volume controls in MAYA44 USB

2015-05-13 Thread Clemens Ladisch
nightmixes wrote: I bought a MAYA44 USB+ sound card to use in Linux and although is on the list of compatible devices at http://www.alsa-project.org, I can not make it work properly. Maybe something is missing because the site says under development That entry was mistakenly copy from the

Re: [Alsa-user] Could Alsa cause a hard crash?

2015-05-18 Thread Clemens Ladisch
Jeff Sadowski wrote: My desktop changed from XFCE4 to Gnome 3.14. (Suspecting this) I had always used x11vnc and mythtv frontend and never had the issue before adding my new disk. Today I tried installing XFCE4 and had no problems so far under XFCE4 with it. One good night doesn't prove

Re: [Alsa-user] USB Audio Input Controls / Level - Functionality Improvement

2015-05-18 Thread Clemens Ladisch
Chapman wrote: I am using the ALSA snd_usb_audio kernel driver with my Native Instruments Komplete Audio 6. All Audio input levels are low and cannot be seperated from within pulseaudio, which are all mapped into one. No ALSA mixer controls exist for the input channels. Please show the

Re: [Alsa-user] missing input volume controls in MAYA44 USB

2015-05-18 Thread Clemens Ladisch
nightmixes wrote: I wondered if the vendor:product id that appears in lsusb may be wrong and makes fail the Alsa or USB system to identified the device properly. The MAYA44 indeed indeed has a workaround to change some of its mixer controls. What if the device is correctly identified some

Re: [Alsa-user] Could Alsa cause a hard crash?

2015-04-16 Thread Clemens Ladisch
Jeff Sadowski wrote: I think it is a kernel panic but the display is locked with the GUI. Would you be able to switch back to the console before the crash? Regards, Clemens -- BPM Camp - Free Virtual Workshop May 6th

Re: [Alsa-user] accessing default pcm from C

2015-04-06 Thread Clemens Ladisch
daggs wrote: daggs wrote: I'm writing a C program that needs to know what is the session's default card and device (either default or the one in ~/.asoundrc), how can retrieve that? The name of the default device is default. not quite what I've asked about but looking at the header

Re: [Alsa-user] accessing default pcm from C

2015-04-06 Thread Clemens Ladisch
daggs wrote: I'm writing a C program that needs to know what is the session's default card and device (either default or the one in ~/.asoundrc), how can retrieve that? The name of the default device is default. Regards, Clemens

Re: [Alsa-user] Differences between alsa on kernel and ongit.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/

2015-04-06 Thread Clemens Ladisch
Bill Unruh wrote: I have run into a difference between the alsa structure on git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/ and in the kernel 4.0 rc6. I thought the kernel included the alsa drivers from sound.git, but with the vastly different structures in the latter, it cannot.

Re: [Alsa-user] starters help (help!)

2015-08-18 Thread Clemens Ladisch
F. Dols wrote: that driver is indeed installed, see below, but the module is not, There is only one module, which is also a driver. Its name is snd-indigodjx. There isn't anything named indigodjx. modinfo snd-indigodjx filename:

Re: [Alsa-user] starters help (help!)

2015-08-19 Thread Clemens Ladisch
F. Dols wrote: I bought a convertor (usb to express card) that has a usb plug on the one end and a express female on the other. I put my express card in that female end, and the usb end in my pc. The thing is MADE for this purpose, I assumed. An ExpressCard connector actually has two

Re: [Alsa-user] starters help (help!)

2015-08-18 Thread Clemens Ladisch
F. Dols wrote: I connect the express card using a USB connector. An ExpressCard connector has both PCI Express and USB connections. The Indigo DJx is a PCI Express device, so it will not work if you connect only the USB pins. Regards, Clemens

Re: [Alsa-user] starters help (help!)

2015-08-17 Thread Clemens Ladisch
F. Dols wrote: On http://www.alsa-project.org/main/index.php/Matrix:Main I do not see the name ECHO nor INDIGO in the Sound Card List. http://www.alsa-project.org/main/index.php/Matrix:Vendor-Echo_Corporation Is ALSA able to see this soundcard under Mint 17.1 or not? That depends on

Re: [Alsa-user] Xonar D2 spdif input

2015-08-17 Thread Clemens Ladisch
Alan Bromborsky wrote: I have a Xonar D2 sound card. I wish to capture 5.1 digital input from this sound card. Please note that S/PDIF is designed for stereo audio data. Using it with multichannel data is possible only by compressing the audio so that the compressed stream has the same

Re: [Alsa-user] Unbalanced stereo input as balanced mono input

2015-08-24 Thread Clemens Ladisch
Gunnar Arndt wrote: the configuration of an Alsa PCM device which does that job automatically in real time: (1) Grab a stereo signal from the line input. (2) Invert either the left OR the right channel (i.e. multiply its signal's amplitude by minus 1). (3) Merge the channels to mono.

Re: [Alsa-user] Playing analog input with volume control

2015-08-05 Thread Clemens Ladisch
Alan Bromborsky wrote: I wish to post process the audio output of kodi with ecasound to implement a dsp crossover for my sound system. kodi allows one to select an alsa or pulseaudio device for output. Can I create a virtual alsa sound card selectable from kodi that would send the audio

Re: [Alsa-user] Driver remains at 24 Library Utilities 25 (see script log)

2015-08-11 Thread Clemens Ladisch
PlayF1 Manager wrote: sudo apt-get install dkms Reports I already have the latest version. The current kernel would be 4.1. I do not know how to tell Ubuntu to use it. Both pulseaudio and sound settings report: built in audio digital stereo HDMI built in audio analog stereo You probably

Re: [Alsa-user] Driver remains at 24 Library Utilities 25 (see script log)

2015-08-11 Thread Clemens Ladisch
PlayF1 Manager wrote: I'm running 12.04. The very latest kernel may not be compatible. Kernels _are_ compatible. However, I have installed all the new kernels Stable kernels (such as 3.2.x) contain only bugfixes. do you have any ideas on what might stopping the speaker from working?

Re: [Alsa-user] Driver remains at 24 Library Utilities 25 (see script log)

2015-08-10 Thread Clemens Ladisch
PlayF1 Manager wrote: I am advised here, in Step 3: https://help.ubuntu.com/community/SoundTroubleshootingProcedure That the driver must be the same version as library and utilities. That information is outdated. The drivers are part of the kernel, and have the same version as the kernel.

Re: [Alsa-user] dual mono

2015-07-16 Thread Clemens Ladisch
Ran Shalit wrote: I am using card with playback device and capture device. It seems to me that playback has 2 channels and capture has 2 channels each. The physical connection is:] * mic input * line input * line output * headphones output The routing is typcially handled with

Re: [Alsa-user] aloop questions and a possible suggestion

2015-10-23 Thread Clemens Ladisch
Xover wrote: > Clemens Ladisch googlemail.com> writes: >> It is intended to be used when there is no actual hardware device. > > By way of some background, what is the snd-loop rate shift facility intended > to be used for? To synchronize with some other clock. (Which i

Re: [Alsa-user] Different ALSA hw Parameters for Asus XONAR U7

2015-10-26 Thread Clemens Ladisch
Neil H. Gray wrote: > I have an Asus XONAR U7 which only seems to allow 192k samples on the > hw:U7,0 device sometimes. > > Using aplay --dump-hw-params, I saw different parameters with no clear > idea of why they had changed. > > SAMPLE_BITS: [16 24] > CHANNELS: [2 8] > RATE: [44100 192000] > >

Re: [Alsa-user] aloop questions and a possible suggestion

2015-10-30 Thread Clemens Ladisch
Xover wrote: > Clemens Ladisch googlemail.com> writes: >> Xover wrote: >>> Clemens Ladisch googlemail.com> writes: >>>> It is intended to be used when there is no actual hardware device. >>> >>> By way of some background, what is th

Re: [Alsa-user] Indexing HDMI?

2015-11-02 Thread Clemens Ladisch
Ede Wolf wrote: > /cat/proc/asound/cards: > > 0 [INTELHD]: HDA-Intel - HDA ATI SB >HDA ATI SB at 0xfe50 irq 16 > 1 [HAMMERFALL ]: RME9652 - RME Digi9652 (Rev 1.5) >RME Digi9652 (Rev 1.5) at 0xfd00, irq 20 > 2 [HDMI

Re: [Alsa-user] Fedora 23 x86_64; Pulseaudio removed; playing from multiple sources serially - a little progress . .

2015-10-08 Thread Clemens Ladisch
Paolo Bolzoni wrote: > "Dmix is enabled by default for soundcards which don't support hardware > mixing." > > In my experience, this is a lie. It is enabled in the ALSA device named "default". That doesn't help with programs that hardcode a device name like "hw:0". You could try something

Re: [Alsa-user] PCM Dmix question

2015-10-20 Thread Clemens Ladisch
the seeker wrote: > dmix is used for mixing data from different processes. Would it be ok to use > it to mix data from different threads within a process? Yes. Regards, Clemens --

Re: [Alsa-user] Unsetting PCM Definitions

2015-10-20 Thread Clemens Ladisch
Arthur W. Green wrote: > there are a slew of stock PCM definitions set for this hardware that > I don't want, particularly the surroundXX ones: > [...] > These stock definitions not only clutter my device list, but produce > messy warning notices when running many of my ALSA apps. > $ listaudevs >

Re: [Alsa-user] Unsetting PCM Definitions

2015-10-21 Thread Clemens Ladisch
Arthur W. Green wrote: > On 10/20/2015 01:03 AM, Clemens Ladisch wrote: >> Try something like this: >> >> pcm.!surround51 = does_not_exist; > > Applying (re)definitions of this kind does indeed prune down the list. > Using the listaudevs again with the new asound

Re: [Alsa-user] aloop questions and a possible suggestion

2015-10-21 Thread Clemens Ladisch
Xover wrote: > Background: I would like to implement real time DSP on audio files and > streamed audio e.g. Spotify, played to a DAC with an asynchronous USB > interface, using my own DSP code. This should be done with an external filter plugin:

Re: [Alsa-user] aplay rate - what is it for ?

2015-10-09 Thread Clemens Ladisch
Ran Shalit wrote: > I don't understand why rate is required when we play PCM file. The rate is _not_ required when we play PCM file. If the file header has the rate, aplay ignores the rate parameter. Regards, Clemens

Re: [Alsa-user] Setting Input Device to Mic by Default

2015-08-28 Thread Clemens Ladisch
Todd Efflam wrote: We're able to do this manually by using alsamixer and changing to mic but need this to be done by default. In theory, your distribution's startup/shutdown scripts should call alsactl store/restore to save the mixer settings in asound.state. Regards, Clemens

Re: [Alsa-user] snd_hda_intel: no sound, alsactl restore not work

2015-09-01 Thread Clemens Ladisch
laalaa wrote: > aplay under tty but no sound. aplay under xorg+pulse is ok. > > control.7 { > iface CARD > name 'HDMI/DP,pcm=7 Jack' For the HDMI audio output to work, the sound driver and the graphics driver have to work together. Regards, Clemens

Re: [Alsa-user] Bluetooth as a dmix slave

2015-09-08 Thread Clemens Ladisch
H Plato wrote: > Has there been any progress (or plans) for enabling a bluetooth device as a > dmix slave? No. > I’ve ... recently read that only hardware cards can be dmix types. The dmix plugin requires special support from the kernel to be able to share the buffer memory between multiple

Re: [Alsa-user] Where/what is the output of doxygen cross compiling for ALSA library?

2015-09-04 Thread Clemens Ladisch
rj w wrote: > make doc > > But I don't see the output of the doc make. doc/doxygen/html/index.html Regards, Clemens -- ___ Alsa-user mailing list

Re: [Alsa-user] snd-usb-caiaq (NI Maschine Mikro) device not recognised by alsa

2015-09-06 Thread Clemens Ladisch
sypwex wrote: > Native Instruments Mashine Mikro which is snd-usb-caiaq. No it's not; the Maschine Mikro is not the same as the Maschine Controller. As far as I can see from your lsusb output, the Mikro either works as a HID input device, or needs a separate driver. To check the first

Re: [Alsa-user] Question about cross compiling options

2015-09-06 Thread Clemens Ladisch
rj w wrote: > $ arm-linux-gnueabihf-gcc latency.c -o latency.o -lasound > > I know '-l' means linking a library, but I don't see a library named asound > (or sound) in the folder alsa-lib-1.0.29 (in my download, not 1.0.26). You should find libasound.a in /usr/arm-linux-gnueabihf/lib/ (or

Re: [Alsa-user] Master Volume Control on Xonar Sound Cards

2015-09-10 Thread Clemens Ladisch
Alan Bromborsky wrote: > First, I have a Xonar D2 sound card. It does not have a separate master > volume control in the alsamixer. If I use amixer with the 'Master' > option the volume of each individual channel goes up or down depending > on whether I execute > amixer -c 1 sset Master 1+ & >

Re: [Alsa-user] usbaudio - Stream start causes multiple urbs to be sent rapidly to isosynchronous and sync endpoints

2015-09-13 Thread Clemens Ladisch
Phil Quinton wrote: > When an audio stream starts (play), 12 urbs get sent (very close > together) to the main isosynchronous end point They are submitted to the endpoint's queue. The actual transmission is managed by the controller's hardware and happens later, once per microframe. > This is

Re: [Alsa-user] usbaudio - Stream start causes multiple urbs to be sent rapidly to isosynchronous and sync endpoints

2015-09-14 Thread Clemens Ladisch
Phil Quinton wrote: > "They are submitted to the endpoint's queue. The actual transmission > is managed by the controller's hardware and happens later, once per > microframe." > > Okay, but why are the 12 urbs (4 for sync) despatched one every > microframe ONLY on the initial start of a stream?

Re: [Alsa-user] 'control ... is already present' message

2015-09-11 Thread Clemens Ladisch
Ran Shalit wrote: > asoc: failed to add dapm kcontrol Right HPCOM Mixer Line2L Bypass Switch: -16 > asoc: failed to add kcontrol Right Line2R Mux > ... > What is the reason for the "asoc: failed to add dapm kcontrol" and the > " 'control ... already present" messeges ? That there are two controls

Re: [Alsa-user] arecord - playback speed is faster then in reality

2015-09-17 Thread Clemens Ladisch
Ran Shalit wrote: > I use arecord to record as done in the following line: > arecord --device=plughw:0,1 --duration=8 /mnt/nfs/test.wav > > But on playing the recorded file (vlc or audacity) it is played faster > then the real speed Either the recording or the playback device uses the wrong rate.

Re: [Alsa-user] intel hda vs asus xonar STX

2015-09-30 Thread Clemens Ladisch
Pierre Lorenzon wrote: >> "aplay -D default:STX something.wav" and >> "mplayer -ao alsa:device=default=STX something.mp3" work? > > Clear it works. Only have now to tell to ecasound to do the > same According to the documentation, something like ecasound -i somefile.mp3 -o alsa,default:STX

Re: [Alsa-user] intel hda vs asus xonar STX

2015-09-28 Thread Clemens Ladisch
Pierre Lorenzon wrote: > There are two sound card on the system. A chips on the mother > board which is driven as far as I know by an hda intel driver > and a PCI xonar STX card. > > On the first one mixing is possible : I mean that if a sound > process as aplay for instance is running and you

Re: [Alsa-user] No sound right after watching videos / using voice IP programs

2015-11-27 Thread Clemens Ladisch
Carlos wrote: > The problem is that the sound of my Fedora mutes some minutes after > using voice IP (Skype for instance) or watching videos via my browser > (Firefox or Chrome). This might be a bug in the power-saving code. Try putting options snd-hda-intel power_save=0 into some .conf file

Re: [Alsa-user] Help needed with asound.conf

2015-12-08 Thread Clemens Ladisch
Stanislav Vlasic wrote: > pcm.!default { > type hw > card 0 > device 1 > format S16_LE > } > > For 3.5mm jack audio enabled, difference is only in pcm.!default where > device is set to 0. > > Is there a way to write asound.conf where both audio outputs will be >

Re: [Alsa-user] How to Debug ALSA on KDE Plasma 5 (Pulseaudo in the way?)

2015-12-08 Thread Clemens Ladisch
Marc Haber wrote: > card 0: CMI8738 [C-Media CMI8738], device 0: CMI8738-MC6 [C-Media PCI DAC/ADC] > card 0: CMI8738 [C-Media CMI8738], device 1: CMI8738-MC6 [C-Media PCI 2nd DAC] > card 0: CMI8738 [C-Media CMI8738], device 2: CMI8738-MC6 [C-Media PCI IEC958] > mpg321 -v -o alsa -a hw1,0. This

Re: [Alsa-user] How to Debug ALSA on KDE Plasma 5 (Pulseaudo in the way?)

2015-12-14 Thread Clemens Ladisch
Marc Haber wrote: > ... told it to play back via the IEC958 interface, hw:0,2. > > That didn't work, but I also say that the optical output was not lit. > I then used the text-mode alsamixer to enable the S/PDIF output which > made the output light up. That control should be automatically set

Re: [Alsa-user] period_size below 8000 on Intel Edison

2016-01-08 Thread Clemens Ladisch
Dennis Borgmann wrote: > period_time has the value "2000" before I use the function > snd_pcm_hw_params_set_period_time_near(*pcm_handle, hwparams, _time, > ); > and has the same value of 2000 after I call it. This implies that the driver claims that 2000 is supported. > In addition, if I try

Re: [Alsa-user] several second latency with USB audio

2016-01-08 Thread Clemens Ladisch
Sergei Steshenko wrote: > Понедельник, 4 января 2016, 18:45 +01:00 от Clemens Ladisch > <cladi...@googlemail.com>: > > Sergei Steshenko wrote: > > I have developed a piece of code (as LADSPA plugin) which among other > things multiplexes one of two input

Re: [Alsa-user] several second latency with USB audio

2016-01-04 Thread Clemens Ladisch
Sergei Steshenko wrote: > I have developed a piece of code (as LADSPA plugin) which among other things > multiplexes one of two input streams into output stream. > > Though switching worked, latency was several seconds long instead fraction of > a second. > > Initially I was debugging the whole

Re: [Alsa-user] period_size below 8000 on Intel Edison

2016-01-06 Thread Clemens Ladisch
Dennis Borgmann wrote: > A short while ago, I came across a new platform - the Intel Edison. I > would like to port my software to that hardware, which essentially works > out fine, as it also is a x86 platform. The only problem I see is ,that > I have not yet been able to configure ALSA to shrink

Re: [Alsa-user] How to Debug ALSA on KDE Plasma 5 (Pulseaudo in the way?)

2015-12-22 Thread Clemens Ladisch
Marc Haber wrote: > And a week later, it stopped working again. Whatever I do, > neither "mpg321 -o alsa -a hw:1,0" nor "mpg321 -o alsa -a hw:0,2" do > something different than "Can't open libao driver with device hw:1,0 > (is device in use?)". I have chmodded /usr/bin/pulseaudio to 000 and >

Re: [Alsa-user] several second latency with USB audio

2016-01-11 Thread Clemens Ladisch
Sergei Steshenko wrote: > Воскресенье, 10 января 2016, 22:40 +01:00 от Clemens Ladisch > <cladi...@googlemail.com>: > > Sergei Steshenko wrote: > >> Пятница, 8 января 2016, 10:14 +01:00 от Clemens Ladisch > <cladi...@googlemail.com &

Re: [Alsa-user] several second latency with USB audio

2016-01-12 Thread Clemens Ladisch
Sergei Steshenko wrote: > Ecasound was meant as pretty much real time, with real time capability which > it > always tries to use (but requires access permissions to really increase real > time > priority). Ecasound has a "max_buffers" setting, which, apparently, gets enabled for your device

Re: [Alsa-user] external soundcard. xonar u5

2016-06-05 Thread Clemens Ladisch
Kristoffer Gustafsson wrote: > An important feature for me is hardware monitoring when > recording. Is this actually supported by your device's hardware? If it is just emulated in the Windows driver, then you have to configure PulseAudio to do the same. Regards, Clemens

Re: [Alsa-user] Bind several mixer devices defined in asound.state, present or not

2016-06-14 Thread Clemens Ladisch
Muffinman wrote: > However, now I have an application that doesn't allow sending mixer data > to different devices What mixer device does this application try to access? "hw:0"? "default"? > is it possible to create a virtual mixer device that > binds a set of mixer devices which might be there

Re: [Alsa-user] Mutiple soundcards

2016-05-31 Thread Clemens Ladisch
José Luis Artuch wrote: > Running lspci -vmm I can see all 4 soundcards: > ... > But aplay -l shows only 3 soundcards There should by an error message in the system log (/var/log/messages, or the output of dmesg). > Is it correct that some soundcards have the same irq (onboard and third > slot,

Re: [Alsa-user] usb audiodevice and microphone output

2016-06-24 Thread Clemens Ladisch
Kristoffer Gustafsson wrote: > do you know if usb audio supports microphone output. The USB audio driver supports those features that a provided by the device. > I've read a lot about that you kan go into alsamixer, and in playback > tab unmute the microphone to hear it through the speakers.

Re: [Alsa-user] several second latency with USB audio

2016-01-10 Thread Clemens Ladisch
Sergei Steshenko wrote: >> Пятница, 8 января 2016, 10:14 +01:00 от Clemens Ladisch >> <cladi...@googlemail.com>: >> Sergei Steshenko wrote: >>> Понедельник, 4 января 2016, 18:45 +01:00 от Clemens Ladisch < >>> cladi...@googlemail.com >:

Re: [Alsa-user] Audio glitch for multiple channels

2016-01-19 Thread Clemens Ladisch
Ratin wrote: > I have written an audio decoder application that streams audio packets from > a file (mostly mp3s), decodes and renders via ALSA. I setup the alsa hw in > interleaved mode, 2 channel (mp3 has two channels of audio), submit decoded > frames while keeping the buffer optimal in a play

Re: [Alsa-user] Problems with ALSA volume control on external DAC

2016-02-04 Thread Clemens Ladisch
Ivan Yonov wrote: > On 28 January 2016 at 10:39, Clemens Ladisch <cladi...@googlemail.com> wrote: >> amixer -c2 get PCM >> amixer -c2 get PCM,1 >> amixer -c2 get Line >> >> Which one fails? > > Each one returns this error: > amixer: Mixer

Re: [Alsa-user] Problems with ALSA volume control on external DAC

2016-02-05 Thread Clemens Ladisch
Ivan Yonov wrote: > фев 05 08:09:06 petra kernel: usb 1-1: 17:1: cannot get min/max values for > control 2 (id 17) > фев 05 08:09:06 petra kernel: usb 1-1: 17:1: cannot get min/max values for > control 2 (id 17) This looks like a bug in your device's firmware. Regards, Clemens

Re: [Alsa-user] Kernel config for specific cards

2016-02-05 Thread Clemens Ladisch
P Z wrote: > The distortion characteristics on arm changed slightly, which points to a > firmware issue. I suspect that the DMA of the frequency feedback data is not handled correctly. I'll see if I can create a patch this weekend ... > why for certain cards there's firmware loaded - and why by

Re: [Alsa-user] Problems with ALSA volume control on external DAC

2016-01-28 Thread Clemens Ladisch
Ivan Yonov wrote: > On 28 January 2016 at 10:28, Clemens Ladisch <cladi...@googlemail.com> wrote: >> Does "amixer -c2 scontrols" or "amixer -c2 controls" work? > > $ amixer -c2 scontrols > amixer: Mixer hw:2 load error: Invalid argument > > $ a

Re: [Alsa-user] Kernel config for specific cards

2016-01-28 Thread Clemens Ladisch
P Z wrote: > Trying to ddx on the sunxi side, judging from the test soundfile and > given the fact that recording works, how likely is it that this is > a power supply issue Pretty much impossible. > aplay -D plughw:1,0 /home/bla/Desktop/Jamiroquai44100-24.wav So what happens? It might be

Re: [Alsa-user] Problems with ALSA volume control on external DAC

2016-01-28 Thread Clemens Ladisch
Ivan Yonov wrote: > I'm using PulseAudio and also using MPD which uses exclusively my > external USB DAC (ESI Dr. DAC Nano - hw:2,0) through ALSA. > > But I can not control the volume of the extrenal DAC with alsamixer. > When trying to select the DAC it returns: > "cannot load mixer controls:

Re: [Alsa-user] Recording without plughw channel mixing

2016-01-28 Thread Clemens Ladisch
Klaus Jaensch wrote: > we use an M-Audio Fast Track USB device to record mono speech. > We face the problem that for mono recordings both input channels of the > device are mixed together. But we want to record only the left channel, > not the mix. Try: arecord -D '{type plug slave.pcm

Re: [Alsa-user] Kernel config for specific cards

2016-01-25 Thread Clemens Ladisch
P Z wrote: > On my Ubuntu 14.4 VM Alsa works with the onboard SC. Unless routed > through the windows mixer, no sound though from the emu, it fails > silently. Did you uninstall the Emu Windows driver, and tell the VM to allow Linux to access the Emu USB device directly? Regards, Clemens

Re: [Alsa-user] dmix/software mixing doesn't work

2016-02-02 Thread Clemens Ladisch
Andoru Ekkusu wrote: > I'm not using PulseAudio, so it's just ALSA to set up. Any way to set > the default soundcard, and not cause it to disable dmix? Don't redefine pcm.default. Put this into /etc/asound.conf or ~/.asoundrc: defaults.pcm.card PCH defaults.ctl.card PCH Regards, Clemens

Re: [Alsa-user] Relating a card:device tuple to its ALSA controls

2016-02-25 Thread Clemens Ladisch
Ezequiel Garcia wrote: > $ aplay -l > card 0: PCH [HDA Intel PCH], device 0: ALC269VC Analog [ALC269VC Analog] > card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0] > > $ sudo amixer -c 0 controls > numid=24,iface=CARD,name='HDMI/DP,pcm=3 Jack' > numid=18,iface=CARD,name='Headphone Jack' > >

Re: [Alsa-user] Recording without plughw channel mixing

2016-02-25 Thread Clemens Ladisch
Klaus Jaensch wrote: > Am 28.01.2016 um 09:34 schrieb Clemens Ladisch: >> Klaus Jaensch wrote: >>> we use an M-Audio Fast Track USB device to record mono speech. >>> We face the problem that for mono recordings both input channels of the >>> device are mixed

Re: [Alsa-user] Kernel config for specific cards

2016-01-25 Thread Clemens Ladisch
P Z wrote: > recording and playback under windows is fine. But Windows doesn't run on sunxi hardware, does it? Does it run with Linux on x86? Regards, Clemens -- Site24x7 APM Insight: Get Deep Visibility into

Re: [Alsa-user] Kernel config for specific cards

2016-01-27 Thread Clemens Ladisch
P Z wrote: > No luck with that. I assume in VMware VM > Removable Devices > Emu 0202 > > Connect is direct USB passthrough. > After uninstalling the windows drivers the card doesn't show up in the > Ubuntu System Settings > Sound anymore > but can still be seen by lsusb. Does it show up in

Re: [Alsa-user] Kernel config for specific cards

2016-01-24 Thread Clemens Ladisch
P Z wrote: > I have an E-mu 0202 with distorted playback under the default snd_usb_audio > module on a sunxi kernel. Does the 0202 work with other hardware? > According to the old instructions you have to specify --with-cards=emu10k1 > when configuring the driver. That is wrong. The emu10k1

Re: [Alsa-user] how to access obtain gpio via the alsa interface

2016-01-24 Thread Clemens Ladisch
Steinwendtner wrote: > I' m using an evaluation board with a cx20709 audio codec. This board is > connected via usb to > my laptop. It uses the snd_usb_audio module. > There are some buttons (vol+, vol-, mute) and leds on the board. > Audio is working fine. I use the alsalib to access it. > > My

Re: [Alsa-user] snd_pcm_sw_params_set_xfer_align?

2016-02-18 Thread Clemens Ladisch
Erik de Castro Lopo wrote: > I'm working on updating JACK and found that the above named function > is deprecated > What should be done here? Nothing. Regards, Clemens

Re: [Alsa-user] dmix/software mixing doesn't work

2016-02-02 Thread Clemens Ladisch
Andoru Ekkusu wrote: > So I've been trying to fix this problem for a while now, but I can't seem to > set up ALSA in a way to enable multiple sound sources at once (2 or more > apps/programs to use the soundcard simultaneously). Dmix is enabled by default. > pcm.!default { > type hw

Re: [Alsa-user] asound.state

2016-03-19 Thread Clemens Ladisch
Paul D. DeRocco wrote: > Where does the stuff in this file actually come from? It's written by "alsactl store". > Does alsalib interrogate the sound card driver for all this info, and then > translate it into this human-readable form? Yes. Regards, Clemens

Re: [Alsa-user] channel mapping issue (5.1 with left-of-, rear-center and other weird channels)

2016-03-22 Thread Clemens Ladisch
Dennis Heuer wrote: > I wasn't able to configure my system so that it uses correct channels. > control.41 { > iface PCM > name 'Playback Channel Map' > value.0 3 > value.1 4 > value.2 5 > value.3 6 >

Re: [Alsa-user] problem using getenv in asound.conf

2016-03-27 Thread Clemens Ladisch
cov...@ccs.covici.com wrote: > I am trying to use @func getenv to select my default sound card > via a variable. I am getting errors when I do this. > > pcm.!default { > type hw > card @func getenv > [ > ALSACARD > ] > } @func must be inside a compound node, which then gets replaced with the

Re: [Alsa-user] channel mapping issue (5.1 with left-of-, rear-center and other weird channels)

2016-03-24 Thread Clemens Ladisch
Dennis Heuer wrote: > Dennis Heuer wrote: > I now updated to linux 4.4.0.13. The alsa-info output shows 3.16.0-45. control.41 { iface PCM name 'Playback Channel Map' value.0 3

Re: [Alsa-user] CM6206-LX usb sound card problem

2016-03-04 Thread Clemens Ladisch
Nikita Orlov wrote: > By the way CM6206-LX if different to CM6206. > CM6206 has 7.1 channels output and CM6206-LX has 5.1 channels output. > > Maybe these init: > static int snd_usb_cm6206_boot_quirk(struct usb_device *dev) > ... > is not sutible to -LX version, because it somehow try turn off

Re: [Alsa-user] CM6206-LX usb sound card problem

2016-03-03 Thread Clemens Ladisch
Nikita Orlov wrote: > [ 3252.958799] usb 1-2: current rate 30464 is different from the runtime rate > 96000 > I don`t know what is it. Does the device actually work? With different sample rates? > Second error is not correct cval->res. Do the mixer controls actually work? Regards, Clemens

Re: [Alsa-user] Crash with Antelop Orion 32 USB

2016-03-01 Thread Clemens Ladisch
julien de ROSNY wrote: > [ 1201.257672] INFO: task pulseaudio:1992 blocked for more than 120 seconds. > [ 1201.257727] Call Trace: > [ 1201.257746] [] schedule+0x29/0x70 > [ 1201.257758] [] usb_kill_urb+0x65/0xa0 > [ 1201.25] [] usb_hcd_flush_endpoint+0x1b8/0x220 > [ 1201.257794] []

Re: [Alsa-user] Alsa: Simultaneous recordings

2016-03-03 Thread Clemens Ladisch
Andrew Bryant wrote: > [...] > So the problem is to source two recordings simultaneously from each Alsa > device. > > This appears to work for one card if I use the default device, but if I > use the -D option to use any other device the first record process locks > out the next one. The default

Re: [Alsa-user] Sound cart partially detected?

2016-04-05 Thread Clemens Ladisch
r...@iheartryan.com wrote: > I've got an old computer with an intel hda sound card. A few months > ago, I lost the ability to play sound on it. > !!PCI Soundcards installed in the system > !!-- > > 00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High

Re: [Alsa-user] Set tick state in seq ?

2016-04-04 Thread Clemens Ladisch
Charles Fox wrote: > So I have to construct of these events then pass it to the timer at 0:0 ? Yes, but instead of 0:0, use SND_SEQ_CLIENT_SYSTEM and SND_SEQ_PORT_SYSTEM_TIMER. > why do we have snd_seq_queue_tempo_set_tempo as a direct function on > the queue to change tempo, but we have to

Re: [Alsa-user] speaker-test works but a aplay does not

2016-04-14 Thread Clemens Ladisch
Hauke Westemeier wrote: > If I run > speaker-test -t wav -c 2 > everything works fine and I can hear the voice. > > aplay /usr/share/sounds/alsa/Front_Right.wav > Playing WAVE '/usr/share/sounds/alsa/Front_Right.wav' : Signed 16 bit Little > Endian, Rate 48000 Hz, Mono > aplay:

Re: [Alsa-user] How to get access to all 16 channel controls on a multi-channel sound card

2016-04-26 Thread Clemens Ladisch
Caleb Crome wrote: > I'm working on a 16 channel XMOS based USB sound card. > [...] > How do I get alsamixer to recognize all the controls & channels and > map them simply to names like: > > ch0, ch1, ch2, ch3, ... ch14, ch15 ? alsamixer just does not support this. It might be possible to change

Re: [Alsa-user] speaker-test works but a aplay does not

2016-04-26 Thread Clemens Ladisch
Hauke Westemeier wrote: > the people of HifiBerry told me (see linked thread) that there is no > "THE driver" and therefore I can not provide its source code. Well, the source code files appear to be: sound/soc/bcm/hifiberry_dacplus.c sound/soc/bcm/bcm2835-i2s.c sound/soc/codecs/pcm512x.c As far

Re: [Alsa-user] X insists on using card1 instead of card0

2016-05-22 Thread Clemens Ladisch
Felix Miata wrote: > I was able to get Xorg sounds working X.org is a graphics system; it does not handle sound. Are you talking about PulseAudio? Did you try running pavucontrol? Is the HDMI output listed there? > To make aplay put sound on HDMI requires either -Dhdmi:0 or -Dhdmi:0,0. >

Re: [Alsa-user] X insists on using card1 instead of card0 [solved]

2016-05-23 Thread Clemens Ladisch
Felix Miata wrote: >>> aplay: main:722: audio open error: No such file or directory >>> >>> What file can't aplay find? >> >> The one corresponding to card 0, device 0. > > What _file_ corresponds to card 0, device 0? /dev/snd/pcmC0D0p >>> Why isn't device 0 equal to card 0 instead of card

Re: [Alsa-user] How do I run arecord on raw digital mic buffer?

2016-05-03 Thread Clemens Ladisch
Rob Nertney wrote: > is the best method to build a sound card and a capture PCM? As compared to what? Any other method will not allow your hardware to be used for audio recording. > do I copy the DMA buffer address in the TRIGGER case statements? Your trigger callback is responsible for

Re: [Alsa-user] [alsa-devel] How do I run arecord on raw digital mic buffer?

2016-05-04 Thread Clemens Ladisch
Rob Nertney wrote: >>> is the best method to build a sound card and a capture PCM? >> >> As compared to what? Any other method will not allow your hardware to >> be used for audio recording. > > As compared to my driver configuring the DMA to capture the data into > a known buffer, and then

Re: [Alsa-user] speaker-test works but a aplay does not

2016-04-18 Thread Clemens Ladisch
Hauke Westemeier wrote: > /usr/share/sounds/alsa/Front_Right.wav > how can it actually have front and right information in just one channel? "Front Right" is the name of the channel. There could be other channels such as "Side Right", "Back Right"; and the channel in the front would be called

Re: [Alsa-user] combine usb microphones

2016-04-18 Thread Clemens Ladisch
joop wrote: > i have 4 usb microphones connected to my system that i would like to combine > into one virtual 'sound card' with 4 seperate mic channels. > > what would i put in my .asoundrc? For a device without proper synchronization:

Re: [Alsa-user] speaker-test works but a aplay does not

2016-04-20 Thread Clemens Ladisch
Hauke Westemeier wrote: > aplay -v -D plug:stereoonly /usr/share/sounds/alsa/Front_Center.wav > Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little > Endian, Rate 48000 Hz, Mono > Plug PCM: Route conversion PCM (sformat=S16_LE) > Transformation table: > 0 <- 0 >

  1   2   3   4   5   6   7   8   9   10   >