Changeset fe0b448 in mainline for uspace/lib/pcm/include/pcm/format.h
- Timestamp:
- 2013-03-17T13:54:01Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 059490c2
- Parents:
- 36774cf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/pcm/include/pcm/format.h
r36774cf rfe0b448 47 47 } pcm_format_t; 48 48 49 static const pcm_format_t AUDIO_FORMAT_DEFAULT = { 50 .channels = 2, 51 .sampling_rate = 44100, 52 .sample_format = PCM_SAMPLE_SINT16_LE, 53 }; 54 55 static const pcm_format_t AUDIO_FORMAT_ANY = { 56 .channels = 0, 57 .sampling_rate = 0, 58 .sample_format = 0, 59 }; 49 extern const pcm_format_t AUDIO_FORMAT_DEFAULT; 50 extern const pcm_format_t AUDIO_FORMAT_ANY; 60 51 61 52 static inline size_t pcm_format_frame_size(const pcm_format_t *a)
Note:
See TracChangeset
for help on using the changeset viewer.