+ Reply to Thread
Results 1 to 4 of 4

Thread: buffer_size alsa

Hybrid View

  1. #1
    Junior Member vfjpl is on a distinguished road
    Join Date
    Nov 2011
    Posts
    3

    buffer_size alsa

    Hello! I have a few questions.

    Code:
    ------- sound initialization -------
    ------ Alsa Sound Initialization -----
    dlopen(libasound.so.2)
    asoundlib version: 1.0.25
    opened Alsa PCM device default for playback
    device buffer size: 2047 frames (8188 bytes - 92ms)
    period size 511 frames not a power of two. round to next higher
    period size set to 511 frames - 2
    allocated a mix buffer of 16384 frames (65536 bytes - 743ms)
    --------------------------------------
    ------------------------------------
    ----- Sound Info -----
    sound system is muted
        1 stereo
    32768 samples
       16 samplebits
        1 submission_chunk
    22050 speed
    0x64546fd0 dma buffer
    No background file.
    ----------------------
    As you can see in the ALSA buffer_size is 16,384 frames (65536 bytes - 743ms)
    How do I reduce it?

    Is "22050 speed" means samplerate?

  2. #2
    Senior Member dom_prova is on a distinguished road
    Join Date
    Aug 2010
    Location
    Taranto, Italy
    Posts
    208
    yes, 22050 is samplerate (hz) use set s_alsa_latency to change buffersize and set s_mixahead for fine tuning

  3. #3
    Junior Member vfjpl is on a distinguished road
    Join Date
    Nov 2011
    Posts
    3
    what to do that quake play 44100?

  4. #4
    Junior Member vfjpl is on a distinguished road
    Join Date
    Nov 2011
    Posts
    3
    I would ask you to provide "all" command for alsa?

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts