OSDN Git Service

#38036 どこでCTextureの解放漏れが発生しているかを容易に識別できるようにするために、CTextureの生成時にラベルを付与できるようにした。(引数最後にラベ...
[dtxmania/dtxmania.git] / NVorbis / ParameterChangeEventArgs.cs
1 /****************************************************************************
2  * NVorbis                                                                  *
3  * Copyright (C) 2014, Andrew Ward <afward@gmail.com>                       *
4  *                                                                          *
5  * See COPYING for license terms (Ms-PL).                                   *
6  *                                                                          *
7  ***************************************************************************/
8 using System;
9 using System.Collections.Generic;
10 using System.Linq;
11 using System.Text;
12
13 namespace NVorbis
14 {
15     /// <summary>
16     /// Event data for when a logical stream has a parameter change.
17     /// </summary>
18     [Serializable]
19     public class ParameterChangeEventArgs : EventArgs
20     {
21         /// <summary>
22         /// Creates a new instance of <see cref="ParameterChangeEventArgs"/>.
23         /// </summary>
24         /// <param name="firstPacket">The first packet after the parameter change.</param>
25         public ParameterChangeEventArgs(DataPacket firstPacket)
26         {
27             FirstPacket = firstPacket;
28         }
29
30         /// <summary>
31         /// Gets the first packet after the parameter change.  This would typically be the parameters packet.
32         /// </summary>
33         public DataPacket FirstPacket { get; private set; }
34     }
35 }