Hi there,
I'm new into Unix bit perfect sound. I'm using ubuntu server (no GUI) on my HP N40L and my Asus Xonar Essence One via USB with mpd and alsa.
I have a strange problem with this setup. Playing files works, but if I change from a "normal" mp3 file with 44.1 khz to a file with 48 khz and vice versa the sound plays too fast / too slow. I have to stop and play the file again and then it's fixed.
The first mp3 file after a reboot sounds very corrupted and the Essence One shows 192 khz playback. Stopping and starting fixes this problem too. Any one with an idea to fix this?
My Config:
ALSA asound.conf
pcm.!default {
type hw
card One
# device 0
}
ctl.!default {
type hw
card One
}
MPD mpd.conf
audio_output {
type "alsa"
name "One"
device "hw:0,0"
auto_resample "no"
}
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: One [ASUS Xonar Essence One], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
sysdefault:CARD=One
ASUS Xonar Essence One, USB Audio
Default Audio Device
front:CARD=One,DEV=0
ASUS Xonar Essence One, USB Audio
Front speakers
surround40:CARD=One,DEV=0
ASUS Xonar Essence One, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=One,DEV=0
ASUS Xonar Essence One, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=One,DEV=0
ASUS Xonar Essence One, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=One,DEV=0
ASUS Xonar Essence One, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=One,DEV=0
ASUS Xonar Essence One, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=One,DEV=0
ASUS Xonar Essence One, USB Audio
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=One,DEV=0
ASUS Xonar Essence One, USB Audio
Direct sample mixing device
dsnoop:CARD=One,DEV=0
ASUS Xonar Essence One, USB Audio
Direct sample snooping device
hw:CARD=One,DEV=0
ASUS Xonar Essence One, USB Audio
Direct hardware device without any conversions
plughw:CARD=One,DEV=0
ASUS Xonar Essence One, USB Audio
Hardware device with all software conversions
on a correct playing file:
cat /proc/asound/card0/stream0
ASUS ASUS Xonar Essence One at usb-0000:00:13.2-1, high speed : USB Audio
Playback:
Status: Running
Interface = 1
Altset = 1
URBs = 8 [ 8 8 8 8 8 8 8 8 ]
Packet Size = 104
Momentary freq = 44109 Hz (0x5.8380)
Feedback Format = 16.16
Interface 1
Altset 1
Format: S16_LE
Channels: 2
Endpoint: 6 OUT (ASYNC)
Rates: 44100, 48000, 88200, 96000, 176400, 192000
Data packet interval: 125 us
Interface 1
Altset 2
Format: S32_LE
Channels: 2
Endpoint: 6 OUT (ASYNC)
Rates: 44100, 48000, 88200, 96000, 176400, 192000
Data packet interval: 125 us
on a corrupt sounding flac 192 khz file:
cat /proc/asound/card0/stream0
ASUS ASUS Xonar Essence One at usb-0000:00:13.2-1, high speed : USB Audio
Playback:
Status: Running
Interface = 1
Altset = 2
URBs = 8 [ 8 8 8 8 8 8 8 8 ]
Packet Size = 208
Momentary freq = 176438 Hz (0x16.0e00)
Feedback Format = 18.14
Interface 1
Altset 1
Format: S16_LE
Channels: 2
Endpoint: 6 OUT (ASYNC)
Rates: 44100, 48000, 88200, 96000, 176400, 192000
Data packet interval: 125 us
Interface 1
Altset 2
Format: S32_LE
Channels: 2
Endpoint: 6 OUT (ASYNC)
Rates: 44100, 48000, 88200, 96000, 176400, 192000
Data packet interval: 125 us