Skip to content

Commit

Permalink
[src] Unify enum formatting.
Browse files Browse the repository at this point in the history
* Add trailing comma at the end of the last element.
* Put each enum field on its own line (this makes it easier to write/port xml docs).
  • Loading branch information
rolfbjarne committed Jan 9, 2025
1 parent 10bdde3 commit 29ceefc
Show file tree
Hide file tree
Showing 38 changed files with 1,223 additions and 707 deletions.
17 changes: 14 additions & 3 deletions src/AVFoundation/AVAudioSessionDataSourceDescription.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,26 @@

namespace AVFoundation {
public enum AVAudioDataSourceLocation {
Unknown, Upper, Lower
Unknown,
Upper,
Lower,
}

public enum AVAudioDataSourceOrientation {
Unknown, Top, Bottom, Front, Back, Left, Right
Unknown,
Top,
Bottom,
Front,
Back,
Left,
Right,
}

public enum AVAudioDataSourcePolarPattern {
Unknown, Omnidirectional, Cardioid, Subcardioid
Unknown,
Omnidirectional,
Cardioid,
Subcardioid,
}

public partial class AVAudioSessionDataSourceDescription {
Expand Down
Loading

0 comments on commit 29ceefc

Please sign in to comment.