Sound streaming

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
Someguynamedpie
Citizen
Posts: 71
Joined: Wed Mar 31, 2010 10:59 pm

Sound streaming

Post by Someguynamedpie »

Is it possible to have a sound output device object and send it PCM to have played? Otherwise it would be very unfeasible to implement a custom audio format.
In laymens terms, I'd like to manually buffer audio.
User avatar
Boolsheet
Inner party member
Posts: 780
Joined: Wed Dec 29, 2010 4:57 am
Location: Switzerland

Re: Sound streaming

Post by Boolsheet »

love.audio doesn't expose this. It would be kind of tricky since it involves another thread. If you want that you need to modify LÖVE.
Shallow indentations.
User avatar
Someguynamedpie
Citizen
Posts: 71
Joined: Wed Mar 31, 2010 10:59 pm

Re: Sound streaming

Post by Someguynamedpie »

It wouldn't need a separate thread. And I guess you could call this a suggestion noiw
User avatar
slime
Solid Snayke
Posts: 3166
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Sound streaming

Post by slime »

I think what Boolsheet means is that love.audio's existing (internal) audio streaming is already done in a separate thread, which creates problems with exposing a lower level API for it.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 4 guests