Opened 14 years ago

Closed 13 years ago

#3 closed enhancement (fixed)

Implement file mode for VS API

Reported by: ph3-der-loewe Owned by: ph3-der-loewe
Priority: major Milestone:
Component: VS API Version: 0.4beta2
Keywords: Cc:
Architecture: Compiler:
Difficulty: Kernel:
Operating System: Parent Tickets:
Patch attached: no Protocol:
Sound driver: Topic: New feature

Description

The VS API should include a simple way to play a file.

Auto detection and setup of stream parameters should be done by the API.

DSTR API should be used to open the files.

PASSFH or similar features should be used if possible

Subtickets

Change History (3)

comment:1 Changed 14 years ago by ph3-der-loewe

  • Owner changed from maister to ph3-der-loewe
  • Priority changed from minor to major
  • Status changed from new to assigned

comment:2 Changed 13 years ago by ph3-der-loewe

  • Patch attached unset
  • Topic set to New feature

comment:3 Changed 13 years ago by ph3-der-loewe

  • Resolution set to fixed
  • Status changed from assigned to closed
  • Version changed from current to 0.4beta2

Playing back a file with VS API is now as simple as:

vss = roar_vs_new_from_file(NULL, NULL, "bla.ogg", NULL);
roar_vs_run(vss, NULL);
roar_vs_close(vss, ROAR_VS_FALSE, NULL);

Just that a real world application needs to check for errors.

Note: See TracTickets for help on using tickets.