Lines Matching defs:packet
94 * packet. The packet is prefixed with
95 * + the one-byte packet type 0x7F
99 * - The first packet is flushed to the first page.
100 * - Each subsequent metadata block goes into its own packet.
101 * - Each metadata packet is flushed to page (this is not required,
104 * - Each subsequent FLAC audio frame goes into its own packet.
120 * Treat fLaC magic packet specially. We will note when we see it, then
121 * wait until we get the STREAMINFO and prepend it in that packet
124 ogg_packet packet;
136 memset(&packet, 0, sizeof(packet));
137 packet.granulepos = aspect->samples_written + samples;
149 /* add first header packet type */
172 packet.packet = (unsigned char *)synthetic_first_packet_body;
173 packet.bytes = sizeof(synthetic_first_packet_body);
175 packet.b_o_s = 1;
179 packet.packet = (unsigned char *)buffer;
180 packet.bytes = bytes;
188 packet.e_o_s = 1;
191 if(ogg_stream_packetin(&aspect->stream_state, &packet) != 0)