Re: [Bug 23263] Add output device enumeration to GetSources

On 2013-10-21 07:12, Harald Alvestrand wrote:
> On 10/21/2013 07:05 AM, Adam Bergkvist wrote:
>> On 2013-10-19 21:42, Martin Thomson wrote:
>>> On 18 October 2013 21:57, Harald Alvestrand <harald@alvestrand.no>
>>> wrote:
>>>> the only argument I can think of in favour of using "kind" to indicate
>>>> audioOut is that it doesn't trip up code that is only looking at the
>>>> "kind" field.
>>>
>>> It's a good argument.  You could also change "audio" to "audioIn" if
>>> you feel that symmetry is necessary.
>>>
>>
>> For some reason I don't think camel case looks that nice in string
>> literals. I suggested "audio-output" and "audio-input" in an earlier
>> mail.
> Given that most of the API uses camelCase or CamelCase, I find dashes
> jarring.
>

There should really be some web platform API guide-lines regarding this 
to make it consistent.

/Adam

Received on Monday, 21 October 2013 05:17:20 UTC