Opened 11 years ago

Closed 11 years ago

#290 closed enhancement (fixed)

cdriver interface should allow passing parameters as kv array as well as reading list of drivers

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

Description

The cdriver interface should allow passing parameters as kv array as well as allowing to query the list of the names and some flags for the drivers.

Subtickets

Change History (3)

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

New proto types should be:

int roar_cdriver_open(struct roar_vio_calls * calls, const char * name, const char * dev, struct roar_audio_info * info, int dir, struct roar_keyval * para, ssize_t paralen);
ssize_t roar_cdriver_list   (const char ** list, size_t len, size_t offset) _LIBROAR_STREAM_STDATTRS;

names of optional parameters should be similar (compatible?) to libao's.

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

  • Owner set to ph3-der-loewe
  • Status changed from new to accepted

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

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