annotate mp_fifo.h @ 29385:f9ae25067fe0

Fix 24bit audio playback. The reordering channels code had reoccurring bug where in switch(samplesize) block the case 3 (3 bytes) doesn't end with break; leading to execution of the next case 4 too. This mangles the already processed data and causes massive memory corruption.
author iive
date Sun, 19 Jul 2009 09:55:29 +0000
parents 4129c8cfa742
children c1a3f1bbba26
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25540
diff changeset
1 #ifndef MPLAYER_MP_FIFO_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25540
diff changeset
2 #define MPLAYER_MP_FIFO_H
22824
cd0ec0b1d931 Missing svn add from r22841.
rathann
parents:
diff changeset
3
cd0ec0b1d931 Missing svn add from r22841.
rathann
parents:
diff changeset
4 int mplayer_get_key(int fd);
cd0ec0b1d931 Missing svn add from r22841.
rathann
parents:
diff changeset
5 void mplayer_put_key(int code);
cd0ec0b1d931 Missing svn add from r22841.
rathann
parents:
diff changeset
6
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25540
diff changeset
7 #endif /* MPLAYER_MP_FIFO_H */