Opened 21 years ago

Closed 21 years ago

Last modified 6 years ago

#7286 closed feature request (wontfix)

OSystem sound

Reported by: SF/chrilith Owned by: fingolfin
Priority: normal Component: Audio
Version: Keywords:
Cc: Game:

Description

Hi,

It will be great if you add some sound related functions to the OSystem to enable sound replay without SoundMixer.

play_sound(int handle, const char *data, int length, int loop, uint32 loop_start, uint32 loop_end); stop_cound(int handle); stop_all_sound(); pause_sound(int handle); pause_all_sound();

etc...

Thanks you for reading... Chris

Ticket imported from: #766021. Ticket imported from: feature-requests/102.

Change History (4)

comment:1 by SF/chrilith, 21 years ago

we can also pass a pointer to a _sound_finished var to tell the SoundMixer that the sound is played.

comment:2 by fingolfin, 21 years ago

Not really a good idea. Then every backend would have to implement a full blown mixer, which would largely increase the complexity.

comment:3 by fingolfin, 21 years ago

Owner: set to fingolfin
Resolution: wontfix
Status: newclosed

comment:4 by digitall, 6 years ago

Component: Audio
Note: See TracTickets for help on using tickets.