private void setUpSessions()
        {
            sessions = new ObservableCollection <VolumeViewModel>();

            simpleaudioNET.Interface audio         = new simpleaudioNET.Interface();
            simpleaudioNET.Device    defaultdevice = audio.getDefaultDevice();
            device = new VolumeViewModel(defaultdevice);

            iteratorNET.Iterator <Session> it = defaultdevice.sessionIterator();
            while (it.hasNext())
            {
                sessions.Add(new VolumeViewModel(it.next()));
            }
        }
 public VolumeViewModel(simpleaudioNET.Device device)
 {
     this.device  = device;
     this.session = null;
 }