mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
pw-cat: fix raw read
raw read needs bytes, so use the stride to calculate it from frames. Move ulaw/alaw to packed formats.
This commit is contained in:
parent
f7c91491cb
commit
49c1c0386f
4 changed files with 10 additions and 10 deletions
|
|
@ -79,6 +79,9 @@ enum spa_audio_format {
|
|||
SPA_AUDIO_FORMAT_F64_LE,
|
||||
SPA_AUDIO_FORMAT_F64_BE,
|
||||
|
||||
SPA_AUDIO_FORMAT_ULAW,
|
||||
SPA_AUDIO_FORMAT_ALAW,
|
||||
|
||||
/* planar formats */
|
||||
SPA_AUDIO_FORMAT_START_Planar = 0x200,
|
||||
SPA_AUDIO_FORMAT_U8P,
|
||||
|
|
@ -93,9 +96,6 @@ enum spa_audio_format {
|
|||
/* other formats start here */
|
||||
SPA_AUDIO_FORMAT_START_Other = 0x400,
|
||||
|
||||
SPA_AUDIO_FORMAT_ULAW,
|
||||
SPA_AUDIO_FORMAT_ALAW,
|
||||
|
||||
/* Aliases */
|
||||
|
||||
/* DSP formats */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue