MrSlim
Member of the Trade
- Joined
- Oct 31, 2007
- Posts
- 784
- Likes
- 38
Since reading these threads, I thought I would look into my own config a bit more. I decided to give Lubuntu a try since it leaves Pulse audio out of the base distro. I was able to get it set up and playing without resampling with DeadBeef (44.1K file in, 44.1K output shown in /proc/asound /card1/pcm0p/sub0/hw_params). Now, not content to leave well enough alone, I've re-installed Lubuntu 64bit, and I can't get back to that point. Here's my config:
@linux-dt:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: USB [E-MU 0204 | USB], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
@linux-dt:~$ cat /etc/asound.conf
defaults.ctl.card 1
defaults.pcm.card 1
defaults.timer.card 1
(to use the E-MU 0204 as default)
Using the DeadBeef config as an example (gmusicbrowser gives the same result),
(with ALSA resampling turned off, and the resampler deleted from DSP), the sound is ok if I select "E-MU 0204 Default Audio Device" as the output dev, but I see that it is being resampled :
@linux-dt:~$ cat /proc/asound/card1/pcm0p/sub0/hw_params
access: MMAP_INTERLEAVED
format: S24_3LE
subformat: STD
channels: 2
rate: 48000 (48000/1)
period_size: 1024
buffer_size: 16384
If I select "Front Speakers" or "Direct Hardware without any conversions" I can see that it is not being re-sampled: (BUT)....
@linux-dt:~$ cat /proc/asound/card1/pcm0p/sub0/hw_params
access: RW_INTERLEAVED
format: S24_3LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 1024
buffer_size: 8192
The but is that the sound is distorted/static/slow... like something is being intermodulated with it?
I did notice this as I was sorting it out originally(on 32bit), but didn't take a note of what I did, and I thought adding the /etc/asound.conf config was what solved it the first time..
Any Ideas would be appreciated..
JD
@linux-dt:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: USB [E-MU 0204 | USB], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
@linux-dt:~$ cat /etc/asound.conf
defaults.ctl.card 1
defaults.pcm.card 1
defaults.timer.card 1
(to use the E-MU 0204 as default)
Using the DeadBeef config as an example (gmusicbrowser gives the same result),
(with ALSA resampling turned off, and the resampler deleted from DSP), the sound is ok if I select "E-MU 0204 Default Audio Device" as the output dev, but I see that it is being resampled :
@linux-dt:~$ cat /proc/asound/card1/pcm0p/sub0/hw_params
access: MMAP_INTERLEAVED
format: S24_3LE
subformat: STD
channels: 2
rate: 48000 (48000/1)
period_size: 1024
buffer_size: 16384
If I select "Front Speakers" or "Direct Hardware without any conversions" I can see that it is not being re-sampled: (BUT)....
@linux-dt:~$ cat /proc/asound/card1/pcm0p/sub0/hw_params
access: RW_INTERLEAVED
format: S24_3LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 1024
buffer_size: 8192
The but is that the sound is distorted/static/slow... like something is being intermodulated with it?
I did notice this as I was sorting it out originally(on 32bit), but didn't take a note of what I did, and I thought adding the /etc/asound.conf config was what solved it the first time..
Any Ideas would be appreciated..
JD