Thread: Is there a way to play music from ram?

  1. #1
    Registered User
    Join Date
    Jun 2018
    Posts
    14

    Is there a way to play music from ram?

    I want to make a program that plays music stored in the ram (it is going to be streamed)

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    37,664
    Yes.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Jun 2018
    Posts
    14
    Quote Originally Posted by Salem View Post
    Yes.
    How?

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    37,664
    Well if you want more specifics, start by being specific about which OS/Compiler/Sound Library you're planning to use.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  5. #5
    Registered User
    Join Date
    Jun 2018
    Posts
    14
    Quote Originally Posted by Salem View Post
    Well if you want more specifics, start by being specific about which OS/Compiler/Sound Library you're planning to use.
    linux/gcc/no idea
    I don't know anything about audio

  6. #6
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    Then why not start by looking at what audio libraries are available for linux, including finding out which ones are already installed on your system, and then choosing one that seems like it will handle the input formats you want to handle?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to play midi music from resource without directX
    By alaphate in forum Windows Programming
    Replies: 0
    Last Post: 03-12-2009, 08:49 AM
  2. how to play play and stop wav files
    By cnu_sree in forum Linux Programming
    Replies: 4
    Last Post: 08-14-2006, 11:11 PM
  3. Play music files in C#
    By redintegra in forum C# Programming
    Replies: 1
    Last Post: 04-08-2005, 09:57 AM
  4. Mp3 play - MCI
    By geek@02 in forum Windows Programming
    Replies: 4
    Last Post: 09-30-2004, 08:07 PM
  5. Play without the CD?
    By geek@02 in forum Tech Board
    Replies: 2
    Last Post: 09-15-2004, 01:47 AM

Tags for this Thread