Linux Audio the way to go!? - Page 214 - diyAudio
Go Back   Home > Forums > Source & Line > PC Based

PC Based Computer music servers, crossovers, and equalization

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 30th August 2013, 02:52 PM   #2131
phofman is offline phofman  Czech Republic
diyAudio Member
 
Join Date: Apr 2005
Location: Pilsen
What kernel version? There were some usb-audio changes regarding samplerate switching recently, I do not know if these apply to your DAC.

You might try to compile the latest alsa drivers. Procedure e.g. [alsa-devel] Takashi: please help (compiling alsa-driver)
  Reply With Quote
Old 30th August 2013, 02:56 PM   #2132
diyAudio Member
 
Join Date: Nov 2011
agd@apollo:~$ uname -r
3.5.0-37-generic

I updated the gist to include that information.

I also have a Fedora 19 machine that might have a more recent version of ALSA

[agd@enyo ~]$ uname -r
3.10.9-200.fc19.x86_64
[agd@enyo ~]$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version k3.10.9-200.fc19.x86_64.


I'll try on the Fedora machine and see if there is any changes.
  Reply With Quote
Old 4th September 2013, 01:36 PM   #2133
diyAudio Member
 
Join Date: Feb 2011
Location: Vinci (Italy)
Quote:
Originally Posted by soundcheck View Post
phofman.

THX a lot. That's an interesting one. As a matter of fact alsamixer didn't show anything either.

I recall some years back I added such a quirk for a different interface, just to make Alsa aware of the device.

Since Squeezebox Times , I havn't been fiddling around with Alsa a lot.


Doing a Alsa git compile might then lead to a solution. I have to reactivate my Alsa-upgrade script from years back. Or I'll look up in Ubuntu forums if somebody is maintaining it.


With squeezelite the Alsa fun seems to start over again.


Cheers
hello soundcheck,
do you have solved the problems with the nad connected via usb?
Have the same problem; I have open a ticket on NAD but they answered in the same way a year ago "Currently, the M51 USB connection isn't supported by Linux. However, there are plans to look at this in the future."
  Reply With Quote
Old 22nd September 2013, 10:49 AM   #2134
diyAudio Member
 
soundcheck's Avatar
 
Join Date: Mar 2005
Location: D
Playing around with "Ubu-Saucy" ...

... and Rythmbox on my desktop system.


I'm wondering if there's a "passthrough" mode for pulseaudio.
I read something -- at least found the term passthrough mentioned in the context of pulseaudio -- about it.

Passthrough supposely 's been inroduced in PA 2.0, now it's 4.0.

The base pulseaudio implementation in Saucy still resamples everything to 48khz with a rather low quality resampler.

Note:
If you try to resample to 192 with a rather high quality codec from inside PA, you run into major XRUNS. At 96 you can not move a window without getting XRUNS. What a poor implementation.
You can get it working by elevating PA into realtime priorization.
  Reply With Quote
Old 22nd September 2013, 11:11 AM   #2135
phofman is offline phofman  Czech Republic
diyAudio Member
 
Join Date: Apr 2005
Location: Pilsen
Quote:
Originally Posted by soundcheck View Post
If you try to resample to 192 with a rather high quality codec from inside PA, you run into major XRUNS. At 96 you can not move a window without getting XRUNS. What a poor implementation.
What do you mean by "high quality codec"? I do not know what algorithm authors used in its native implementation pulseaudio/pulseaudio - PulseAudio Sound Server .

If what you mean is the resample-method parameter, it makes sense since libsamplerate (src-..) as well as speex are well known to be quite CPU demanding. You might want to test if the LD_PRELOAD with libsoxr-lsr instead of libsamplerate works too with pulseaudio switched to samplerate (src-...). I checked that using this new library in alsa rate plugin is very simple Using libsoxr-lsr in Alsa Rate Plugin with LD_PRELOAD | Blog IVITERA a.s. .

Last edited by phofman; 22nd September 2013 at 11:13 AM.
  Reply With Quote
Old 22nd September 2013, 11:24 AM   #2136
diyAudio Member
 
soundcheck's Avatar
 
Join Date: Mar 2005
Location: D
It uses libspeex 3 by default.

I switched to libsamplerate [PA_RESAMPLER_SRC_SINC_BEST_QUALITY]..

libsoxr might be more efficient any mybe even better.


Anyhow. I don't know how to enable passthrough mode.
Otherwise "bit-perfection" is gonna be rather difficult to achieve with an Ubuntu system.
  Reply With Quote
Old 22nd September 2013, 11:43 AM   #2137
phofman is offline phofman  Czech Republic
diyAudio Member
 
Join Date: Apr 2005
Location: Pilsen
Quote:
Originally Posted by soundcheck View Post
It uses libspeex 3 by default.

I switched to libsamplerate [PA_RESAMPLER_SRC_SINC_BEST_QUALITY].
And does the LD_PRELOAD library injection work?

Quote:
Anyhow. I don't know how to enable passthrough mode.
Otherwise "bit-perfection" is gonna be rather difficult to achieve with an Ubuntu system.
I do not think ubuntu being a general-use desktop distribution cares about bitperfect playback. Being able to mix streams is way more important for a regular user.

SPDIF/HDMI passthrough into alsa is handled by video applications directly.
  Reply With Quote
Old 22nd September 2013, 01:17 PM   #2138
diyAudio Member
 
soundcheck's Avatar
 
Join Date: Mar 2005
Location: D
Quote:
Originally Posted by phofman View Post
And does the LD_PRELOAD library injection work?

No idea.

Quote:
Originally Posted by phofman View Post


I do not think ubuntu being a general-use desktop distribution cares about bitperfect playback. Being able to mix streams is way more important for a regular user.

SPDIF/HDMI passthrough into alsa is handled by video applications directly.
I do want to use it as generic desktop system. As a (rather) normal user.
And I'm also aware that there are applications ( also e.g. MPD ), which can
directly access Alsa.

I just wanted to use Rythmbox out of the box. Because it is well integrated into the environment. And certain plugins (e.g. coverart browser) make that
player acceptable to me. ( What I can not say about MPD)

What sucks is pulseaudio and the whole gstreamer jungle.
OK. Nothing new. We were at this point 5 years ago.

Anyhow. With the right prioritiy setting I got a rather acceptable resampling to 96khz (@23%!! CPU load on an i5) going.

Let's see, perhaps I find an answer to the "passthrough" subject, which is supposed to include automatic samplerate switching.
  Reply With Quote
Old 22nd September 2013, 02:59 PM   #2139
phofman is offline phofman  Czech Republic
diyAudio Member
 
Join Date: Apr 2005
Location: Pilsen
Quote:
Originally Posted by soundcheck View Post
No idea.
Then try it instead of useless complaining.
  Reply With Quote
Old 22nd September 2013, 04:02 PM   #2140
diyAudio Member
 
soundcheck's Avatar
 
Join Date: Mar 2005
Location: D
"Useles complaining"

Yep. That's right. It's useless to complain about all the useless respectively low quality stuff being developed under Linux. There is close to 0 progress since years. Since pulseaudio it actually got worse. The vast majority of apps are flawed or come with pretty limited features.
One exemption is the Logitechmediaserver and squeezelite.


I do not intend to look into the sourcecode with every single piece of SW I'm trying under Linux.


Non of your answers refers to my question btw. Why do you feel to respond at all!?!?
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



New To Site? Need Help?

All times are GMT. The time now is 04:11 AM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2