Odpal jakąs mp3 mplayerem konsolowym takim poleceniem i pokaz co wypluje.
Kod: Zaznacz cały
mplayer plik.mp3 -ao alsa -v 2
Kod: Zaznacz cały
mplayer plik.mp3 -ao alsa -v 2
Kod: Zaznacz cały
mplayer Design-S-Fight.mp3 -ao alsa -v 2
MPlayer dev-SVN-r26940
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 3, Stepping: 4)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
get_path('codecs.conf') -> '/home/surix/.mplayer/codecs.conf'
Reading /home/surix/.mplayer/codecs.conf: Can't open '/home/surix/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: --prefix=/usr --confdir=/etc/mplayer --datadir=/usr/share/mplayer --enable-xmga --enable-mga --enable-joystick --enable-faad-external --disable-tremor-internal --enable-libamr_nb --enable-libamr_wb --enable-pulse --language=all --enable-largefiles --enable-menu --disable-libdvdcss-internal --enable-lirc --enable-radio-capture --enable-png --enable-radio --enable-xvmc --with-xvmclib=XvMCW --enable-fbdev --enable-win32dll --enable-tdfxfb --enable-s3fb --realcodecsdir=/usr/lib/codecs --xanimcodecsdir=/usr/lib/codecs --enable-runtime-cpudetection --enable-gui --disable-mencoder
CommandLine: 'Design-S-Fight.mp3' '-ao' 'alsa' '-v' '2'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/surix/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/surix/.mplayer/input.conf'
Can't open input config file /home/surix/.mplayer/input.conf: No such file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 89 binds
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
get_path('Design-S-Fight.mp3.conf') -> '/home/surix/.mplayer/Design-S-Fight.mp3.conf'
Playing Design-S-Fight.mp3.
get_path('sub/') -> '/home/surix/.mplayer/sub/'
[file] File size is 6588167 bytes
STREAM: [file] Design-S-Fight.mp3
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: MPEG audio
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename Design-S-Fight.mp3 ext: .mp3
Trying demuxer 17 based on filename extension
==> Found audio stream: 0
demux_audio: seeking from 0x648707 to start pos 0x800
demux_audio: audio data 0x800 - 0x648687
Audio file file format detected.
Clip info:
Title: Fight
Artist: Design-S
Album:
Year:
Comment:
Genre: Electronic
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: using SSE optimized decore!
MP3lib: init layer2&3 finished, tables done
MPEG 1.0, Layer III, 44100 Hz 192 kbit Joint-Stereo, BPF: 626
Channels: 2, copyright: Yes, original: Yes, CRC: Yes, emphasis: 0
AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Trying preferred audio driver 'alsa', options '[none]'
alsa-init: requested format: 44100 Hz, 2 channels, 9
alsa-init: using ALSA 1.0.16
alsa-init: setup for 1/2 channel(s)
alsa-init: using device default
alsa-init: pcm opened in blocking mode
alsa-init: chunksize set to 1024
alsa-init: fragcount=8
alsa-init: got buffersize=32768
alsa-init: got period size 1024
alsa: 48000 Hz/2 channels/4 bpf/32768 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <[email protected]>
AO: Comment: under developement
Building audio filter chain for 44100Hz/2ch/s16le -> 48000Hz/2ch/s16le...
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[libaf] Adding filter lavcresample
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Video: no video
Freeing 0 unused video chunks.
Starting playback...
[libaf] Reallocating memory in module lavcresample, old len = 0, new len = 32910
Increasing filtered audio buffer size from 0 to 32868
Uninit audio filters...0 (04:34.0) 1.5%
[libaf] Removing filter lavcresample
[libaf] Removing filter dummy
Uninit audio: mp3lib
alsa-uninit: pcm closed
vo: x11 uninit called but X11 not initialized..
Exiting... (Quit)
Kod: Zaznacz cały
audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! gconfaudiosink: Nie udało się otworzyć urządzenia dźwiękowego do odtwarzania.
Kod: Zaznacz cały
Nie odnaleziono wtyczek GStreamer i/lub urządzeń kontroli głośności.
Kod: Zaznacz cały
hifer c-media electronic inc CMI8788 [oxygen hd audio]
hifer c-media electronic inc CMI8788 [oxygen hd audio]
virtuoso c-media electronic inc CMI8788 [oxygen hd audio]
virtuoso c-media electronic inc CMI8788 [oxygen hd audio]
virtuoso c-media electronic inc CMI8788 [oxygen hd audio]
oxygen c-media electronic inc CMI8788 [oxygen hd audio] -ta pozycka 11 razy wystepuje
legacy probe legacy ISA (non-PnP) chips
Kod: Zaznacz cały
cat /proc/asound/cards
cat /proc/asound/modules
Kod: Zaznacz cały
#
# Configuration for the CMI8788 chip
#
<confdir :p cm/front.conf>
CMI8788.pcm.front.0 {
@args [ CARD ]
@args.CARD {
type string
}
type hw
card $CARD
}
# default with dmix & dsnoop
CMI8788.pcm.default {
@args [ CARD ]
@args.CARD {
type string
}
type asym
playback.pcm {
type plug
slave.pcm {
@func concat
strings [ "dmix:" $CARD ",FORMAT=S32_LE" ]
}
}
capture.pcm {
type plug
slave.pcm {
@func concat
strings [ "dsnoop:" $CARD ",FORMAT=S32_LE" ]
}
}
}
<confdir :p cm/surround40.conf>
CMI8788.pcm.surround40.0 {
@args [ CARD ]
@args.CARD {
type string
}
type hw
card $CARD
channels 4
}
<confdir :p cm/surround41.conf>
<confdir :p cm/surround50.conf>
<confdir :p cm/surround51.conf>
CMI8788.pcm.surround51.0 {
@args [ CARD ]
@args.CARD {
type string
}
type hw
card $CARD
channels 6
}
<confdir :p cm/surround71.conf>
CMI8788.pcm.surround71.0 {
@args [ CARD ]
@args.CARD {
type string
}
type hw
card $CARD
channels 8
}
<confdir :p cm/iec958.conf>
CMI8788.pcm.iec958.0 {
@args [ CARD AES0 AES1 AES2 AES3 ]
@args.CARD {
type string
}
@args.AES0 {
type integer
}
@args.AES1 {
type integer
}
@args.AES2 {
type integer
}
@args.AES3 {
type integer
}
type asym
playback.pcm {
type hooks
slave.pcm {
type hw
card $CARD
device 1
}
hooks.0 {
type ctl_elems
hook_args [
{
interface PCM
device 1
name "IEC958 Playback PCM Stream"
lock true
preserve true
value [ $AES0 $AES1 $AES2 $AES3 ]
}
]
}
}
capture.pcm {
type hw
card $CARD
device 1
}
}
# vim: ft=alsaconf
Kod: Zaznacz cały
lsmod | grep sound
Kod: Zaznacz cały
dpkg -l | grep alsa
Kod: Zaznacz cały
jajco@jajco:~$ dpkg -l|grep alsa
ii alsa-base 1.0.17.dfsg-4 ALSA driver configuration files
ii alsa-utils 1.0.16-2 ALSA utilities
ii gstreamer0.10-alsa 0.10.19-2 GStreamer plugin for ALSA
ii libpt-1.10.10-plugins-alsa 1.10.10-2 Portable Windows Library Audio Plugin for th
ii libsdl1.2debian-alsa 1.2.13-2 Simple DirectMedia Layer (with X11 and ALSA
Kod: Zaznacz cały
lspci
Kod: Zaznacz cały
lspci -n
Kod: Zaznacz cały
jajco:/home/jajco# lspci
00:00.0 Memory controller: nVidia Corporation CK804 Memory Controller (rev a3)
00:01.0 ISA bridge: nVidia Corporation CK804 ISA Bridge (rev f3)
00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2)
00:02.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2)
00:02.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a3)
00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev f2)
00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)
00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)
00:09.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev f2)
00:0b.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev f3)
00:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev f3)
00:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev f3)
00:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:01.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306 Fire II IEEE 1394 OHCI Link Layer Controller (rev c0)
01:06.0 Multimedia audio controller: C-Media Electronics Inc CMI8788 [Oxygen HD Audio]
01:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
05:00.0 VGA compatible controller: nVidia Corporation GeForce 8500 GT (rev a1)
Kod: Zaznacz cały
jajco:/home/jajco# lspci -n
00:00.0 0580: 10de:005e (rev a3)
00:01.0 0601: 10de:0050 (rev f3)
00:01.1 0c05: 10de:0052 (rev a2)
00:02.0 0c03: 10de:005a (rev a2)
00:02.1 0c03: 10de:005b (rev a3)
00:06.0 0101: 10de:0053 (rev f2)
00:07.0 0101: 10de:0054 (rev f3)
00:08.0 0101: 10de:0055 (rev f3)
00:09.0 0604: 10de:005c (rev f2)
00:0b.0 0604: 10de:005d (rev f3)
00:0c.0 0604: 10de:005d (rev f3)
00:0d.0 0604: 10de:005d (rev f3)
00:0e.0 0604: 10de:005d (rev a3)
00:18.0 0600: 1022:1100
00:18.1 0600: 1022:1101
00:18.2 0600: 1022:1102
00:18.3 0600: 1022:1103
01:01.0 0c00: 1106:3044 (rev c0)
01:06.0 0401: 13f6:8788
01:07.0 0200: 10ec:8139 (rev 10)
05:00.0 0300: 10de:0421 (rev a1)