Skip to content
Snippets Groups Projects
  • Volker Rümelin's avatar
    5140ad82
    alsaaudio: reintroduce default recording settings · 5140ad82
    Volker Rümelin authored
    
    Audio recording with ALSA default settings currently doesn't
    work. The debug log shows updates every 0.75s and 1.5s.
    
    audio: Elapsed since last alsa run (running): 0.743030
    audio: Elapsed since last alsa run (running): 1.486048
    audio: Elapsed since last alsa run (running): 0.743008
    audio: Elapsed since last alsa run (running): 1.485878
    audio: Elapsed since last alsa run (running): 1.486040
    audio: Elapsed since last alsa run (running): 1.485886
    
    The time between updates should be in the 10ms range. Audio
    recording with ALSA has the same timing contraints as playback.
    Reintroduce the default recording settings and use the same
    default settings for recording as for playback.
    
    The term "reintroduce" is correct because commit a93f3281
    ("alsaaudio: port to -audiodev config") removed the default
    settings for recording.
    
    Signed-off-by: default avatarVolker Rümelin <vr_qemu@t-online.de>
    Reviewed-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
    Message-Id: <20230121094735.11644-11-vr_qemu@t-online.de>
    5140ad82
    History
    alsaaudio: reintroduce default recording settings
    Volker Rümelin authored
    
    Audio recording with ALSA default settings currently doesn't
    work. The debug log shows updates every 0.75s and 1.5s.
    
    audio: Elapsed since last alsa run (running): 0.743030
    audio: Elapsed since last alsa run (running): 1.486048
    audio: Elapsed since last alsa run (running): 0.743008
    audio: Elapsed since last alsa run (running): 1.485878
    audio: Elapsed since last alsa run (running): 1.486040
    audio: Elapsed since last alsa run (running): 1.485886
    
    The time between updates should be in the 10ms range. Audio
    recording with ALSA has the same timing contraints as playback.
    Reintroduce the default recording settings and use the same
    default settings for recording as for playback.
    
    The term "reintroduce" is correct because commit a93f3281
    ("alsaaudio: port to -audiodev config") removed the default
    settings for recording.
    
    Signed-off-by: default avatarVolker Rümelin <vr_qemu@t-online.de>
    Reviewed-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
    Message-Id: <20230121094735.11644-11-vr_qemu@t-online.de>
alsaaudio.c 25.23 KiB