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

2021-04-25 Thread Takashi Sakamoto
L_SW_PARAMS, then start transmission by ioctl with SNDRV_PCM_IOCTL_START. In detail, please refer 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 pe

Re: [Alsa-user] Fireworks

2020-12-13 Thread Takashi Sakamoto
advice or suggestions to solve these problems. > > [1] "Owner’s Manual Version 2.2 for Windows" p.39 > http://files.echoaudio.com/manuals/audiofire_windows_manual_v2.2.pdf In my opinion, basic ALSA tools (amixer, alsamixer, and alsactl) includes ma

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

2020-12-02 Thread Takashi Sakamoto
xtra care of the jitter 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

Re: [Alsa-user] Fireworks

2020-11-29 Thread Takashi Sakamoto
ev/fw* before running the executable binary 4. run cargo run in the cloned directory or run the executable directly by the normal 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 acces

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/

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
ve no idea where I went wrong in the above steps. > But I 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 20,000

Re: [Alsa-user] Fireworks

2020-11-13 Thread Takashi Sakamoto
an see my Request-For-Test 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-Fi

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

2020-08-06 Thread Takashi Sakamoto
recommend you to use ALSA hwdep interface for the functionality 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 co

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

2020-08-06 Thread Takashi Sakamoto
ion against 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
lt; ---- >From 54832d11b9056da2883d6edfdccaab76d8b08a5c 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 solutio

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

2020-08-06 Thread Takashi Sakamoto
of 'struct snd_ctl_elem_value' except for user-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 Sa

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

2020-08-05 Thread Takashi Sakamoto
expected amixer: Control hw:1 element write error: Operation not permitted my program unlocks: "Headphone Playback Volume" expected : values=0,0 ... ``` [1] https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git/tree/include/uapi/sound/asound.h#n1083 [2] https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git/tree/sound/core/control.c#n1108 [3] https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git/tree/sound/core/control.c#n122 [4] https://www.alsa-project.org/alsa-doc/alsa-lib/group___control.html#ga1fba1f7e08ab11505a617af5d54f4580 [5] https://github.com/alsa-project/alsa-gobject Regards Takashi Sakamoto ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user

Re: [Alsa-user] Yamaha GO46 not working

2019-06-18 Thread Takashi Sakamoto
eset and failure 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
ss in this case. 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 communit

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

2017-05-24 Thread Takashi Sakamoto
created device fw0: GUID > 00110666010a, S400 > [1.625234] firewire_core :04:00.0: phy config: new root=ffc1, > gap_count=5 > [4.642950] firewire_core :04:00.0: created device fw1: GUID > 00a07ea4, S400 >

Re: [Alsa-user] Fireworks

2017-05-14 Thread Takashi Sakamoto
ll you do. I note 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

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
nt_Initialize( &self->capture, alsaApi, > inParams, StreamDirection_In, NULL != callback )' failed in > 'src/hostapi/alsa/pa_linux_alsa.c', line: 2092 Expression > 'PaAlsaStream_Initialize( stream, alsaHostApi, inputParameters, > outputPa

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

2016-12-12 Thread Takashi Sakamoto
l31 I note 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 platfo

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

2016-08-02 Thread Takashi Sakamoto
device. Could you please explain about the details of your experience and environment as much as possible, so that we can realize them? Regards Takashi Sakamoto -- ___ Alsa-u

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 l

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

2016-06-26 Thread Takashi Sakamoto
ll ffado-dbus-server manually in any terminals. 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 ---

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

2016-06-26 Thread Takashi Sakamoto
ect to internal data processing of jackd. Well, in my opinion, 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 re

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

2016-04-26 Thread Takashi Sakamoto
self. No other ways. On Apr 27 2016 00:19, Caleb Crome wrote: > BTW, is this available for purchase? Yes. They're in consumer market as 'recording equipment'. Regards Takashi Sakamoto -- Find and f

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

2016-04-25 Thread Takashi Sakamoto
er over 8 (= SND_MIXER_SCHN_REAR_CENTER), the API returns "?". In short, ALSA simple mixer API application cannot display proper name for channel number over 8. Furtheremore, 'alsamixer' has a limitation of d

Re: [Alsa-user] snd_pcm_sw_params_set_xfer_align?

2016-02-18 Thread Takashi Sakamoto
tation 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
your expectation. And you should 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

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

2016-02-14 Thread Takashi Sakamoto
snd-ice1712 is not built for your kernel. I don't know the reason, but for your information: Collateral damage due to kernel configuration change enabling CONFIG_ZONE_DEVICE (Kernel 4.4 amd64) https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1534647 Regards Takashi Sakamoto

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

2016-01-27 Thread Takashi Sakamoto
rget 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. Reg

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

2015-08-17 Thread Takashi Sakamoto
r your sound card by typing: $ modinfo snd-indigodjx Regards Takashi Sakamoto -- ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/l

Re: [Alsa-user] Error running arecord

2015-06-09 Thread Takashi Sakamoto
1 > stop_threshold : 1073741824 > silence_threshold: 0 > silence_size : 0 > boundary : 1073741824 > appl_ptr : 0 > hw_ptr : 0 As long as seeing your log, arecord uses three userspace PCM plugins before accessing hardware. Can you see the same ove

Re: [Alsa-user] Error running arecord

2015-06-05 Thread Takashi Sakamoto
ease report with it. Regards 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

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

2015-02-01 Thread Takashi Sakamoto
et the state by reading a certain addresses on the unit as long as these addresses are not read-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 w

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

2015-01-31 Thread Takashi Sakamoto
t we can do is to wait 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 Slash

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.p

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

2011-09-03 Thread Takashi Sakamoto
index=1 Info: id=8, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN" Volume: min=0, max=1, dBmin=0, dBmax=0 Unit: 9 Control: name="Digital In Playback Switch", index=1 Info: id=9, control=1, cmask=0x0, cha

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, > &g