From: Eugene Prokopiev <enp@altlinux.org> To: community@lists.altlinux.org Subject: [Comm] pulseaudio: запись звука Date: Wed, 11 Nov 2009 13:49:41 +0300 Message-ID: <f7a739430911110249o6ec6313cs654a4f8cbbc85ac5@mail.gmail.com> (raw) Здравствуйте! Есть машина (branch/5.1), на которой звук чудесно записывается и воспроизводится посредством arecord/aplay. На ней же запущен: # ps aux | grep pulse pulse 2199 3.8 1.6 85212 4192 ? S<Lsl 21:53 1:39 pulseaudio -n --system -D -L module-native-protocol-tcp auth-ip-acl=192.168.46.1 -L module-alsa-sink Он позволяет воспроизводить звук с другой машины с помощью paplay/aplay, а вот записать я никак не могу: $ parecord --format=alaw 0.wav $ ffprobe 0.wav FFprobe version SVN-r92, Copyright (c) 2007-2009 Stefano Sabatini libavutil 50. 3. 0 / 50. 3. 0 libavcodec 52.32. 0 / 52.32. 0 libavformat 52.36. 0 / 52.36. 0 built on Oct 15 2009 14:00:40, gcc: 4.4.1 20090725 (ALT Linux 4.4.1-alt3) 0.wav: Unknown format $ arecord 1.wav Recording WAVE '1.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono ^CAborted by signal Прерывание... $ ffprobe 1.wav FFprobe version SVN-r92, Copyright (c) 2007-2009 Stefano Sabatini libavutil 50. 3. 0 / 50. 3. 0 libavcodec 52.32. 0 / 52.32. 0 libavformat 52.36. 0 / 52.36. 0 built on Oct 15 2009 14:00:40, gcc: 4.4.1 20090725 (ALT Linux 4.4.1-alt3) Input #0, wav, from '1.wav': Duration: 00:00:00.88, bitrate: 64 kb/s Stream #0.0: Audio: pcm_u8, 8000 Hz, 1 channels, s16, 64 kb/s Во втором случае получается более осмысленный результат, однако в файле тишина. На клиенте настройки такие: $ amixer Simple mixer control 'Master',0 Capabilities: pvolume pswitch pswitch-joined Playback channels: Front Left - Front Right Limits: Playback 0 - 65536 Mono: Front Left: Playback 65536 [100%] [on] Front Right: Playback 65536 [100%] [on] Simple mixer control 'Capture',0 Capabilities: cvolume cswitch cswitch-joined Capture channels: Front Left - Front Right Limits: Capture 0 - 65536 Front Left: Capture 65536 [100%] [on] Front Right: Capture 65536 [100%] [on] $ cat /etc/asound.conf pcm.pulse { type pulse } ctl.pulse { type pulse } pcm.!default { type pulse } ctl.!default { type pulse } Может я что-то делаю неправильно? -- С уважением, Прокопьев Евгений
reply other threads:[~2009-11-11 10:49 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=f7a739430911110249o6ec6313cs654a4f8cbbc85ac5@mail.gmail.com \ --to=enp@altlinux.org \ --cc=community@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git