<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=6686&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / How to rebuild audacious-plugins]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=6686</link>
		<description><![CDATA[The most recent posts in How to rebuild audacious-plugins.]]></description>
		<lastBuildDate>Thu, 27 Jun 2024 15:53:07 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: How to rebuild audacious-plugins]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=50720#p50720</link>
			<description><![CDATA[<p>FreeBSD has own fork of OSSv3, but OSSv4 is also available for FreeBSD.</p><div class="quotebox"><blockquote><div><p>OSS4 now exists mostly as a standalone piece of software, not integrated into the kernel source code. The exception is Solaris and OpenSolaris, which use a fork of OSS4 called Boomer. It combines the OSS4 framework (audio and mixer) together with Sun&#039;s earlier SADA (/dev/audio) API.<br />_https://en.wikipedia.org/wiki/Open_Sound_System#Code</p></div></blockquote></div><p>It seems that the main problem of ALSA is crappy resamplers.<br />That is why, it might be interesting to try Petrov&#039;s fftrate.<br />It is easy to compile _https://dev1galaxy.org/viewtopic.php?id=6644</p><p>The default setting for fftrate ALSA plugin can be easily produced with arateconf. They include a software mixer. It might be needed simply because Intel HDA codecs do not have hardware mixers. </p><p>There are professional sound cards which have HW mixers, but such cards are very expensive, and they may not have Linux drivers.<br />_https://en.wikipedia.org/wiki/Merging_Technologies<br />_https://en.wikipedia.org/wiki/Digital_eXtreme_Definition<br /><strong>ALSA RAVENNA AES67 Linux Driver</strong> (Merging Technologies)<br />_https://www.merging.com/support/downloads#alsa-linux</p><p>Since Petrov&#039;s fftrate supports DXD format (24bit 352.8 kHz), you can play DXD waves and flacs with Audacious on a notebook with Intel HDA codec (fftrate should be configured for 32bit 192kHz, if you want to have&#160; a good sound quality). DXD music is available on HDtracks.</p>]]></description>
			<author><![CDATA[dummy@example.com (igorzwx)]]></author>
			<pubDate>Thu, 27 Jun 2024 15:53:07 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=50720#p50720</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to rebuild audacious-plugins]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=50718#p50718</link>
			<description><![CDATA[<p>The OSS audio system is used by freebsd. And it works perfectly and is supported on this operating system. I can confirm that the sound quality through OSS is much better than alsa.</p>]]></description>
			<author><![CDATA[dummy@example.com (stopAI)]]></author>
			<pubDate>Thu, 27 Jun 2024 15:38:41 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=50718#p50718</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to rebuild audacious-plugins]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=50715#p50715</link>
			<description><![CDATA[<div class="quotebox"><cite>stopAI wrote:</cite><blockquote><div><p>And why do you need such an old audio system?</p></div></blockquote></div><p>Because of sound quality.</p><div class="quotebox"><cite>stopAI wrote:</cite><blockquote><div><p>Sure, we can build a deb package, but there&#039;s no guarantee it will work....</p></div></blockquote></div><p>Yes, this is the problem.<br />OSS4 packages (which work) have been available in Arch Linux repositories since time immemorial.<br />Debian developers did try to build OSS4 packages for Debian, but they always failed to work.<br />There were OSS4 packages in Ubuntu repositories. They did not work, but they were easy to install (and difficult to remove).<br />They are still OSS4 packages in Debian testing, which do not work.<br />On the other hand, it was not a problem for Ubuntu newbies to compile working OSS4 packages themselves.</p><p>The main problem is that an OSS4 driver for your sound card may not be available.</p><p>Perhaps, it might be more reasonable to patch Petrov&#039;s fftrate for gcc-12 and build deb packages for Devuan.<br />With Petrov&#039;s ALSA plugin, you can get a very good sound quality on a notebook with Intel HDA codec (motherboad).<br />Moreover, you can use video conferencing apps without PulseAudio. But you have to generate ~/.asoundrc with Petrov&#039;s arateconf and use apulse.</p>]]></description>
			<author><![CDATA[dummy@example.com (igorzwx)]]></author>
			<pubDate>Thu, 27 Jun 2024 14:07:10 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=50715#p50715</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to rebuild audacious-plugins]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=50714#p50714</link>
			<description><![CDATA[<p>And why do you need such an old audio system? </p><p>And here you should not forget that you will have to service the system assembled in this way yourself (if security or bug fixes are released). Sure, we can build a deb package, but there&#039;s no guarantee it will work....</p>]]></description>
			<author><![CDATA[dummy@example.com (stopAI)]]></author>
			<pubDate>Thu, 27 Jun 2024 12:33:23 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=50714#p50714</guid>
		</item>
		<item>
			<title><![CDATA[How to rebuild audacious-plugins]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=50711#p50711</link>
			<description><![CDATA[<p>Freedom implies the freedom of choice. <br />What kind of freedom is it, if you have only one sound system installed in your Devuan?</p><p>Although the so-called &quot;upstream&quot; tends to restrict the freedom of Linux users, it is not very difficult to compile OSSv4 for Devuan.<br />Patches can be found in the Arch Linux AUR package oss-git<br />_https://aur.archlinux.org/packages/oss-git<br />_https://wiki.archlinux.org/title/Open_Sound_System</p><p>If you have two sound cards (e.g. Intel HDA and USB sound card), you can use OSS4 and ALSA simultaneously.<br />The difference between OSS4 and ALSA is that OSS4 permits the so-called &quot;exclusive mode&quot;:</p><div class="codebox"><pre><code>man ossplay | grep virtual -A1
       -R     Disable redirection to virtual mixer engines and sample rate/format conversions. Should not be used un‐
              less absolutely necessary.</code></pre></div><p>The OSS4 plugin for Audacious has an option &quot;Enable exclusive mode to prevent virtual mixing&quot;. It is intended for playing high resolution audio files &quot;as they are&quot;, without resampling and sound distortions produced by the software mixer (vmix). </p><p>Notice, however, that Petrov&#039;s fftrate is much better than OSS4 resamplers, so that, OSS4 can be dedicated for playing audio files in &quot;exclusive mode&quot;, and ALSA for ordinary desktop usage (playing movies in youtube, video conferencing, etc.)</p><p>In a word, Intel HDA codecs support many audio formats:</p><div class="codebox"><pre><code>ossinfo -v9 | grep &quot;HD Audio play front&quot; -A13
HD Audio play front               /dev/oss/oss_hdaudio0/pcm0  (device index 0)
    Legacy device /dev/dsp0
    Caps: TRIGGER MMAP 
    Modes: OUTPUT 
      Out engine  1: 0/HD Audio play front
                     Available for use 
    Input formats (0x00001010):
      AFMT_S16_LE	- 16 bit signed little endian
      AFMT_S32_LE	- 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE	- 16 bit signed little endian
      AFMT_S32_LE	- 32 bit signed little endian
    Device handle: PCIa0021458-0000:00:1b.0-au01
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 8
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)</code></pre></div><p>To enable the OSS4 plugin, you have to rebuild the package &quot;audacious-plugins&quot;.<br />If you are going to compile something, it makes sense to install some tools:</p><div class="codebox"><pre><code>sudo apt install build-essential devscripts command-not-found</code></pre></div><div class="codebox"><pre><code>mkdir audacious-plugins-rebuild</code></pre></div><div class="codebox"><pre><code>cd audacious-plugins-rebuild</code></pre></div><p>Download the source code and install build dependencies:</p><div class="codebox"><pre><code>apt-get source audacious-plugins</code></pre></div><div class="codebox"><pre><code>sudo apt-get build-dep audacious-plugins</code></pre></div><div class="codebox"><pre><code>ls -1
audacious-plugins-4.2
audacious-plugins_4.2-1.debian.tar.xz
audacious-plugins_4.2-1.dsc
audacious-plugins_4.2.orig.tar.bz2</code></pre></div><div class="codebox"><pre><code>cd audacious-plugins-4.2</code></pre></div><p>To enable the OSS4 plugin, you have to edit &quot;debian/rules&quot;</p><div class="codebox"><pre><code>cat ./debian/rules | grep oss4 -B2
override_dh_auto_configure:
	dh_auto_configure -- $(additional_confflags) \
		--disable-rpath --enable-gtk --enable-oss4 </code></pre></div><p>You can also edit &quot;changelog&quot;:</p><div class="codebox"><pre><code>cat ./debian/changelog | grep 4.2-2 
audacious-plugins (4.2-2) unstable; urgency=medium</code></pre></div><p>Now you can rebuild audacious-plugins:</p><div class="codebox"><pre><code>dpkg-buildpackage -us -uc -b</code></pre></div><div class="codebox"><pre><code>cd ..</code></pre></div><div class="codebox"><pre><code>ls -1 | grep .deb
audacious-plugins_4.2-1.debian.tar.xz
audacious-plugins_4.2-2_amd64.deb
audacious-plugins-data_4.2-2_all.deb
audacious-plugins-dbgsym_4.2-2_amd64.deb</code></pre></div><p>Now you can reinstall Audacious:</p><div class="codebox"><pre><code>sudo apt purge audacious audacious-plugins audacious-plugins-data
sudo dpkg -i audacious-plugins_4.2-2_amd64.deb audacious-plugins-data_4.2-2_all.deb
sudo apt install audacious</code></pre></div><p>To prevent upgrade, you can pin them all:</p><div class="codebox"><pre><code>sudo nano /etc/apt/preferences</code></pre></div><div class="codebox"><pre><code>cat /etc/apt/preferences
Package: audacious
Pin: release *
Pin-Priority: -1

Package: audacious-plugins
Pin: release *
Pin-Priority: -1

Package: audacious-plugins-data
Pin: release *
Pin-Priority: -1</code></pre></div><div class="codebox"><pre><code>apt-cache policy audacious-plugins-data
audacious-plugins-data:
  Installed: 4.2-2
  Candidate: (none)
  Version table:
 *** 4.2-2 -1
        100 /var/lib/dpkg/status
     4.2-1 -1
        500 http://deb.devuan.org/merged daedalus/main amd64 Packages</code></pre></div><div class="codebox"><pre><code>apt-cache policy audacious-plugins
audacious-plugins:
  Installed: 4.2-2
  Candidate: (none)
  Version table:
 *** 4.2-2 -1
        100 /var/lib/dpkg/status
     4.2-1+b1 -1
        500 http://deb.devuan.org/merged daedalus/main amd64 Packages</code></pre></div><div class="codebox"><pre><code>apt-cache policy audacious
audacious:
  Installed: 4.2-1
  Candidate: (none)
  Version table:
 *** 4.2-1 -1
        500 http://deb.devuan.org/merged daedalus/main amd64 Packages
        100 /var/lib/dpkg/status</code></pre></div><p>NOTE: If you want to rebuild a Debian package, which is not available in Devuan repositories <br />(e.g. _https://launchpad.net/ubuntu/+source/wxmaxima/24.02.1-1build2 ), <br />you can use these commands:</p><div class="codebox"><pre><code>dpkg-source -x *.dsc</code></pre></div><div class="codebox"><pre><code>sudo mk-build-deps -i  # it should be executed inside the source directory</code></pre></div><div class="codebox"><pre><code>dpkg-buildpackage -us -uc -b</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (igorzwx)]]></author>
			<pubDate>Thu, 27 Jun 2024 02:59:54 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=50711#p50711</guid>
		</item>
	</channel>
</rss>
