OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

virtio-dev message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [virtio-dev] Re: [PATCH v3] virtio-snd: add virtio sound device specification


  Hi,

> > Period notification would be implicit (playback buffer completion) or
> > explicit event queue message?
> 
> Good question. I think, for message-base transport they would be implicit,
> since we will require to enqueue period_size length buffers. The only
> exception here will be the end of the stream for playback.

Why is the end-of-stream different?

> As for shared memory, I think that they could work as an optional notification
> (as suggested earlier), and the driver should enable them using the set params
> request (setting the feature bit).

Sounds good.

> > Yes, a simple enum would do the trick I think.
> 
> And just reuse existing values from the HDA spec, right?

Looks useful, simplifies things.

> > Not sure if we want add more properties.  hda codecs can also specify
> > the color coding of physical jacks (line-in is red, ...) for example.
> > Probably not useful for most use cases (i.e. when sound data lands @
> > pulseaudio where the user can re-route things as he wants), but it might
> > be useful when a fixed physical host output is assigned to the guest.
> 
> Well, if we are gonna introduce jacks colors, then we should introduce a jack
> entity itself. Like, define some kind of jack descriptor, enumerate all
> available jacks for the stream, putting into the descriptor its color and
> other properties, maybe allow jack hotplug/unplug, etc.

We also need routing then (enable/disable jacks per stream), and link
detection (is something plugged into the jack?) could be useful too.

Should we make that an optional extension (and possibly hash out these
details later)?  If you assign host machine jacks to your guest all this
is useful.  If your guests's sound is routed to pulseaudio for playback
not so much.

Note: I'll be offline for xmas and new year until january.

cheers,
  Gerd



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]