colbyparsons
Posts: 22
Joined: Fri Jan 27, 2012 7:42 pm

Playing Audio Files

Wed Jun 27, 2012 5:39 pm

I've been trying to figure out how to get hello_audio to play audio files. Based on the source, it appears to be hard coded to play sinewave.c and not accept other audio files.

I'm aware of the various full featured audio players for debian but I would prefer a bare-bones and open source audio player to implement into a project.

trema
Posts: 1
Joined: Wed Jun 27, 2012 10:39 pm

Re: Playing Audio Files

Wed Jun 27, 2012 10:42 pm

Hi,
I've changed sound.c in such a way that i read a raw audio file from disk and save in the buffer. This plays very nice sound on the ear phones.

colbyparsons
Posts: 22
Joined: Fri Jan 27, 2012 7:42 pm

Re: Playing Audio Files

Sun Jul 15, 2012 5:11 am

trema wrote:Hi,
I've changed sound.c in such a way that i read a raw audio file from disk and save in the buffer. This plays very nice sound on the ear phones.
Trema,
Can you tell me more about how you did that?
--Colby

Return to “Graphics, sound and multimedia”

Who is online

Users browsing this forum: No registered users and 4 guests