Displaying 5 results from an estimated 5 matches for "ogg_channel_front_right".
2005 Nov 18
0
OggPCM2: channel map
...quot; that Sampo
suggested. This is basically the same thing as the "channel map"
described on the wiki, but with the (physical,logical) channel pair
swapped. So, using the syntax from the wiki:
channel_type = OGG_CHANNEL_MAP_STEREO
channel_map [OGG_CHANNEL_FRONT_LEFT] = 1
channel_map [OGG_CHANNEL_FRONT_RIGHT] = 2
This is nice because it makes it impossible for somebody to do something
stupid like define two channels as carrying FRONT_LEFT. A player can't
handle that situation sanely, but handling both FRONT_LEFT and
FRONT_RIGHT mapping to channel 0 is easy. Like Sampo said, this does
mean havi...
2005 Nov 19
2
OggPCM2: channel map
> True, but remember that the channel map type implied the number of
> entries in the table, and also that in this organization you'll always
> number the logical channels consequtively since each logical channel
> indeed corresponds to an index into the array. If the channel map type
> says it's a map for 5.1, there will only be 6 slots in the table no
> matter how
2005 Nov 17
2
OggPCM2: channel map
> Yes. Channel map type tells us what the primary interpretation of the
> stored signals is. Channel definitions are there to tell which stored
> channel corresponds to which abstract channel in the type. Channel
> conversions define downmixes to secondary formats, as they do in MLP,
> and might end up being ignored unlike the channel map.
I think the channel conversion will
2005 Nov 19
0
OggPCM2: channel map
...last post probably added to the
confusion - look at it again but without using the assigned values to the
OGG_CHANNEL_* text. A couple examples:
Packet 1:
channel_type = OGG_CHANNEL_MAP_5_1
channel_map [0 = OGG_CHANNEL_FRONT_LEFT] = 1
channel_map [1 = OGG_CHANNEL_FRONT_CENTER] = 2
channel_map [2 = OGG_CHANNEL_FRONT_RIGHT] = 3
Packet 2:
channel_type = OGG_CHANNEL_MAP_STEREO
channel_map [0 = OGG_CHANNEL_FRONT_LEFT] = 1
channel_map [1 = OGG_CHANNEL_FRONT_RIGHT] = 2
Packet 3:
channel_type = OGG_CHANNEL_MAP_UHJ
channel_map [0 = OGG_CHANNEL_UHJ_SIGMA] = 1
channel_map [1 = OGG_CHANNEL_UHJ_DELTA] = 2
>From the first...
2005 Nov 18
2
OggPCM2: channel map
...ed. This is basically the same thing as the "channel map"
> described on the wiki, but with the (physical,logical) channel pair
> swapped. So, using the syntax from the wiki:
> channel_type = OGG_CHANNEL_MAP_STEREO
> channel_map [OGG_CHANNEL_FRONT_LEFT] = 1
> channel_map [OGG_CHANNEL_FRONT_RIGHT] = 2
Not sure this is a good idea. Remember that channel_map is just an array
(unless you want to make it a map?). So if you had a OGG_CHANNEL_SPECIAL
with an id of 1000, it would force 1000 entries in the array.
> This is nice because it makes it impossible for somebody to do something
>...