Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
0a218ee5
Commit
0a218ee5
authored
Nov 28, 2011
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
encoder/wave: support packed 24 bit samples
Convert to padded 24 bit samples, instead of falling back to 16 bit.
parent
74beefca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
NEWS
NEWS
+1
-0
wave_encoder.c
src/encoder/wave_encoder.c
+5
-0
No files found.
NEWS
View file @
0a218ee5
...
@@ -3,6 +3,7 @@ ver 0.16.6 (2010/??/??)
...
@@ -3,6 +3,7 @@ ver 0.16.6 (2010/??/??)
- fix assertion failure when resuming streams
- fix assertion failure when resuming streams
* encoder:
* encoder:
- flac, null, wave: fix buffer corruption bug
- flac, null, wave: fix buffer corruption bug
- wave: support packed 24 bit samples
* event_pipe: fix WIN32 regression
* event_pipe: fix WIN32 regression
* define WINVER in ./configure
* define WINVER in ./configure
* WIN32: autodetect filesystem encoding
* WIN32: autodetect filesystem encoding
...
...
src/encoder/wave_encoder.c
View file @
0a218ee5
...
@@ -122,6 +122,11 @@ wave_encoder_open(struct encoder *_encoder,
...
@@ -122,6 +122,11 @@ wave_encoder_open(struct encoder *_encoder,
encoder
->
bits
=
16
;
encoder
->
bits
=
16
;
break
;
break
;
case
SAMPLE_FORMAT_S24
:
audio_format
->
format
=
SAMPLE_FORMAT_S24_P32
;
encoder
->
bits
=
24
;
break
;
case
SAMPLE_FORMAT_S24_P32
:
case
SAMPLE_FORMAT_S24_P32
:
encoder
->
bits
=
24
;
encoder
->
bits
=
24
;
break
;
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment