@@ -283,44 +283,44 @@ pub mod standard_flags {
283
283
/// Set for floating point, clear for integer.
284
284
///
285
285
/// **Available** in OS X v10.2 and later.
286
- const IS_FLOAT = 1 ,
286
+ const IS_FLOAT = 1 ;
287
287
/// Set for big endian, clear for little endian.
288
288
///
289
289
/// **Available** in OS X v10.2 and later.
290
- const IS_BIG_ENDIAN = 2 ,
290
+ const IS_BIG_ENDIAN = 2 ;
291
291
/// Set for signed integer, clear for unsigned integer.
292
292
///
293
293
/// Note: This is only valid if `IS_FLOAT` is clear.
294
294
///
295
295
/// **Available** in OS X v10.2 and later.
296
- const IS_SIGNED_INTEGER = 4 ,
296
+ const IS_SIGNED_INTEGER = 4 ;
297
297
/// Set if the sample bits occupy the entire available bits for the channel, clear if they
298
298
/// are high- or low-aligned within the channel.
299
299
///
300
300
/// **Available** in OS X v10.2 and later.
301
- const IS_PACKED = 8 ,
301
+ const IS_PACKED = 8 ;
302
302
/// Set if the sample bits are placed into the high bits of the channel, clear for low bit
303
303
/// placement.
304
304
///
305
305
/// Note: This is only valid if `IS_PACKED` is clear.
306
306
///
307
307
/// **Available** in OS X v10.2 and later.
308
- const IS_ALIGNED_HIGH = 16 ,
308
+ const IS_ALIGNED_HIGH = 16 ;
309
309
/// Set if the sample for each channel are located contiguously and the channels are laid
310
310
/// out end to end.
311
311
///
312
312
/// Clear if the samples for each frame are laid out contiguously and the frames laid out
313
313
/// end to end.
314
314
///
315
315
/// **Available** in OS X v10.2 and later.
316
- const IS_NON_INTERLEAVED = 32 ,
316
+ const IS_NON_INTERLEAVED = 32 ;
317
317
/// Set to indicate when a format is nonmixable.
318
318
///
319
319
/// Note: that this flag is only used when interacting with the HAL's stream format
320
320
/// information. It is **not** valid for any other use.
321
321
///
322
322
/// **Available** in OS X v10.3 and later.
323
- const IS_NON_MIXABLE = 64 ,
323
+ const IS_NON_MIXABLE = 64 ;
324
324
}
325
325
}
326
326
}
@@ -341,31 +341,31 @@ pub mod linear_pcm_flags {
341
341
/// Synonmyn for the **IS_FLOAT** **StandardFlags**.
342
342
///
343
343
/// **Available** in OS X v10.0 and later.
344
- const IS_FLOAT = 1 ,
344
+ const IS_FLOAT = 1 ;
345
345
/// Synonmyn for the **IS_BIG_ENDIAN** **StandardFlags**.
346
346
///
347
347
/// **Available** in OS X v10.0 and later.
348
- const IS_BIG_ENDIAN = 2 ,
348
+ const IS_BIG_ENDIAN = 2 ;
349
349
/// Synonmyn for the **IS_SIGNED_INTEGER** **StandardFlags**.
350
350
///
351
351
/// **Available** in OS X v10.0 and later.
352
- const IS_SIGNED_INTEGER = 4 ,
352
+ const IS_SIGNED_INTEGER = 4 ;
353
353
/// Synonmyn for the **IS_PACKED** **StandardFlags**.
354
354
///
355
355
/// **Available** in OS X v10.0 and later.
356
- const IS_PACKED = 8 ,
356
+ const IS_PACKED = 8 ;
357
357
/// Synonmyn for the **IS_ALIGNED_HIGH** **StandardFlags**.
358
358
///
359
359
/// **Available** in OS X v10.0 and later.
360
- const IS_ALIGNED_HIGH = 16 ,
360
+ const IS_ALIGNED_HIGH = 16 ;
361
361
/// Synonmyn for the **IS_NON_INTERLEAVED** **StandardFlags**.
362
362
///
363
363
/// **Available** in OS X v10.2 and later.
364
- const IS_NON_INTERLEAVED = 32 ,
364
+ const IS_NON_INTERLEAVED = 32 ;
365
365
/// Synonmyn for the **IS_NON_MIXABLE** **StandardFlags**.
366
366
///
367
367
/// **Available** in OS X v10.3 and later.
368
- const IS_NON_MIXABLE = 64 ,
368
+ const IS_NON_MIXABLE = 64 ;
369
369
/// The linear PCM flags contain a 6-bit bitfield indicating that an integer format is to
370
370
/// be interpreted as fixed point.
371
371
///
@@ -379,13 +379,13 @@ pub mod linear_pcm_flags {
379
379
/// uniquely in some way.
380
380
///
381
381
/// **Available** in OS X v10.6 and later.
382
- const FLAGS_SAMPLE_FRACTION_SHIFT = 7 ,
382
+ const FLAGS_SAMPLE_FRACTION_SHIFT = 7 ;
383
383
/// The number of fractional bits.
384
384
///
385
385
/// `== (<other_flags> & FLAGS_SAMPLE_FRACTION_MASK) >> FLAGS_SAMPLE_FRACTION_SHIFT`
386
386
///
387
387
/// **Available** in OS X v10.6 and later.
388
- const FLAGS_SAMPLE_FRACTION_MASK = 8064 ,
388
+ const FLAGS_SAMPLE_FRACTION_MASK = 8064 ;
389
389
}
390
390
}
391
391
}
@@ -406,13 +406,13 @@ pub mod apple_lossless_flags {
406
406
/// Original documentation [here](https://developer.apple.com/library/mac/documentation/MusicAudio/Reference/CoreAudioDataTypesRef/#//apple_ref/doc/constant_group/AudioStreamBasicDescription_Flags).
407
407
pub struct AppleLosslessFlags : u32 {
408
408
/// Sourced from 16 bit native endian signed integer data.
409
- const BIT_16_SOURCE_DATA = 1 ,
409
+ const BIT_16_SOURCE_DATA = 1 ;
410
410
/// Sourced from 20 bit native endian signed integer data aligned high in 24 bits.
411
- const BIT_20_SOURCE_DATA = 2 ,
411
+ const BIT_20_SOURCE_DATA = 2 ;
412
412
/// Sourced from 24 bit native endian signed integer data.
413
- const BIT_24_SOURCE_DATA = 3 ,
413
+ const BIT_24_SOURCE_DATA = 3 ;
414
414
/// Sourced from 32 bit native endian signed integer data.
415
- const BIT_32_SOURCE_DATA = 4 ,
415
+ const BIT_32_SOURCE_DATA = 4 ;
416
416
}
417
417
}
418
418
}
@@ -485,15 +485,15 @@ pub mod audio_time_stamp_flags {
485
485
/// Original Documentation [here](https://developer.apple.com/library/mac/documentation/MusicAudio/Reference/CoreAudioDataTypesRef/#//apple_ref/doc/constant_group/Audio_Time_Stamp_Flags).
486
486
pub struct AudioTimeStampFlags : u32 {
487
487
/// The sample frame time is valid.
488
- const SAMPLE_TIME_VALID = 1 ,
488
+ const SAMPLE_TIME_VALID = 1 ;
489
489
/// The host time is valid.
490
- const HOST_TIME_VALID = 2 ,
490
+ const HOST_TIME_VALID = 2 ;
491
491
/// The rate scalar is valid.
492
- const RATE_SCALAR_VALID = 4 ,
492
+ const RATE_SCALAR_VALID = 4 ;
493
493
/// The world clock time is valid.
494
- const WORLD_CLOCK_TIME_VALID = 8 ,
494
+ const WORLD_CLOCK_TIME_VALID = 8 ;
495
495
/// The SMPTE time is valid.
496
- const SMPTE_TIME_VALID = 16 ,
496
+ const SMPTE_TIME_VALID = 16 ;
497
497
}
498
498
}
499
499
}
0 commit comments