Message ID | 20230630144542.664190-1-oswald.buddenhagen@gmx.de (mailing list archive) |
---|---|
Headers | show |
Series | ALSA: emu10k1: add support for high-bitrate modes of E-MU cards | expand |
On Fri, 30 Jun 2023 16:45:34 +0200, Oswald Buddenhagen wrote: > > This series is what all the work was about: support the "dual-/quad-pumped" > modes of the E-MU cards. > > Oswald Buddenhagen (8): > ALSA: emu10k1: introduce alternative E-MU D.A.S. mode > ALSA: emu10k1: improve mixer control naming in E-MU D.A.S. mode > ALSA: emu10k1: set the "no filtering" bits on PCM voices > ALSA: emu10k1: make playback in E-MU D.A.S. mode 32-bit > ALSA: add snd_ctl_add_locked() > ALSA: emu10k1: add support for 2x/4x word clocks in E-MU D.A.S. mode > ALSA: emu10k1: add high-rate capture in E-MU D.A.S. mode > ALSA: emu10k1: add high-rate playback in E-MU D.A.S. mode I still can't agree with the basic design using the dynamic kctl addition / deletion in kcontrol's put action. Takashi
On Mon, Jul 10, 2023 at 05:06:36PM +0200, Takashi Iwai wrote: >On Fri, 30 Jun 2023 16:45:34 +0200, >Oswald Buddenhagen wrote: >> >> This series is what all the work was about: support the "dual-/quad-pumped" >> modes of the E-MU cards. >> >> Oswald Buddenhagen (8): >> ALSA: emu10k1: introduce alternative E-MU D.A.S. mode >> ALSA: emu10k1: improve mixer control naming in E-MU D.A.S. mode >> ALSA: emu10k1: set the "no filtering" bits on PCM voices >> ALSA: emu10k1: make playback in E-MU D.A.S. mode 32-bit >> ALSA: add snd_ctl_add_locked() >> ALSA: emu10k1: add support for 2x/4x word clocks in E-MU D.A.S. mode >> ALSA: emu10k1: add high-rate capture in E-MU D.A.S. mode >> ALSA: emu10k1: add high-rate playback in E-MU D.A.S. mode > >I still can't agree with the basic design using the dynamic kctl >addition / deletion in kcontrol's put action. > you are not being constructive. please provide specific, actionable responses to _all_ challenges/questions. regards
On Tue, 11 Jul 2023 12:15:31 +0200, Oswald Buddenhagen wrote: > > On Mon, Jul 10, 2023 at 05:06:36PM +0200, Takashi Iwai wrote: > > On Fri, 30 Jun 2023 16:45:34 +0200, > > Oswald Buddenhagen wrote: > >> > >> This series is what all the work was about: support the "dual-/quad-pumped" > >> modes of the E-MU cards. > >> > >> Oswald Buddenhagen (8): > >> ALSA: emu10k1: introduce alternative E-MU D.A.S. mode > >> ALSA: emu10k1: improve mixer control naming in E-MU D.A.S. mode > >> ALSA: emu10k1: set the "no filtering" bits on PCM voices > >> ALSA: emu10k1: make playback in E-MU D.A.S. mode 32-bit > >> ALSA: add snd_ctl_add_locked() > >> ALSA: emu10k1: add support for 2x/4x word clocks in E-MU D.A.S. mode > >> ALSA: emu10k1: add high-rate capture in E-MU D.A.S. mode > >> ALSA: emu10k1: add high-rate playback in E-MU D.A.S. mode > > > > I still can't agree with the basic design using the dynamic kctl > > addition / deletion in kcontrol's put action. > > > you are not being constructive. please provide specific, actionable > responses to _all_ challenges/questions. The fundamental idea to add / delete the kctls from the put callback is unacceptable; as repeated many times, this is known to break existing applications. As long as you are sticking with this idea, it can go further. Please avoid it and use the (more or less) static configuration instead. thanks, Takashi
On Tue, Jul 11, 2023 at 01:08:05PM +0200, Takashi Iwai wrote: >On Tue, 11 Jul 2023 12:15:31 +0200, >Oswald Buddenhagen wrote: >> >> On Mon, Jul 10, 2023 at 05:06:36PM +0200, Takashi Iwai wrote: >> > I still can't agree with the basic design using the dynamic kctl >> > addition / deletion in kcontrol's put action. >> > >> you are not being constructive. please provide specific, actionable >> responses to _all_ challenges/questions. > >The fundamental idea to add / delete the kctls from the put callback >is unacceptable; as repeated many times, this is known to break >existing applications. As long as you are sticking with this idea, it >can go [no] further. Please avoid it and use the (more or less) static >configuration instead. > to put the implications of this in clear words: you want me to spend additional time on a driver barely anyone still cares about to actively degrade the (my!) user experience to avoid hypothetical / likely obsolete crashes that would happen upon a rare user-controlled event in unspecified buggy (mixer? (!)) applications, while a known-good fallback exists (alsamixer). i fail to see how that is even _remotely_ a reasonable request, and therefore have no intention whatsoever to follow it. regards
On Mon, 17 Jul 2023 12:19:49 +0200, Oswald Buddenhagen wrote: > > On Tue, Jul 11, 2023 at 01:08:05PM +0200, Takashi Iwai wrote: > > On Tue, 11 Jul 2023 12:15:31 +0200, > > Oswald Buddenhagen wrote: > >> > >> On Mon, Jul 10, 2023 at 05:06:36PM +0200, Takashi Iwai wrote: > >> > I still can't agree with the basic design using the dynamic kctl > >> > addition / deletion in kcontrol's put action. > >> > you are not being constructive. please provide specific, > >> actionable > >> responses to _all_ challenges/questions. > > > > The fundamental idea to add / delete the kctls from the put callback > > is unacceptable; as repeated many times, this is known to break > > existing applications. As long as you are sticking with this idea, it > > can go [no] further. Please avoid it and use the (more or less) static > > configuration instead. > > > to put the implications of this in clear words: > you want me to spend additional time > on a driver barely anyone still cares about > to actively degrade the (my!) user experience > to avoid hypothetical / likely obsolete crashes > that would happen upon a rare user-controlled event > in unspecified buggy (mixer? (!)) applications, > while a known-good fallback exists (alsamixer). Simply put, YES. It's breaking applications pretty easily. This already happened in the past, so it's no hypothesis. If you've ever programmed applications that deal with ALSA mixer/control stuff by yourself, you'll notice that it's really tough to deal with the dynamic deletion/addition. alsamixer can accept it in the limited manner, but it's no fallback for everything, of course. Takashi
On Mon, Jul 17, 2023 at 02:53:19PM +0200, Takashi Iwai wrote: >On Mon, 17 Jul 2023 12:19:49 +0200, >Oswald Buddenhagen wrote: >> >> you want me to spend additional time >> on a driver barely anyone still cares about >> to actively degrade the (my!) user experience >> to avoid hypothetical / likely obsolete crashes >> that would happen upon a rare user-controlled event >> in unspecified buggy (mixer? (!)) applications, >> while a known-good fallback exists (alsamixer). > >Simply put, YES. > well, your priorities don't align with the needs of actual users (that would be me, in this case). >If you've ever programmed applications that deal with ALSA >mixer/control stuff by yourself, you'll notice that it's really tough >to deal with the dynamic deletion/addition. > hot-plugging always requires some care to handle. i don't consider this a showstopper, esp. in the year 2023, when udev and pulseaudio/pipewire go all crazy on us (and yes, that crashed kmix - big deal). i don't think it's sane to set the bar at 1995 standards. even less so when the class of potentially affected apps holds no user data of note. >alsamixer can accept it in the limited manner, >but it's no fallback for everything, of course. > i have no clue what point you're trying to make. regards