Opened 10 years ago

Closed 10 years ago

#127 closed enhancement (fixed)

VIO/DSTR should support VIOs using reference counter

Reported by: ph3-der-loewe Owned by: ph3-der-loewe
Priority: wishlist Milestone: RoarAudio major release 1.0
Component: libroar and friends Version: 1.0beta0
Keywords: soname_change Cc:
Architecture: Compiler:
Difficulty: easy Kernel:
Operating System: Parent Tickets:
Patch attached: no Protocol:
Sound driver: Topic: New feature

Description (last modified by ph3-der-loewe)

VIO/DSTR should support VIOs using refcerence counter.

The following changes need to be done:

  • There must be a function to zero VIOs. (done)
  • roar_vio_close() should be replaced (with transition macro) by roar_vio_unref(). (done)
  • roar_vio_ref() needs to be added. (done)
  • There should be a function returning a roar_mm_malloc()ed VIO opened using DSTR. (done)
  • static and dynamic(roar_mm_*()) VIOs should be supported. refc=0 can be used to mark as static.

This may require a soname change

Subtickets

Change History (8)

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

Added a function to zero VIOs: roar_vio_clear_calls(). It is still not used.

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

  • Keywords soname_change added

roar_vio_init_calls() should be made static (private) at next SONAME change.

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

  • Summary changed from VIO/DSTR should support VIOs using refcerence counter to VIO/DSTR should support VIOs using reference counter

comment:4 Changed 10 years ago by ph3-der-loewe

  • Difficulty set to easy

comment:5 Changed 10 years ago by ph3-der-loewe

  • Priority changed from medium to wishlist

comment:6 Changed 10 years ago by ph3-der-loewe

  • Description modified (diff)
  • Owner set to ph3-der-loewe
  • Status changed from new to assigned

comment:7 Changed 10 years ago by ph3-der-loewe

  • Description modified (diff)

comment:8 Changed 10 years ago by ph3-der-loewe

  • Resolution set to fixed
  • Status changed from assigned to closed
  • Version changed from current to 1.0beta0
Note: See TracTickets for help on using tickets.