[pulseaudio-discuss] question to recording with pa.

Lennart Poettering lennart at poettering.net
Sun Oct 25 17:07:35 PDT 2009


On Tue, 20.10.09 17:02, Alexey Fisher (bug-track at fisher-privat.net) wrote:

> Here is the output of my record, you can see no resampling is enabled.
> But it take still more CPU when playback. On playback without resmapling
> pa use ~1% on record ~5%.
> The command i use for record is: 
> gst-launch-0.10 pulsesrc ! audio/x-raw-int,rate=44100 ! speexenc !
> oggmux ! filesink location=foo.oga
> 
> 1 source outputs(s) available.
>     index: 15
>         driver: <protocol-native.c>
>         flags: START_CORKED
>         state: RUNNING
>         source: 1 <alsa_input.pci-0000_00_1b.0.analog-stereo>
>         current latency: 0,00 ms
>         requested latency: 46,00 ms
>         sample spec: s16le 2ch 44100Hz
>         channel map: front-left,front-right
>                      Stereo
>         resample method: (null)
>         owner module: 8
>         client: 50 <gst-launch-0.10>
>         properties:
>                 media.name = "Record Stream"
>                 application.name = "gst-launch-0.10"
>                 native-protocol.peer = "UNIX socket client"
>                 native-protocol.version = "16"
>                 application.process.id = "4112"
>                 application.process.user = "lex"
>                 application.process.host = "mini"
>                 application.process.binary = "gst-launch-0.10"
>                 application.language = "de_DE.UTF-8"
>                 window.x11.display = ":0.0"
>                 application.process.machine_id =
> "e0f90296c911e9435b8cf1864ac71e18"
>                 application.process.session_id =
> "e0f90296c911e9435b8cf1864ac71e18-1256038634.681669-592114388"
>                 module-stream-restore.id =
> "source-output-by-application-name:gst-launch-0.10"

This shows only the source output (i.e. stream) info, not the source
(i.e. device) info. Please include that as well. Only then we can now
if resampling takes place or not.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4



More information about the pulseaudio-discuss mailing list