Re: [Alsa-user] Buffer Underrun with Single Threaded ALSA

2021-04-25 Thread Takashi Sakamoto
fer to the sample program. [1] https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git/tree/sound/core/pcm_native.c#n749 [2] https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git/tree/sound/core/pcm_lib.c#n2244 Cheers Takashi Sakamoto ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user

Re: [Alsa-user] Fireworks

2020-12-18 Thread Takashi Sakamoto
Hi, On Thu, Dec 17, 2020 at 09:55:49AM +0900, Susie B. wrote: > On Sun, 13 Dec 2020 22:32:17 +0900 > Takashi Sakamoto wrote: > > Additionally, amixer doesn't parse the value with 'dB' suffix. It can > > handle two types of values; raw control value and percentage. There

Re: [Alsa-user] Fireworks

2020-12-13 Thread Takashi Sakamoto
asic ALSA tools (amixer, alsamixer, and alsactl) includes many bugs for control elements with multiple values. In the meaning, we stand in the first place to start fixing them. (I wonder the reason, but I guess the ALSA project has little integration for the kind of de

Re: [Alsa-user] Firewire Audio Setting RME FF400 into Ubuntu 20.10

2020-12-02 Thread Takashi Sakamoto
ter so that any driver processes content of isochronous packet of IEEE 1394 within interval of interrupt scheduled by the driver via 1394 OHCI. Regards Takashi Sakamoto ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.source

Re: [Alsa-user] Fireworks

2020-11-29 Thread Takashi Sakamoto
user The service programs are not so special, usual programs. No priviledge is required to run the programs as long as the user has enough access permission to ALSA and firewire character devices. > I'd like to post the install log of alsa-gobject and libhinawa ,if it is als

Re: [Alsa-user] Fireworks

2020-11-19 Thread Takashi Sakamoto
Hi, On Fri, Nov 20, 2020 at 09:00:51AM +0900, Susie B. wrote: > On Wed, 18 Nov 2020 15:35:59 +0900 Takashi Sakamoto > wrote: > > > Just now I pushed 'topic/buildable-in-kernel4.5-or-later' remote repository. > > https://github.com/alsa-project/alsa-gobject/tree/topic/b

Re: [Alsa-user] Fireworks

2020-11-17 Thread Takashi Sakamoto
Hi, On Wed, Nov 18, 2020 at 10:27:37AM +0900, Takashi Sakamoto wrote: > I should mention that the alsa-gobject is an application of UAPI of Linux > kernel as well as GLib/GObject(+GObject Instrospection), sorry. The cause > of error is building for Linux kernel version 4.6 or before. Th

Re: [Alsa-user] Fireworks

2020-11-17 Thread Takashi Sakamoto
would appreciate any help or suggestion to resolve these errors. Once building the 'build' directory, you just run 'ninja' command in the directory. [1] https://github.com/alsa-project/alsa-gobject/blob/master/.github/workflows/build.yml Thanks Takashi Sakamoto ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user

Re: [Alsa-user] Fireworks

2020-11-15 Thread Takashi Sakamoto
Hi, On Sun, Nov 15, 2020 at 09:26:18AM +0900, Susie B wrote: > On Fri, 13 Nov 2020 20:48:02 +0900, Takashi Sakamoto > wrote: > > The batch of code is required to implement control element according to > > vendor-specific protocol. In my assumption, it may be additional

Re: [Alsa-user] Fireworks

2020-11-13 Thread Takashi Sakamoto
t in LAD[2] and alsa-devel[3]. If you are interested, let you satisfy build dependencies and try building and testing. [1] https://github.com/alsa-project/snd-firewire-ctl-services/ [2] http://linux-audio.4202.n7.nabble.com/RFT-ALSA-control-service-programs-for-Fireworks-board-module-td11

Re: [Alsa-user] Why doesn't mixer control (values) have some kind of locking mechanism? (mutex?)

2020-08-06 Thread Takashi Sakamoto
ionality in your device, instead of ALSA control interface. You can see some drivers have implementation for userspace applications to execute request and wait for response; e.g. snd-fireworks. But I note that the summary comes from my conservative place and there is space for further discuss

Re: [Alsa-user] [pulseaudio-discuss] Why doesn't mixer control (values) have some kind of locking mechanism? (mutex?)

2020-08-06 Thread Takashi Sakamoto
t any operation for control element. The other options are case-by-case. At least, you need to describe each detail for better discussion. Regards Takashi Sakamoto ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user

Re: [Alsa-user] Why doesn't mixer control (values) have some kind of locking mechanism? (mutex?)

2020-08-06 Thread Takashi Sakamoto
On Thu, Aug 06, 2020 at 11:34:12PM +0800, Tom Yan wrote: > On Thu, 6 Aug 2020 at 22:47, Takashi Sakamoto wrote: > > As long as I know, neither tools in alsa-utils/alsa-tools nor pulseaudio > > use the lock mechanism. In short, you are the first person to address > > to the i

Re: [Alsa-user] Why doesn't mixer control (values) have some kind of locking mechanism? (mutex?)

2020-08-06 Thread Takashi Sakamoto
1b9056da2883d6edfdccaab76d8b08a5c Mon Sep 17 00:00:00 2001 From: Takashi Sakamoto Date: Thu, 6 Aug 2020 19:34:55 +0900 Subject: [PATCH] ALSA: control: add new ioctl request for compare_and_swap operation to element value This is a rough implementation as a solution for an issue below. This is

Re: [Alsa-user] Why doesn't mixer control (values) have some kind of locking mechanism? (mutex?)

2020-08-06 Thread Takashi Sakamoto
r-defined control element set. Here, would I ask your opinion to the lock/get/set/unlock actions from userspace? It can really not be one of solution for the issue? [1] https://en.wikipedia.org/wiki/Compare-and-swap Regards Takashi Sakamoto __

Re: [Alsa-user] Yamaha GO46 not working

2019-06-18 Thread Takashi Sakamoto
ailure of asynchronous transmission is a diagnostic of disorder, typically capacitor of powering. If you don't mind, it's better to open the box and check implemented capacitors. (Actually my device is repaired one.) Regards Takashi Sakamoto ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user

Re: [Alsa-user] (Device or resource busy) error during dmix open

2017-08-01 Thread Takashi Sakamoto
. For example, you can use lsof(8) to the PCM character device. In recent standard Linux desktop environment, it might be PulseAudio, I guess. Regards Takashi Sakamoto -- Check out the vibrant tech community on one

Re: [Alsa-user] snd-firewire-digi00x random popping/clicking with Digi002

2017-05-24 Thread Takashi Sakamoto
re :04:00.0: phy config: new root=ffc1, > gap_count=5 > [4.642950] firewire_core :04:00.0: created device fw1: GUID > 00a07ea4, S400 > > ... I'm running low on ideas. What to do? [1] [alsa-devel] Status of ALSA fi

Re: [Alsa-user] Fireworks

2017-05-14 Thread Takashi Sakamoto
ote that ALSA fireworks driver still causes periodical noise due to protocol implementation. In detail, please refer to my former post[3]. [1] https://github.com/takaswie/hinawa-utils [2] https://github.com/takaswie/libhinawa [3] http://mailman.alsa-project.org/pipermail/alsa-devel/2017-April/120

Re: [Alsa-user] Alsa ladspa lv2?

2017-03-11 Thread Takashi Sakamoto
Regards Takashi Sakamoto -- Announcing the Oxford Dictionaries API! The API offers world-renowned dictionary content that is easy and intuitive to access. Sign up for an account today to start using our lexical data to power

Re: [Alsa-user] alsa & audacity

2016-12-28 Thread Takashi Sakamoto
s, > outputParameters, sampleRate, framesPerBuffer, callback, streamFlags, > userData )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2764 > Expression 'stream->playback.pcm' failed in > 'src/hostapi/alsa/pa_

Re: [Alsa-user] Mixer controls added by application

2016-12-12 Thread Takashi Sakamoto
that Linux kernel 4.0 or former includes some bugs for this feature. Regards Takashi Sakamoto -- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one y

Re: [Alsa-user] Random audio failures during reboot

2016-08-02 Thread Takashi Sakamoto
please explain about the details of your experience and environment as much as possible, so that we can realize them? Regards Takashi Sakamoto -- ___ Alsa-user mailing list Als

Re: [Alsa-user] About the bebob support for Focusrite Saffire Pro 10

2016-06-27 Thread Takashi Sakamoto
Hi Robin, On Jun 27 20016 19:37, Robin Gareus wrote: > On 06/27/2016 04:42 AM, Takashi Sakamoto wrote: >> I've never used the 'freewheel' mode and I don't know exactly what it >> effects. > > jackd suspends (or pauses?) the soundcard and later resumes without

Re: [Alsa-user] About the bebob support for Focusrite Saffire Pro 10

2016-06-26 Thread Takashi Sakamoto
ls. To me, it's quite inconvenient. That's the reason I recommend you to purchace another one. I know there're many alternatives with more convenient features. It's 2016. Regards Takashi Sakamoto -- Attend Shape: An

Re: [Alsa-user] About the bebob support for Focusrite Saffire Pro 10

2016-06-26 Thread Takashi Sakamoto
nion, it's inconvenient to use this unit due to its quirk, which I reported in this thread: https://sourceforge.net/p/ffado/mailman/message/35076716/ I recommend you to purchage another unit, more convenient to your wor

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

2016-04-26 Thread Takashi Sakamoto
19, Caleb Crome wrote: > BTW, is this available for purchase? Yes. They're in consumer market as 'recording equipment'. Regards Takashi Sakamoto -- Find and fix application performance issues faster with Appli

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

2016-04-25 Thread Takashi Sakamoto
LSA simple mixer API application cannot display proper name for channel number over 8. Furtheremore, 'alsamixer' has a limitation of displayed channels up to 8. For example, see these lines: http://git.alsa-project.org/?p=alsa-u

Re: [Alsa-user] snd_pcm_sw_params_set_xfer_align?

2016-02-18 Thread Takashi Sakamoto
n was quite buggy and original intension was already lost, according to the commit comment. [ALSA] Remove PCM xfer_align sw params http://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/?id=d948035a928400ae127c873fbf771389bee18949 Regards Takashi Sakamoto -

Re: [Alsa-user] Updated to kernel 4.4.1, missing module snd_ice1712 -> no more envy24 support?

2016-02-15 Thread Takashi Sakamoto
ld not test with packages in PPA. PPA is just Private Package Archive. The packages in PPA do not always go for official release. Although I said some lectures, I wish this bug will be fixed in Ubuntu 16.04 release. Regards Taka

Re: [Alsa-user] switching alsa card at run time

2016-01-27 Thread Takashi Sakamoto
as a target for the PCM substream. Exceptionally, when you use PCM nodes with external plugins such as 'pulse', you can achieve it. In application side, PCM frames are transferred by a single PCM handles, on the other hand, PulseAudio daemon performs what you require. Regards Taka

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

2015-08-17 Thread Takashi Sakamoto
by typing: $ modinfo snd-indigodjx Regards Takashi Sakamoto -- ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa

Re: [Alsa-user] Error running arecord

2015-06-09 Thread Takashi Sakamoto
: 0 As long as seeing your log, arecord uses three userspace PCM plugins before accessing hardware. Can you see the same overruns when accessing hardware directly? Like: $ arecord -v -D hw:0,0 -c 2 -r 48000 -f S16_LE test.wav Regards Takashi Sakamoto

Re: [Alsa-user] Error running arecord

2015-06-06 Thread Takashi Sakamoto
Takashi Sakamoto -- ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user

Re: [Alsa-user] Generic mixer dice (eap) based audio interfaces?

2015-02-01 Thread Takashi Sakamoto
On Feb 2 2015 10:36, Takashi Sakamoto wrote: Is it possible to consider using a simple text based generic controller until such time that persons with the right kind of experience or knowledge create GUI based mixer interfaces? Or applications can get the state by reading a certain addresses

Re: [Alsa-user] Generic mixer dice (eap) based audio interfaces?

2015-02-01 Thread Takashi Sakamoto
-only. There'are no needs to understand how to use GUI toolkit or D-Bus interface. (Of cource I know that users prefer better abstructions to such raw accesses. But there're too much models with vendor's customization to satisfy user's demands.) Regards Takashi Sakamoto

Re: [Alsa-user] Generic mixer dice (eap) based audio interfaces?

2015-01-31 Thread Takashi Sakamoto
for someone who has interests in it. Regards Takashi Sakamoto -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all

[Alsa-user] alsamixer return Invalid argument on USB device

2011-09-03 Thread Takashi Sakamoto
, control=1, cmask=0x0, channels=1, type=INV_BOOLEAN Volume: min=0, max=1, dBmin=0, dBmax=0 $ amixer -c 1; amixer: Mixer hw:1 load error: Invalid argument ## Takashi Sakamoto o-taka...@sakamocchi.jp -- Special Offer

Re: [Alsa-user] alsamixer return Invalid argument on USB device

2011-09-03 Thread Takashi Sakamoto
Blaster Digital Music SX at usb-:00:10.0-1, Regards (2011年09月04日 06:44), Takashi Sakamoto wrote: Hi, In Ubuntu Japanese Community forum, I help the person who cannot set the PCM output volume of USB device with amixer or alsamixer. https://forums.ubuntulinux.jp/viewtopic.php?id=11984p=1 He

Re: [Alsa-user] Compile fails: @CONFIG_SND_KERNELSRC@/include/linux/pci_ids.h: No such file or directory

2011-08-28 Thread Takashi Sakamoto
Hi, The bug is caused by debian patches, not ALSA original source. See my report to Ubuntu's bug tracking system in launchpad.net. https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/832137 Regards Takashi Sakamoto (2011年08月29日 06:22), Muffinman wrote: Hello all, I have some