lkml.org 
[lkml]   [2007]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch] CFS scheduler, -v6
    On 4/28/07, Kasper Sandberg <lkml@metanurb.dk> wrote:
    > tried looking for buffer stuff in /proc/asound, couldnt find anything,
    > im using the via82xx driver.
    >

    Use fuser to see which sound device is used:

    $ fuser /dev/snd/*
    /dev/snd/controlC0: 14028
    /dev/snd/pcmC0D0c: 14028m
    /dev/snd/pcmC0D0p: 14028m

    So process 14028 is using capture device 0 substream 0 and playback
    device 0 substream 0. Examine the hw_params for playback device like
    so:

    $ cat /proc/asound/card0/pcm0p/sub0/hw_params
    access: MMAP_INTERLEAVED
    format: S16_LE
    subformat: STD
    channels: 2
    rate: 48000 (48000/1)
    period_size: 1024
    buffer_size: 2048
    tick_time: 1000

    This application (jackd) is a sophisticated user of ALSA API and
    allows the user to set period and buffer size but many apps just use
    the default they get from ALSA. These apps will work well with a
    driver that happens to have a large default buffer but will fail
    (skip) with drivers that default to a small buffer.

    Lee
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-04-28 22:47    [W:0.024 / U:89.340 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site