mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
Some misc fixes. consts, base64 optimisation (not that it will be with us long anyway), and c comments
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2407 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
4b7b7b15d7
commit
cb8c5a925f
3 changed files with 14 additions and 14 deletions
|
|
@ -461,13 +461,13 @@ int pa_raop_client_encode_sample(pa_raop_client* c, pa_memchunk* raw, pa_memchun
|
|||
/* Now write the actual samples */
|
||||
bp = b + header_size;
|
||||
size = bpos = 0;
|
||||
bit_writer(&bp,&bpos,&size,1,3); // channel=1, stereo
|
||||
bit_writer(&bp,&bpos,&size,0,4); // unknown
|
||||
bit_writer(&bp,&bpos,&size,0,8); // unknown
|
||||
bit_writer(&bp,&bpos,&size,0,4); // unknown
|
||||
bit_writer(&bp,&bpos,&size,1,1); // hassize
|
||||
bit_writer(&bp,&bpos,&size,0,2); // unused
|
||||
bit_writer(&bp,&bpos,&size,1,1); // is-not-compressed
|
||||
bit_writer(&bp,&bpos,&size,1,3); /* channel=1, stereo */
|
||||
bit_writer(&bp,&bpos,&size,0,4); /* unknown */
|
||||
bit_writer(&bp,&bpos,&size,0,8); /* unknown */
|
||||
bit_writer(&bp,&bpos,&size,0,4); /* unknown */
|
||||
bit_writer(&bp,&bpos,&size,1,1); /* hassize */
|
||||
bit_writer(&bp,&bpos,&size,0,2); /* unused */
|
||||
bit_writer(&bp,&bpos,&size,1,1); /* is-not-compressed */
|
||||
|
||||
/* size of data, integer, big endian */
|
||||
bit_writer(&bp,&bpos,&size,(bsize>>24)&0xff,8);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue