Thread: Can anyone explain to me what buffering is?

  1. #1
    Registered User
    Join Date
    May 2002
    Posts
    15

    Can anyone explain to me what buffering is?

    Can anyone explain to me what buffering is , what it does, and provide a coded example for me please

    many thanks

  2. #2
    *
    Guest
    Very simply put, "buffering" is the process of allocating a RAMblock of arbitrary size and then have one process read from it at a steady rate (such as playback of audio data), while another, faster routine, keeps the buffer filled.

    This kind of thing is used when you want steady availability of data, such as sound, or raw when burning a CD, etc. One routine reads it out of the buffer while the other routine makes sure the buffer stays full.

  3. #3
    Unregistered
    Guest
    Iit is like the anti-shock mechanism that cd players use...First it record the cd (a few seconds) into a buffer, and the audio is actually played from the buffer, instead of directly from the cd. This way, the cd can skip, and the audio will still continue to play.

  4. #4
    Unregistered
    Guest
    i think he means in c programming

  5. #5
    Unregistered
    Guest
    sorry i didnt make myself clear
    im talking of buffering in terms of C programming

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. purpose of stream buffering operations?
    By darsunt in forum C Programming
    Replies: 2
    Last Post: 08-29-2006, 10:29 AM
  2. Double buffering in GDI -- easy?
    By fusikon in forum Game Programming
    Replies: 17
    Last Post: 02-15-2003, 10:03 PM
  3. explain this loop statement?
    By Unregistered in forum C Programming
    Replies: 2
    Last Post: 05-05-2002, 02:46 AM
  4. double buffering and page flipping question
    By stupid_mutt in forum C Programming
    Replies: 2
    Last Post: 01-30-2002, 01:50 PM
  5. Can someone explain "extern" to me?
    By valar_king in forum C++ Programming
    Replies: 3
    Last Post: 09-16-2001, 12:22 AM