SDL HG & SDL_QueueAudio API

I found I can use the new SDL_QueueAudio API only opening audio with
SDL_OpenAudio(), that’s because you need to pass NULL as callback to be
able to use the new API.

If I use SDL_OpenAudioDevice and pass NULL as want.func SDL_OpenAudioDevice
fails to create the device:

SDL_GetError() -> SDL_OpenAudio() passed a NULL callback

I’ve tried with the HG head (today) version, but I fear this (small)
problem is also in the 2.0.4–
Ing. Gabriele Greco, DARTS Engineering
Tel: +39-0100980150 Fax: +39-0100980184
s-mail: Piazza Della Vittoria 9/3 - 16121 GENOVA (ITALY)

I found I can use the new SDL_QueueAudio API only opening audio with
SDL_OpenAudio(), that’s because you need to pass NULL as callback to be
able to use the new API.

Please ignore this, I had a dirty setup where the library or the header
was of a pre 2.0.4 version.On Tue, Sep 22, 2015 at 10:16 AM, Gabriele Greco <@Gabriele_Greco> wrote:


Bye,
Gabry