-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
47 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,34 @@ | ||
package pcm | ||
|
||
type Info struct { | ||
Access uint | ||
Format0 uint | ||
Format1 uint | ||
FormatNames []string | ||
Subformat uint | ||
RateMin uint | ||
RateMax uint | ||
ChannelsMin uint | ||
ChannelsMax uint | ||
SampleBitsMin uint | ||
SampleBitsMax uint | ||
PeriodSizeMin uint | ||
PeriodSizeMax uint | ||
// Mask that represents the type of read or write methods available | ||
Access uint | ||
// Mask that represents the PCM_FORMAT available (e.g. PCM_FORMAT_32_LE) | ||
Format0 uint | ||
// Mask that represents the PCM_FORMAT available (e.g. PCM_FORMAT_32_LE) | ||
Format1 uint | ||
// Pcm formats available | ||
FormatNames []string | ||
// Mask that represents the subformat available | ||
Subformat uint | ||
// Minimum available rate | ||
RateMin uint | ||
// Maximum available rate | ||
RateMax uint | ||
// Minimum available channels | ||
ChannelsMin uint | ||
// Maximum available channels | ||
ChannelsMax uint | ||
// Minimum available sample bits | ||
SampleBitsMin uint | ||
// Maximum available sample bits | ||
SampleBitsMax uint | ||
// Minimum available period size | ||
PeriodSizeMin uint | ||
// Maximum available period size | ||
PeriodSizeMax uint | ||
// Minimum available period count | ||
PeriodCountMin uint | ||
// Maximum available period count | ||
PeriodCountMax uint | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters